1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-12 18:55:13 -08:00

Improve appearance of the Android preferences screen

* .gitignore: Add org/gnu/emacs/R.java.
* cross/Makefile.in (top_builddir): Include verbose.mk.  Rewrite
rules to print nice looking statements.
* doc/emacs/android.texi (Android, Android Startup)
(Android Environment, Android Windowing, Android Fonts):
* doc/emacs/emacs.texi (Top): Add an extra ``Android
Troubleshooting'' node and move troubleshooting details there.
* java/Makefile.in: Generate R.java; improve appearance by using
verbose.mk.

* java/org/gnu/emacs/EmacsPreferencesActivity.java: Reimplement
in terms of PreferencesActivity.
* java/org/gnu/emacs/EmacsView.java (handleDirtyBitmap): Avoid
flicker.
* java/res/xml/preferences.xml: New file.
* src/verbose.mk.in (AM_V_AAPT, AM_V_SILENT): New variables.
This commit is contained in:
Po Lu 2023-02-10 23:03:43 +08:00
parent 2489126e68
commit dc120c7ad6
9 changed files with 280 additions and 153 deletions

View file

@ -181,7 +181,10 @@ public class EmacsView extends ViewGroup
if (oldBitmap != null)
{
oldBitmap.recycle ();
surfaceView.setBitmap (null, null);
/* Make sure to set the view's bitmap to the new bitmap, or
ugly flicker can result. */
surfaceView.setBitmap (bitmap, null);
}
/* Some Android versions still don't free the bitmap until the