diff options
author | Danesh M <daneshm90@gmail.com> | 2016-01-14 15:15:50 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-01-22 15:56:51 -0800 |
commit | f99ff0de2c54db9ee317e8a626f1a2fbd9275686 (patch) | |
tree | fa6eb1f99ebbd866ed4d8015d9515690e185d939 /res/layout/usage_stats_item.xml | |
parent | 414824251f4de3b40ca9cb65eb8ebbdd84598c0f (diff) | |
download | packages_apps_Settings-f99ff0de2c54db9ee317e8a626f1a2fbd9275686.zip packages_apps_Settings-f99ff0de2c54db9ee317e8a626f1a2fbd9275686.tar.gz packages_apps_Settings-f99ff0de2c54db9ee317e8a626f1a2fbd9275686.tar.bz2 |
Settings : Improve usage stats screen
CYNGNOS-1317
Change-Id: I9df05539c46ea27f8e4e975c8d3bc4aee9823704
Diffstat (limited to 'res/layout/usage_stats_item.xml')
-rwxr-xr-x | res/layout/usage_stats_item.xml | 53 |
1 files changed, 30 insertions, 23 deletions
diff --git a/res/layout/usage_stats_item.xml b/res/layout/usage_stats_item.xml index 2879df0..7635990 100755 --- a/res/layout/usage_stats_item.xml +++ b/res/layout/usage_stats_item.xml @@ -2,6 +2,7 @@ <!-- /* ** Copyright 2008, The Android Open Source Project +** Copyright 2015, The CyanogenMod Project ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. @@ -20,31 +21,37 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="horizontal" - android:minHeight="?android:attr/listPreferredItemHeight"> - - <TextView android:id="@+id/package_name" - android:layout_width="wrap_content" + android:padding="16dp" + android:orientation="vertical"> + <LinearLayout + android:layout_width="match_parent" android:layout_height="wrap_content" - android:textAppearance="?android:attr/textAppearanceMedium" - android:paddingEnd="6dip" - android:paddingStart="12dip" - android:maxLines="1" /> - - <TextView android:id="@+id/last_time_used" - android:layout_width="wrap_content" + android:orientation="horizontal" > + <TextView + android:text="@string/app_name_label_cm" + style="@style/usage_stats_list_label" /> + <TextView android:id="@+id/package_name" + style="@style/usage_stats_list_value" /> + </LinearLayout> + <LinearLayout + android:layout_width="match_parent" android:layout_height="wrap_content" - android:textAppearance="?android:attr/textAppearanceMedium" - android:paddingEnd="6dip" - android:paddingStart="12dip" - android:maxLines="1" /> - - <TextView android:id="@+id/usage_time" - android:layout_width="wrap_content" + android:orientation="horizontal" > + <TextView + android:text="@string/usage_time_label_cm" + style="@style/usage_stats_list_label" /> + <TextView android:id="@+id/usage_time" + style="@style/usage_stats_list_value" /> + </LinearLayout> + <LinearLayout + android:layout_width="match_parent" android:layout_height="wrap_content" - android:textAppearance="?android:attr/textAppearanceMedium" - android:paddingEnd="6dip" - android:paddingStart="12dip" - android:maxLines="1" /> + android:orientation="horizontal" > + <TextView + android:text="@string/last_time_used_label_cm" + style="@style/usage_stats_list_label" /> + <TextView android:id="@+id/last_time_used" + style="@style/usage_stats_list_value" /> + </LinearLayout> </LinearLayout> |