summaryrefslogtreecommitdiffstats
path: root/res/layout/power_usage_details.xml
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-06-09 06:34:49 -0700
committerAmith Yamasani <yamasani@google.com>2009-06-10 20:19:42 -0700
commit78fd96a1c5dd7b03fa09d8b3116243cc9661c5e6 (patch)
treee008a3af6cb55e05ec5f7091808824965fe32a08 /res/layout/power_usage_details.xml
parent8036862226b6cdb6903c2591e66b4b9328b1d484 (diff)
downloadpackages_apps_settings-78fd96a1c5dd7b03fa09d8b3116243cc9661c5e6.zip
packages_apps_settings-78fd96a1c5dd7b03fa09d8b3116243cc9661c5e6.tar.gz
packages_apps_settings-78fd96a1c5dd7b03fa09d8b3116243cc9661c5e6.tar.bz2
More details in the summary and details screens.
Show packages included, time that a subsystem was on for. Load label and icon in the background and cache the values. Switch between totals and since-unplugged. Other UI improvements.
Diffstat (limited to 'res/layout/power_usage_details.xml')
-rw-r--r--res/layout/power_usage_details.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/res/layout/power_usage_details.xml b/res/layout/power_usage_details.xml
index dd8d486..206eb05 100644
--- a/res/layout/power_usage_details.xml
+++ b/res/layout/power_usage_details.xml
@@ -86,5 +86,61 @@
<!-- Insert detail items here -->
</LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/controls_section"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/controls_section_title"
+ style="?android:attr/listSeparatorTextViewStyle"
+ android:text="@string/controls_subtitle" />
+
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <Button
+ android:id="@+id/action_button1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="6dip"
+ android:layout_marginTop="6dip"
+ android:layout_marginBottom="6dip"
+ android:layout_marginRight="6dip"
+ android:layout_alignParentLeft="true"
+ android:layout_weight="1"/>
+ <Button
+ android:id="@+id/action_button2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="6dip"
+ android:layout_marginTop="6dip"
+ android:layout_marginBottom="6dip"
+ android:layout_marginRight="6dip"
+ android:layout_alignParentRight="true"
+ android:layout_weight="1"/>
+
+ </RelativeLayout>
+
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/packages_section_title"
+ style="?android:attr/listSeparatorTextViewStyle"
+ android:text="@string/packages_subtitle" />
+
+ <LinearLayout
+ android:id="@+id/packages_section"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="6dip"
+ android:orientation="vertical">
+
+ <!-- Insert detail items here -->
+
+ </LinearLayout>
</LinearLayout>
</ScrollView>