如果单单使用TextView的话是不能自动换行的怎么办呢?看下面的布局文件就明白怎么实现自动换行了。


<TableLayout    android:layout_width="fill_parent"   android:layout_height="wrap_content"    android:stretchColumns="1"    android:shrinkColumns="1">                       <TextView android:id="@+id/textView1_serial_write"                android:layout_width="fill_parent"                android:layout_height="fill_parent"                android:gravity="left"                android:textColor="@android:color/black"                android:textSize="25sp"                 />            </TableLayout>


更多相关文章

  1. Android(安卓)BaseExpandableListAdapter 教程
  2. Android(安卓)proguard(混淆)模板
  3. android 实现自定义隐藏式菜单
  4. 构建更好的应用--Xamarin平台
  5. Android实现指定区域截屏的实现
  6. ActionBarSherlock
  7. Android-开发常用代码汇总
  8. android ScrollView嵌套RecyclerView只显示一条数据的解决办法
  9. 浅谈Java中Collections.sort对List排序的两种方法

随机推荐

  1. Android中启动Activity(startActivity)流
  2. Android 调试桥 ADB命令
  3. android wear-Drawing Watch Faces
  4. Free Android UI library & component ro
  5. [转]android颜色对应的xml配置值
  6. Android SDK r23
  7. ListView实用参数
  8. Android开发网站被封解决方案
  9. Android 第三方库混淆proguard-rules,持续
  10. QT android platform SDK installed erro