閱讀356 返回首頁    go 阿裏雲 go 技術社區[雲棲]


Android開發15——給TextView加上滾動條

給TextView加上滾動條非常簡單,隻需要把TextView標簽放在ScrollView標簽中

    <ScrollView	android:layout_width="wrap_content" android:layout_height="wrap_content">
    	<TextView  
		    android:layout_width="fill_parent" 
		    android:layout_height="wrap_content"
		    android: />
    </ScrollView>

 

最後更新:2017-04-03 07:57:30

  上一篇:go C#委托基礎3——泛型委托
  下一篇:go Android開發6——布局中的wrap_content和fill_parent以及match_parent