Merge "Make content descriptions of task cards, the title description" into nyc-dev am: 7cb7a0aa60
am: 3d09accb9d
* commit '3d09accb9db26eae36a1e3bab415c469a4bbd3c4':
Make content descriptions of task cards, the title description
Change-Id: Ib6f6a6cec21286d797b84ceefa4258bc5e69542b
This commit is contained in:
@@ -19,7 +19,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:focusableInTouchMode="true"
|
android:focusableInTouchMode="true"
|
||||||
android:contentDescription="@string/status_bar_recent_inspect_item_title"
|
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ public class TaskCardView extends LinearLayout {
|
|||||||
mTitleTextView.setText(task.title);
|
mTitleTextView.setText(task.title);
|
||||||
mBadgeView.setImageDrawable(task.icon);
|
mBadgeView.setImageDrawable(task.icon);
|
||||||
setThumbnailView();
|
setThumbnailView();
|
||||||
|
setContentDescription(task.titleDescription);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task getTask() {
|
public Task getTask() {
|
||||||
|
|||||||
Reference in New Issue
Block a user