我想知道无论是xml还是通过编码都有to decrease the size of menu items displayed
......?
另一个问题是,我可以在屏幕底部绘制tabwidget。我的意思是我希望他们在底部我可以这样做吗?
另一个问题是android中是否有two column list view
。现在我知道有一个list view with two item
但他们互相追随。一个在另一个之下,但是有没有listview
列,就像在表格中一样......?
答案 0 :(得分:1)
要回答你的第三个问题,你可以在这里找到好的教程:
http://www.technotalkative.com/android-multi-column-listview/
要回答第二个问题,您可以执行以下操作:
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp">
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp" />
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</TabHost>