diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/ic_number_border.png | bin | 0 -> 2058 bytes | |||
-rw-r--r-- | res/drawable-mdpi/ic_number_border.png | bin | 0 -> 1206 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/ic_number_border.png | bin | 0 -> 2798 bytes | |||
-rw-r--r-- | res/drawable-xxhdpi/ic_number_border.png | bin | 0 -> 5066 bytes | |||
-rw-r--r-- | res/layout/main_buttons.xml | 32 |
5 files changed, 29 insertions, 3 deletions
diff --git a/res/drawable-hdpi/ic_number_border.png b/res/drawable-hdpi/ic_number_border.png Binary files differnew file mode 100644 index 00000000..d05aa7c2 --- /dev/null +++ b/res/drawable-hdpi/ic_number_border.png diff --git a/res/drawable-mdpi/ic_number_border.png b/res/drawable-mdpi/ic_number_border.png Binary files differnew file mode 100644 index 00000000..212fabce --- /dev/null +++ b/res/drawable-mdpi/ic_number_border.png diff --git a/res/drawable-xhdpi/ic_number_border.png b/res/drawable-xhdpi/ic_number_border.png Binary files differnew file mode 100644 index 00000000..1b370fbd --- /dev/null +++ b/res/drawable-xhdpi/ic_number_border.png diff --git a/res/drawable-xxhdpi/ic_number_border.png b/res/drawable-xxhdpi/ic_number_border.png Binary files differnew file mode 100644 index 00000000..caf4ca23 --- /dev/null +++ b/res/drawable-xxhdpi/ic_number_border.png diff --git a/res/layout/main_buttons.xml b/res/layout/main_buttons.xml index d83632c1..3c190cca 100644 --- a/res/layout/main_buttons.xml +++ b/res/layout/main_buttons.xml @@ -60,10 +60,36 @@ android:text="@string/main.albums_title"
style="@style/MainAlbumButtonLabel"/>
- <TextView
+ <LinearLayout
android:id="@+id/main_albums_newest"
- android:text="@string/main.albums_newest"
- style="@style/MainAlbumButton"/>
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="46dip">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:text="@string/main.albums_newest"
+ style="@style/MainAlbumButton"/>
+
+ <TextView
+ android:id="@+id/main_albums_recent_count"
+ android:layout_width="32dp"
+ android:layout_height="32dp"
+ android:layout_marginRight="12dp"
+ android:background="@drawable/ic_number_border"
+ android:focusable="false"
+ android:paddingRight="10dp"
+ android:layout_marginLeft="20px"
+ android:layout_marginBottom="4px"
+ android:text="99"
+ android:textAppearance="?android:attr/textAppearanceSmallPopupMenu"
+ android:textSize="11sp"
+ android:gravity="right|center_vertical"
+ android:layout_gravity="center_vertical"
+ android:visibility="gone"/>
+ </LinearLayout>
+
<TextView
android:id="@+id/main_albums_recent"
android:text="@string/main.albums_recent"
|