Fix Settings Condition expand button a11y label
Bug: 27276008 Change-Id: Ie62ed8a73b300948f053b5d35f344bce3b63869a
This commit is contained in:
@@ -71,6 +71,8 @@ public class ConditionAdapterUtils {
|
||||
ImageView expand = (ImageView) view.itemView.findViewById(R.id.expand_indicator);
|
||||
expand.setTag(condition);
|
||||
expand.setImageResource(isExpanded ? R.drawable.ic_expand_less : R.drawable.ic_expand_more);
|
||||
expand.setContentDescription(expand.getContext().getString(isExpanded
|
||||
? R.string.condition_expand_hide : R.string.condition_expand_show));
|
||||
expand.setOnClickListener(onExpandListener);
|
||||
|
||||
View detailGroup = view.itemView.findViewById(R.id.detail_group);
|
||||
|
Reference in New Issue
Block a user