aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorPo Lu2024-09-05 10:47:51 +0800
committerPo Lu2024-09-05 10:47:51 +0800
commit73367ea5c1821e46cea57fda424a8a65ac5e586a (patch)
tree98f2fe872b4a380444fcdaf8f518c9f3f960d21e /java
parent1a13c5e63e1eb8fcf15c53ae4ed0caca8b928a3b (diff)
downloademacs-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/INSTALL3
-rw-r--r--java/res/values-v35/styles.xml30
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
116version of the build tools, but the version you opt for is not of 116version of the build tools, but the version you opt for is not of
117paramount significance: if your version does not work, configure will 117paramount significance: if your version does not work, configure will
118protest, so install a newer one. We anticipate that most recent 118protest, so install a newer one. We anticipate that most recent
119releases will work, such as those from the 33.0.x, 34.0.x, and 35.0.x 119releases will work, such as those from the 34.0.x, and 35.0.x series.
120series.
121 120
122 121
123BUILDING WITH OLD NDK VERSIONS 122BUILDING 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
3Copyright (C) 2024 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<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>