diff options
Diffstat (limited to 'res/layout/data_usage_summary.xml')
-rw-r--r-- | res/layout/data_usage_summary.xml | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/res/layout/data_usage_summary.xml b/res/layout/data_usage_summary.xml index 9a356ae..fc62465 100644 --- a/res/layout/data_usage_summary.xml +++ b/res/layout/data_usage_summary.xml @@ -14,20 +14,34 @@ limitations under the License. --> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<TabHost xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@android:id/tabhost" android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical"> + android:layout_height="match_parent"> - <FrameLayout - android:id="@+id/chart_container" + <LinearLayout android:layout_width="match_parent" - android:layout_height="200dip" /> + android:layout_height="match_parent" + android:orientation="vertical"> - <ListView - android:id="@+id/list" - android:layout_width="match_parent" - android:layout_height="0dip" - android:layout_weight="1" /> + <TabWidget + android:id="@android:id/tabs" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + <!-- give an empty content area to make tabhost happy --> + <FrameLayout + android:id="@android:id/tabcontent" + android:layout_width="0dip" + android:layout_height="0dip" /> + + <ListView + android:id="@android:id/list" + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1" /> + + </LinearLayout> -</LinearLayout> +</TabHost> |