From ec34e4cfb3be7eef04e53a42d3ec57be555aafbf Mon Sep 17 00:00:00 2001 From: Jimmy Shih Date: Tue, 14 Jan 2014 15:11:25 -0800 Subject: [PATCH] Improve empty track list view --- MyTracks/res/layout-land/track_list.xml | 26 ++++++++++++++++--------- MyTracks/res/layout/track_list.xml | 1 + MyTracks/res/values/colors.xml | 1 + MyTracks/res/values/styles.xml | 1 + 4 files changed, 20 insertions(+), 9 deletions(-) diff --git a/MyTracks/res/layout-land/track_list.xml b/MyTracks/res/layout-land/track_list.xml index 31a29bfd7..8529bdd4e 100644 --- a/MyTracks/res/layout-land/track_list.xml +++ b/MyTracks/res/layout-land/track_list.xml @@ -55,21 +55,29 @@ limitations under the License. + android:layout_width="match_parent" + android:orientation="vertical" > - - + android:layout_width="match_parent" > + + + + \ No newline at end of file diff --git a/MyTracks/res/layout/track_list.xml b/MyTracks/res/layout/track_list.xml index a8cdca403..33aa147a7 100644 --- a/MyTracks/res/layout/track_list.xml +++ b/MyTracks/res/layout/track_list.xml @@ -64,6 +64,7 @@ limitations under the License. android:layout_weight="22" android:layout_width="0dp" android:text="@string/track_list_empty_message" + android:textColor="@color/list_empty_text" style="@style/TextLarge" > #FF0066FF #40C8E0FF #FFFF8800 + #FFCCCCCC #FFBE161B #FFFAAD2C #99999999 diff --git a/MyTracks/res/values/styles.xml b/MyTracks/res/values/styles.xml index 4bd672fc9..32f062422 100644 --- a/MyTracks/res/values/styles.xml +++ b/MyTracks/res/values/styles.xml @@ -102,6 +102,7 @@ limitations under the License. center center 8dp + @color/list_empty_text