]> git.eshelyaron.com Git - emacs.git/commit
Improve radio button appearance in Android menus
authorPo Lu <luangruo@yahoo.com>
Fri, 17 Mar 2023 05:10:23 +0000 (13:10 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 17 Mar 2023 05:10:23 +0000 (13:10 +0800)
commit45b5c9b8b72a9dd561c7e2d43ead8ce64e79b041
treed868f96a69003ec82a8ef72222ca82bca4257ada
parentda660a1ffa3218f8e6ec4dfd5422ca6c1ded38ae
Improve radio button appearance in Android menus

* java/org/gnu/emacs/EmacsContextMenu.java (EmacsContextMenu):
New field `lastGroupId'.
(Item): New field `isRadio'.
(addItem): New arg `isRadio'.
(inflateMenuItems): Apply an empty radio button group if
required.
* src/androidmenu.c (android_init_emacs_context_menu): Adjust
accordingly.
(android_menu_show): Likewise.
java/org/gnu/emacs/EmacsContextMenu.java
src/androidmenu.c