summaryrefslogtreecommitdiffstats
path: root/res/layout/usage_stats.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/usage_stats.xml')
-rwxr-xr-xres/layout/usage_stats.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/res/layout/usage_stats.xml b/res/layout/usage_stats.xml
new file mode 100755
index 0000000..727052d
--- /dev/null
+++ b/res/layout/usage_stats.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <TextView
+ android:text="@string/display_order_text"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+
+ <Spinner
+ android:id="@+id/typeSpinner"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:entries="@array/usage_stats_display_order_types" />
+
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" >
+ <TextView
+ android:text="@string/app_name_label"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:layout_width="wrap_content"
+ android:paddingRight="6dip"
+ android:layout_height="wrap_content" />
+ <TextView
+ android:text="@string/launch_count_label"
+ android:paddingRight="6dip"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+ <TextView
+ android:text="@string/usage_time_label"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+ </LinearLayout>
+ <ListView android:id="@+id/pkg_list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:drawSelectorOnTop="false" />
+</LinearLayout>