Remove icon and negative button from dialogs
Bug: 5092028 Change-Id: I25b86c6e74e380e6cee4998bfe494bdafb611f36main
parent
0a5345c7b6
commit
e4b445f1ce
|
@ -2163,8 +2163,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
final AlertDialog.Builder builder = new AlertDialog.Builder(this)
|
final AlertDialog.Builder builder = new AlertDialog.Builder(this)
|
||||||
.setIcon(R.drawable.ic_dialog_keyboard)
|
|
||||||
.setNegativeButton(android.R.string.cancel, null)
|
|
||||||
.setItems(items, listener)
|
.setItems(items, listener)
|
||||||
.setTitle(title);
|
.setTitle(title);
|
||||||
showOptionDialogInternal(builder.create());
|
showOptionDialogInternal(builder.create());
|
||||||
|
@ -2191,8 +2189,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
final AlertDialog.Builder builder = new AlertDialog.Builder(this)
|
final AlertDialog.Builder builder = new AlertDialog.Builder(this)
|
||||||
.setIcon(R.drawable.ic_dialog_keyboard)
|
|
||||||
.setNegativeButton(android.R.string.cancel, null)
|
|
||||||
.setItems(items, listener)
|
.setItems(items, listener)
|
||||||
.setTitle(title);
|
.setTitle(title);
|
||||||
showOptionDialogInternal(builder.create());
|
showOptionDialogInternal(builder.create());
|
||||||
|
|
Loading…
Reference in New Issue