From 0e375f947b698ac6d5bd294968d0cda3003a6f28 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 23 Oct 2014 11:38:15 -0700 Subject: Some resource fixes for drop target > Making it singleline with ellipsis everywhere > Decreasing the text size on smaller devices > Decreasing char limit for various labels Bug: 17563793 Bug: 17938450 Change-Id: I8ad1a156de0601d07419b2cc6418389bc2e24a4e --- res/layout/drop_target_bar.xml | 39 ------------------------------ res/layout/search_drop_target_bar.xml | 45 +++++++++++++++++++++++++++-------- res/values-land/styles.xml | 20 +++++++--------- res/values-sw340dp/dimens.xml | 8 +++++-- res/values-sw720dp/styles.xml | 20 +++++++--------- res/values/dimens.xml | 1 + res/values/strings.xml | 6 ++--- res/values/styles.xml | 26 +++++++++++--------- 8 files changed, 77 insertions(+), 88 deletions(-) delete mode 100644 res/layout/drop_target_bar.xml diff --git a/res/layout/drop_target_bar.xml b/res/layout/drop_target_bar.xml deleted file mode 100644 index f38a50014..000000000 --- a/res/layout/drop_target_bar.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - diff --git a/res/layout/search_drop_target_bar.xml b/res/layout/search_drop_target_bar.xml index 2d51b93ab..af2d01634 100644 --- a/res/layout/search_drop_target_bar.xml +++ b/res/layout/search_drop_target_bar.xml @@ -1,5 +1,6 @@ - - + android:layout_height="match_parent" + android:focusable="false" + android:orientation="horizontal" > + + android:layout_gravity="center" > + + + + - + + + + + + + + + - + + \ No newline at end of file diff --git a/res/values-land/styles.xml b/res/values-land/styles.xml index ac210d7de..8a255c91b 100644 --- a/res/values-land/styles.xml +++ b/res/values-land/styles.xml @@ -18,27 +18,25 @@ --> - - + + + + - - - + \ No newline at end of file diff --git a/res/values-sw340dp/dimens.xml b/res/values-sw340dp/dimens.xml index 69d6e58a3..c9f2981f7 100644 --- a/res/values-sw340dp/dimens.xml +++ b/res/values-sw340dp/dimens.xml @@ -1,5 +1,6 @@ - + 20dp - + 16sp + + \ No newline at end of file diff --git a/res/values-sw720dp/styles.xml b/res/values-sw720dp/styles.xml index 4ec04d9b7..cbc1e29b3 100644 --- a/res/values-sw720dp/styles.xml +++ b/res/values-sw720dp/styles.xml @@ -18,26 +18,22 @@ --> - - + + + + - - + + \ No newline at end of file diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 2c9e689c6..20bc7ccf9 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -62,6 +62,7 @@ 14dp + 14sp device. [CHAR_LIMIT=30]--> Uninstall - + Remove - + Uninstall - + App info diff --git a/res/values/styles.xml b/res/values/styles.xml index 873b74c9f..dae2c0212 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -32,10 +32,9 @@ sans-serif-condensed - - + + + - - + + + + - + + + - + + \ No newline at end of file -- cgit v1.2.3