Merge "Sharesheet - Talkback fixes" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
df7e984cc3
@@ -2585,6 +2585,20 @@ public class ChooserActivity extends ResolverActivity {
|
||||
return maxTargets;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean areAllItemsEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEnabled(int position) {
|
||||
int viewType = getItemViewType(position);
|
||||
if (viewType == VIEW_TYPE_CONTENT_PREVIEW) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
return (int) (
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="4dp"
|
||||
android:src="@drawable/ic_drag_handle"
|
||||
android:clickable="true"
|
||||
android:layout_marginTop="@dimen/chooser_edge_margin_thin"
|
||||
android:layout_marginBottom="@dimen/chooser_edge_margin_thin"
|
||||
android:tint="@color/lighter_gray"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentTop="true" />
|
||||
@@ -50,7 +50,6 @@
|
||||
android:textSize="20sp"
|
||||
android:textColor="?attr/textColorPrimary"
|
||||
android:gravity="center"
|
||||
android:paddingTop="@dimen/chooser_edge_margin_thin"
|
||||
android:paddingBottom="@dimen/chooser_view_spacing"
|
||||
android:paddingLeft="24dp"
|
||||
android:paddingRight="24dp"
|
||||
|
||||
Reference in New Issue
Block a user