Servo
Line | |
---|
1 | <?xml version="1.0" encoding="utf-8"?> |
---|
2 | |
---|
3 | <TabHost |
---|
4 | xmlns:android="http://schemas.android.com/apk/res/android" |
---|
5 | android:id="@android:id/tabhost" |
---|
6 | android:layout_width="match_parent" |
---|
7 | android:layout_height="match_parent"> |
---|
8 | |
---|
9 | <LinearLayout |
---|
10 | android:orientation="vertical" |
---|
11 | android:layout_width="match_parent" |
---|
12 | android:layout_height="match_parent"> |
---|
13 | |
---|
14 | <TabWidget |
---|
15 | android:id="@android:id/tabs" |
---|
16 | android:orientation="horizontal" |
---|
17 | android:layout_width="match_parent" |
---|
18 | android:layout_height="wrap_content" |
---|
19 | android:layout_weight="0"/> |
---|
20 | |
---|
21 | <FrameLayout |
---|
22 | android:id="@android:id/tabcontent" |
---|
23 | android:layout_width="0dp" |
---|
24 | android:layout_height="0dp" |
---|
25 | android:layout_weight="0"/> |
---|
26 | |
---|
27 | <android.support.v4.view.ViewPager |
---|
28 | android:id="@+id/pager" |
---|
29 | android:layout_width="match_parent" |
---|
30 | android:layout_height="0dp" |
---|
31 | android:layout_weight="1"/> |
---|
32 | |
---|
33 | </LinearLayout> |
---|
34 | </TabHost> |
---|
Note: See
TracBrowser
for help on using the repository browser.