Merge "Remove icon and negative button from dialogs"
commit
3782f2bf1e
|
@ -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