Change AppPicker theme from dialog to full screen
AppPicker used in devceloper options, it will show apps list with package name in a dialog. But sometimes it will mis-alignment with package name. So we change theme from dialog to full screen and set widget_frame visibility to GONE. Bug: 151150544 Test: manual Change-Id: I8f04ab7967288801e5e13ecccf037d6ed09ec71c
This commit is contained in:
@@ -32,6 +32,7 @@ public class AppViewHolder {
|
||||
public ImageView appIcon;
|
||||
public TextView summary;
|
||||
public TextView disabled;
|
||||
public View widget;
|
||||
|
||||
static public AppViewHolder createOrRecycle(LayoutInflater inflater, View convertView) {
|
||||
if (convertView == null) {
|
||||
@@ -45,6 +46,7 @@ public class AppViewHolder {
|
||||
holder.appIcon = convertView.findViewById(android.R.id.icon);
|
||||
holder.summary = convertView.findViewById(android.R.id.summary);
|
||||
holder.disabled = convertView.findViewById(R.id.appendix);
|
||||
holder.widget = convertView.findViewById(android.R.id.widget_frame);
|
||||
convertView.setTag(holder);
|
||||
return holder;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user