Merge "Make content descriptions of task cards, the title description" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7cb7a0aa60
@@ -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