Improve empty track list view

This commit is contained in:
Jimmy Shih
2014-01-14 15:11:25 -08:00
parent 8a1574be72
commit ec34e4cfb3
4 changed files with 20 additions and 9 deletions
+17 -9
View File
@@ -55,21 +55,29 @@ limitations under the License.
<LinearLayout
android:layout_height="match_parent"
android:layout_toRightOf="@id/track_list_arrow_long"
android:layout_width="wrap_content"
android:orientation="vertical"
android:paddingRight="20dp" >
android:layout_width="match_parent"
android:orientation="vertical" >
<View
android:layout_height="0dp"
android:layout_weight="4"
android:layout_width="match_parent" />
<TextView
android:gravity="left"
<LinearLayout
android:layout_height="0dp"
android:layout_weight="24"
android:layout_width="wrap_content"
android:text="@string/track_list_empty_message"
style="@style/TextLarge" >
</TextView>
android:layout_width="match_parent" >
<TextView
android:layout_height="wrap_content"
android:layout_weight=".7"
android:layout_width="0dp"
android:text="@string/track_list_empty_message"
android:textColor="@color/list_empty_text"
style="@style/TextLarge" >
</TextView>
<View
android:layout_height="match_parent"
android:layout_weight=".3"
android:layout_width="0dp" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
+1
View File
@@ -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" >
</TextView>
<View
+1
View File
@@ -28,6 +28,7 @@ limitations under the License.
<color name="chart_speed_border">#FF0066FF</color> <!-- blue -->
<color name="chart_speed_fill">#40C8E0FF</color> <!-- transparent blue -->
<color name="holo_orange_dark">#FFFF8800</color>
<color name="list_empty_text">#FFCCCCCC</color>
<color name="recording_text">#FFBE161B</color> <!-- red -->
<color name="stats_large_label">#FFFAAD2C</color> <!-- orange -->
<color name="stats_separator">#99999999</color> <!-- light gray -->
+1
View File
@@ -102,6 +102,7 @@ limitations under the License.
<item name="android:gravity">center</item>
<item name="android:layout_gravity">center</item>
<item name="android:padding">8dp</item>
<item name="android:textColor">@color/list_empty_text</item>
</style>
<!-- list item -->
<style name="ListItem" />