aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml
diff options
context:
space:
mode:
authorPo Lu2023-02-10 23:03:43 +0800
committerPo Lu2023-02-10 23:03:43 +0800
commitdc120c7ad62d5f79fe50f72431d3b9bb2d7f1558 (patch)
tree47e2993d9d3e92d23f7d328fd1d82e4c01ffcf71 /java/res/xml
parent2489126e6856bf1b06a26127b73e4bfff857f68f (diff)
downloademacs-dc120c7ad62d5f79fe50f72431d3b9bb2d7f1558.tar.gz
emacs-dc120c7ad62d5f79fe50f72431d3b9bb2d7f1558.zip
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.
Diffstat (limited to 'java/res/xml')
-rw-r--r--java/res/xml/preferences.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/java/res/xml/preferences.xml b/java/res/xml/preferences.xml
new file mode 100644
index 00000000000..f0c3abb52e7
--- /dev/null
+++ b/java/res/xml/preferences.xml
@@ -0,0 +1,28 @@
1<!-- Descriptions for the preferences screen for GNU Emacs on Android.
2
3Copyright (C) 2023 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
19
20<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
21 <Preference android:key="start_quick"
22 android:title="Restart Emacs with -Q"
23 android:summary="Restart Emacs, but do not load site lisp or init files."/>
24
25 <Preference android:key="erase_dump"
26 android:title="Delete dump file"
27 android:summary="Remove the dumped state created when Emacs was installed"/>
28</PreferenceScreen>