比如:
table1 table2 table3
----------------------------------要改成:table1 |
|
table2 |
|
table3 |
|
|
|
table1 table2 table3
----------------------------------要改成:table1 |
|
table2 |
|
table3 |
|
|
|
解决方案 »
- AndroidManifest.xml文件报错,等待高手
- webview 的线程在 activity 退出之后没有关闭的问题
- 有没开发android平板的朋友啊?
- Android在创建播放器对象的时候如何从Buffer缓冲区读取音乐数据文件然后播放的问题
- 微博图片缩放问题
- 急求,看看这个布局哪里错了
- android 4.4 Email 登搜狐邮箱 imap,加载不到邮件。
- 软键盘弹出后如何保证页面剩余部分滚动
- ListView获取指定的item,然后去除它的分割线,困扰俩天了,求解
- 新版的Android Studio 中, 怎么找不到DDMS或类似功能的窗口了呢?
- android系统升级问题
- 三个图 滑动轮换效果,在线等
如果不想写个可移植的组件的话 不是很麻烦
主要要考虑转屏 和 menu
不知道其他高人有更好的想法没。
仿照这篇文章写一个就行了http://blog.csdn.net/hellogv/article/details/6057174
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent"> <LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"> <TabWidget
android:id="@android:id/tabs"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"/> <FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"/> </LinearLayout>
</TabHost>
把TabWidget改成纵向的,和FrameLayout水平形成两列。
可以尝试一下。