Loading core/java/com/android/internal/app/ChooserActivity.java +14 −0 Original line number Diff line number Diff line Loading @@ -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) ( Loading core/res/res/layout/chooser_grid.xml +1 −2 Original line number Diff line number Diff line Loading @@ -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" /> Loading @@ -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" Loading Loading
core/java/com/android/internal/app/ChooserActivity.java +14 −0 Original line number Diff line number Diff line Loading @@ -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) ( Loading
core/res/res/layout/chooser_grid.xml +1 −2 Original line number Diff line number Diff line Loading @@ -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" /> Loading @@ -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" Loading