Add content description to cover art

This commit is contained in:
Christopher Eby 2012-02-25 22:13:17 -06:00
parent a6de315694
commit c524c0503d
10 changed files with 22 additions and 10 deletions

View File

@ -31,7 +31,8 @@ THE SOFTWARE.
android:layout_height="fill_parent"
android:adjustViewBounds="true"
android:padding="5dip"
android:scaleType="fitCenter" />
android:scaleType="fitCenter"
android:contentDescription="@string/cover_art" />
<LinearLayout
android:id="@+id/text"
android:layout_width="0px"

View File

@ -32,7 +32,8 @@ THE SOFTWARE.
android:adjustViewBounds="true"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginRight="5dip" />
android:layout_marginRight="5dip"
android:contentDescription="@string/cover_art" />
<LinearLayout
android:layout_width="0px"
android:layout_height="wrap_content"
@ -84,5 +85,6 @@ THE SOFTWARE.
android:layout_gravity="center"
android:background="?android:attr/selectableItemBackground"
android:scaleType="fitCenter"
android:src="@drawable/notification_close" />
android:src="@drawable/notification_close"
android:contentDescription="@string/close_notification" />
</LinearLayout>

View File

@ -30,7 +30,8 @@ THE SOFTWARE.
android:layout_marginLeft="5dip"
android:layout_width="36dip"
android:layout_height="36dip"
android:layout_gravity="center" />
android:layout_gravity="center"
android:contentDescription="@string/cover_art" />
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="fill_parent"

View File

@ -31,7 +31,8 @@ THE SOFTWARE.
android:layout_height="fill_parent"
android:adjustViewBounds="true"
android:padding="5dip"
android:scaleType="fitCenter" />
android:scaleType="fitCenter"
android:contentDescription="@string/cover_art" />
<LinearLayout
android:id="@+id/text"
android:layout_width="0px"

View File

@ -29,7 +29,8 @@ THE SOFTWARE.
android:src="@drawable/fallback_cover"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="fitCenter" />
android:scaleType="fitCenter"
android:contentDescription="@string/cover_art" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"

View File

@ -38,7 +38,8 @@ THE SOFTWARE.
android:scaleType="fitCenter"
android:layout_width="80dip"
android:layout_height="fill_parent"
android:layout_gravity="center" />
android:layout_gravity="center"
android:contentDescription="@string/cover_art" />
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"

View File

@ -32,7 +32,8 @@ THE SOFTWARE.
android:adjustViewBounds="true"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginRight="5dip" />
android:layout_marginRight="5dip"
android:contentDescription="@string/cover_art" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"

View File

@ -29,7 +29,8 @@ THE SOFTWARE.
android:src="@drawable/fallback_cover"
android:layout_centerInParent="true"
android:layout_height="wrap_content"
android:layout_width="wrap_content" />
android:layout_width="wrap_content"
android:contentDescription="@string/cover_art" />
<TextView
android:id="@+id/title"
android:text="@string/app_name"

View File

@ -29,6 +29,7 @@ THE SOFTWARE.
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:adjustViewBounds="true"
android:scaleType="fitCenter" />
android:scaleType="fitCenter"
android:contentDescription="@string/cover_art" />
<include layout="@layout/widget_e" />
</FrameLayout>

View File

@ -39,6 +39,8 @@ THE SOFTWARE.
<string name="random_enabling">Random enabled</string>
<string name="song_load_failed">Failed to load song %s. It may be corrupt or missing.</string>
<string name="queue_cleared">Queue cleared.</string>
<string name="cover_art">Cover art</string>
<string name="close_notification">Close notification</string>
<!-- New Playlist Dialog -->
<string name="choose_playlist_name">Choose Playlist Name</string>