diff options
Diffstat (limited to 'res/layout/power_usage_details.xml')
-rw-r--r-- | res/layout/power_usage_details.xml | 61 |
1 files changed, 1 insertions, 60 deletions
diff --git a/res/layout/power_usage_details.xml b/res/layout/power_usage_details.xml index 23be53f..99567a1 100644 --- a/res/layout/power_usage_details.xml +++ b/res/layout/power_usage_details.xml @@ -26,66 +26,7 @@ android:paddingBottom="5dip" android:orientation="vertical"> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" - android:orientation="horizontal" - android:gravity="center_vertical" - android:paddingLeft="12dip" - android:paddingRight="?android:attr/scrollbarSize"> - - <ImageView - android:id="@+id/icon" - android:layout_width="48dip" - android:layout_height="wrap_content" - android:layout_marginRight="6dip" - android:layout_gravity="center" /> - - <RelativeLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginRight="8dip" - android:layout_marginTop="2dip" - android:layout_marginBottom="6dip" - android:layout_weight="1"> - - <TextView android:id="@+id/name" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:singleLine="true" - android:layout_marginTop="2dip" - android:layout_alignParentLeft="true" - android:layout_alignParentTop="true" - android:layout_toLeftOf="@+id/battery_percentage" - android:ellipsize="marquee" - android:textAppearance="?android:attr/textAppearanceMedium"/> - <TextView android:id="@+id/battery_percentage" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:singleLine="true" - android:layout_alignParentRight="true" - android:layout_alignBottom="@+id/name" - android:layout_gravity="bottom" - android:textAppearance="?android:attr/textAppearanceSmall" - android:textStyle="bold"/> - <ImageView - android:id="@+id/gauge" - android:background="#80404040" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:layout_marginTop="5dip" - android:layout_below="@id/battery_percentage" - android:layout_gravity="center_vertical" /> - <TextView android:id="@+id/summary" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignLeft="@id/gauge" - android:layout_below="@id/gauge" - android:textAppearance="?android:attr/textAppearanceSmall" - /> - </RelativeLayout> - </LinearLayout> + <include layout="@layout/app_percentage_item" /> <!-- Force stop and report buttons --> <LinearLayout |