diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-12-04 21:15:20 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-12-04 21:15:20 -0800 |
commit | 61d534dc5fe78d36458022aad9ec0feffa2ebf39 (patch) | |
tree | 5cbb16b18d98adbb8285944a6cb096258e572d5c /res/layout | |
parent | 3a71eece405c1ef624768fdcda0d06cc20c90ee8 (diff) | |
download | dsub-61d534dc5fe78d36458022aad9ec0feffa2ebf39.tar.gz dsub-61d534dc5fe78d36458022aad9ec0feffa2ebf39.tar.bz2 dsub-61d534dc5fe78d36458022aad9ec0feffa2ebf39.zip |
#202 Increase small album art, even more for tablets
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/album_list_item.xml | 8 | ||||
-rw-r--r-- | res/layout/select_album_header.xml | 92 |
2 files changed, 46 insertions, 54 deletions
diff --git a/res/layout/album_list_item.xml b/res/layout/album_list_item.xml index 9051a72e..99a9ed88 100644 --- a/res/layout/album_list_item.xml +++ b/res/layout/album_list_item.xml @@ -7,11 +7,9 @@ <ImageView
android:id="@+id/album_coverart"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="left|center_vertical"
- android:paddingTop="1dip"
- android:paddingBottom="1dip"/>
+ android:layout_width="@dimen/AlbumArt.Small"
+ android:layout_height="@dimen/AlbumArt.Small"
+ android:layout_gravity="left|center_vertical"/>
<LinearLayout
android:orientation="vertical"
diff --git a/res/layout/select_album_header.xml b/res/layout/select_album_header.xml index 2bf74110..33cbf93e 100644 --- a/res/layout/select_album_header.xml +++ b/res/layout/select_album_header.xml @@ -7,66 +7,60 @@ <ImageView android:id="@+id/select_album_art" android:src="@drawable/unknown_album_large" - android:layout_width="120dip" - android:layout_height="120dip" + android:layout_width="@dimen/AlbumArt.Header" + android:layout_height="@dimen/AlbumArt.Header" android:layout_alignParentTop="true" android:layout_alignParentLeft="true" android:layout_marginRight="10dip" android:scaleType="fitCenter" android:contentDescription="@null"/> - <TextView - android:text="This is the album title" - android:id="@+id/select_album_title" - android:layout_width="wrap_content" + <LinearLayout + android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@+id/select_album_art" - android:paddingTop="20dip" - android:paddingBottom="8dip" - android:paddingRight="4dip" - android:textAppearance="?android:attr/textAppearanceMedium" - android:textStyle="bold" - android:singleLine="true" - android:ellipsize="end"/> + android:orientation="vertical" + android:layout_centerVertical="true"> - <TextView - android:text="This is the artist name" - android:id="@+id/select_album_artist" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@+id/select_album_title" - android:layout_toRightOf="@+id/select_album_art" - android:paddingBottom="2dip" - android:paddingRight="4dip" - android:textAppearance="?android:attr/textAppearanceSmall" - android:singleLine="true" - android:ellipsize="end"/> + <TextView + android:text="This is the album title" + android:id="@+id/select_album_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceLarge" + android:textStyle="bold" + android:singleLine="true" + android:ellipsize="end"/> - <TextView - android:text="XX SONGS" - android:id="@+id/select_album_song_count" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@+id/select_album_artist" - android:layout_toRightOf="@+id/select_album_art" - android:paddingRight="4dip" - android:textAppearance="?android:attr/textAppearanceSmall" - android:textSize="10sp" - android:singleLine="true" - android:ellipsize="none"/> + <TextView + android:text="This is the artist name" + android:id="@+id/select_album_artist" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceMedium" + android:singleLine="true" + android:ellipsize="end"/> - <TextView - android:text="0:00" - android:id="@+id/select_album_song_length" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@+id/select_album_song_count" - android:layout_toRightOf="@+id/select_album_art" - android:paddingRight="4dip" - android:textAppearance="?android:attr/textAppearanceSmall" - android:textSize="10sp" - android:singleLine="true" - android:ellipsize="none"/> + <TextView + android:text="XX SONGS" + android:id="@+id/select_album_song_count" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingTop="14dip" + android:textAppearance="?android:attr/textAppearanceSmall" + android:singleLine="true" + android:ellipsize="none"/> + + <TextView + android:text="0:00" + android:id="@+id/select_album_song_length" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:singleLine="true" + android:ellipsize="none"/> + + </LinearLayout> </RelativeLayout> |