diff options
| author | Po Lu | 2024-09-05 10:47:51 +0800 |
|---|---|---|
| committer | Po Lu | 2024-09-05 10:47:51 +0800 |
| commit | 73367ea5c1821e46cea57fda424a8a65ac5e586a (patch) | |
| tree | 98f2fe872b4a380444fcdaf8f518c9f3f960d21e /java | |
| parent | 1a13c5e63e1eb8fcf15c53ae4ed0caca8b928a3b (diff) | |
| download | emacs-73367ea5c1821e46cea57fda424a8a65ac5e586a.tar.gz emacs-73367ea5c1821e46cea57fda424a8a65ac5e586a.zip | |
Better port to Android 35
* java/INSTALL: Don't refer users to build-tools 33.0.x.
* java/res/values-v35/styles.xml: New dark theme; define status
bar colors properly for this release.
Diffstat (limited to 'java')
| -rw-r--r-- | java/INSTALL | 3 | ||||
| -rw-r--r-- | java/res/values-v35/styles.xml | 30 |
2 files changed, 31 insertions, 2 deletions
diff --git a/java/INSTALL b/java/INSTALL index fa13a4d107d..242dd776923 100644 --- a/java/INSTALL +++ b/java/INSTALL | |||
| @@ -116,8 +116,7 @@ DEX format employed by Android. There is one subdirectory for each | |||
| 116 | version of the build tools, but the version you opt for is not of | 116 | version of the build tools, but the version you opt for is not of |
| 117 | paramount significance: if your version does not work, configure will | 117 | paramount significance: if your version does not work, configure will |
| 118 | protest, so install a newer one. We anticipate that most recent | 118 | protest, so install a newer one. We anticipate that most recent |
| 119 | releases will work, such as those from the 33.0.x, 34.0.x, and 35.0.x | 119 | releases will work, such as those from the 34.0.x, and 35.0.x series. |
| 120 | series. | ||
| 121 | 120 | ||
| 122 | 121 | ||
| 123 | BUILDING WITH OLD NDK VERSIONS | 122 | BUILDING WITH OLD NDK VERSIONS |
diff --git a/java/res/values-v35/styles.xml b/java/res/values-v35/styles.xml new file mode 100644 index 00000000000..7d2f816130d --- /dev/null +++ b/java/res/values-v35/styles.xml | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | <!-- Style resources for GNU Emacs on Android. | ||
| 2 | |||
| 3 | Copyright (C) 2024 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | ||
| 19 | |||
| 20 | <resources> | ||
| 21 | <!-- Style used for popup menus and relatives from Android 15.0 | ||
| 22 | onwards. --> | ||
| 23 | <style name="EmacsStyle" parent="@android:style/Theme.DeviceDefault.DayNight"> | ||
| 24 | <item name="android:windowActionBar">false</item> | ||
| 25 | <item name="android:windowNoTitle">true</item> | ||
| 26 | <item name="android:windowLightStatusBar">?android:attr/isLightTheme</item> | ||
| 27 | </style> | ||
| 28 | <style name="EmacsStyleOpen" | ||
| 29 | parent="@android:style/Theme.DeviceDefault.DayNight"/> | ||
| 30 | </resources> | ||