summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-09-12 16:59:30 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-12 16:59:30 -0700
commitc6df12c1eebd446c51aef4db82fe82311eaef915 (patch)
treeb5615ad93a70213ed99a58509e1c69bfefd8d7fb /res
parentc27508b767aad34d79329732c7c65ebef4c24d9a (diff)
parentb98c55bd097e006703352f84f0271dec5181160a (diff)
downloadpackages_apps_settings-c6df12c1eebd446c51aef4db82fe82311eaef915.zip
packages_apps_settings-c6df12c1eebd446c51aef4db82fe82311eaef915.tar.gz
packages_apps_settings-c6df12c1eebd446c51aef4db82fe82311eaef915.tar.bz2
Merge "Data usage performance, bugfixes."
Diffstat (limited to 'res')
-rw-r--r--res/layout/data_usage_cycles.xml3
-rw-r--r--res/layout/data_usage_header.xml2
-rw-r--r--res/layout/data_usage_item.xml4
-rw-r--r--res/values/strings.xml8
4 files changed, 7 insertions, 10 deletions
diff --git a/res/layout/data_usage_cycles.xml b/res/layout/data_usage_cycles.xml
index 459ef6e..136fec6 100644
--- a/res/layout/data_usage_cycles.xml
+++ b/res/layout/data_usage_cycles.xml
@@ -17,8 +17,9 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/cycles"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="40dip"
android:orientation="horizontal"
+ android:gravity="center_vertical"
android:paddingLeft="@*android:dimen/preference_item_padding_side"
android:paddingRight="@*android:dimen/preference_item_padding_side">
diff --git a/res/layout/data_usage_header.xml b/res/layout/data_usage_header.xml
index 9dcb456..b27d88f 100644
--- a/res/layout/data_usage_header.xml
+++ b/res/layout/data_usage_header.xml
@@ -17,8 +17,6 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingLeft="@*android:dimen/preference_fragment_padding_side"
- android:paddingRight="@*android:dimen/preference_fragment_padding_side"
android:orientation="vertical"
android:clipChildren="false"
android:clipToPadding="false">
diff --git a/res/layout/data_usage_item.xml b/res/layout/data_usage_item.xml
index 7808173..fac3c6b 100644
--- a/res/layout/data_usage_item.xml
+++ b/res/layout/data_usage_item.xml
@@ -16,9 +16,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="@*android:dimen/preference_fragment_padding_side"
- android:paddingRight="@*android:dimen/preference_fragment_padding_side">
+ android:layout_height="wrap_content">
<include layout="@layout/app_percentage_item" />
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 1874107..c59ba49 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3485,13 +3485,13 @@ found in the list of installed applications.</string>
<!-- Body of dialog shown to request confirmation that mobile data will be disabled. [CHAR LIMIT=NONE] -->
<string name="data_usage_disable_mobile">Disable mobile data?</string>
<!-- Checkbox label that will disable mobile network data connection when user-defined limit is reached. [CHAR LIMIT=32] -->
- <string name="data_usage_disable_mobile_limit">Disable mobile data at limit</string>
+ <string name="data_usage_disable_mobile_limit">Set mobile data limit</string>
<!-- Checkbox label that will disable 4G network data connection when user-defined limit is reached. [CHAR LIMIT=32] -->
- <string name="data_usage_disable_4g_limit">Disable 4G data at limit</string>
+ <string name="data_usage_disable_4g_limit">Set 4G data limit</string>
<!-- Checkbox label that will disable 2G-3G network data connection when user-defined limit is reached. [CHAR LIMIT=32] -->
- <string name="data_usage_disable_3g_limit">Disable 2G-3G data at limit</string>
+ <string name="data_usage_disable_3g_limit">Set 2G-3G data limit</string>
<!-- Checkbox label that will disable Wi-Fi network data connection when user-defined limit is reached. [CHAR LIMIT=32] -->
- <string name="data_usage_disable_wifi_limit">Disable Wi-Fi data at limit</string>
+ <string name="data_usage_disable_wifi_limit">Set Wi-Fi data limit</string>
<!-- Tab title for showing Wi-Fi data usage. [CHAR LIMIT=10] -->
<string name="data_usage_tab_wifi">Wi-Fi</string>