aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values-v20/style.xml30
-rw-r--r--java/res/values-v29/style.xml8
-rw-r--r--java/res/values-v35/style.xml (renamed from java/res/values-v35/styles.xml)3
3 files changed, 39 insertions, 2 deletions
diff --git a/java/res/values-v20/style.xml b/java/res/values-v20/style.xml
new file mode 100644
index 00000000000..285cd61ced6
--- /dev/null
+++ b/java/res/values-v20/style.xml
@@ -0,0 +1,30 @@
1<!-- Style resources for GNU Emacs on Android.
2
3Copyright (C) 2025 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 between Android 4.4 W
22 and Android 10. -->
23 <style name="EmacsStyle"
24 parent="@android:style/Theme.DeviceDefault.NoActionBar">
25 <!-- Suppress the swipe-to-dismiss gesture enabled on certain
26 systems. -->
27 <item name="android:windowSwipeToDismiss">false</item>
28 </style>
29 <style name="EmacsStyleOpen" parent="@android:style/Theme.DeviceDefault"/>
30</resources>
diff --git a/java/res/values-v29/style.xml b/java/res/values-v29/style.xml
index 5e6700a27e0..0ecfa7fc103 100644
--- a/java/res/values-v29/style.xml
+++ b/java/res/values-v29/style.xml
@@ -18,14 +18,18 @@ You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> 18along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
19 19
20<resources> 20<resources>
21 <!-- Style used for popup menus and relatives from Android 10.0 21 <!-- Style used for popup menus and relatives from Android 10.0 to
22 onwards--> 22 14.0. -->
23 <style name="EmacsStyle" parent="@android:style/Theme.DeviceDefault.DayNight"> 23 <style name="EmacsStyle" parent="@android:style/Theme.DeviceDefault.DayNight">
24 <item name="android:windowActionBar">false</item> 24 <item name="android:windowActionBar">false</item>
25 <item name="android:windowNoTitle">true</item> 25 <item name="android:windowNoTitle">true</item>
26 26
27 <!-- Required to make sure the status bar text remains legible. --> 27 <!-- Required to make sure the status bar text remains legible. -->
28 <item name="android:statusBarColor">@android:color/black</item> 28 <item name="android:statusBarColor">@android:color/black</item>
29
30 <!-- Suppress the swipe-to-dismiss gesture enabled on certain
31 systems. -->
32 <item name="android:windowSwipeToDismiss">false</item>
29 </style> 33 </style>
30 <style name="EmacsStyleOpen" 34 <style name="EmacsStyleOpen"
31 parent="@android:style/Theme.DeviceDefault.DayNight"/> 35 parent="@android:style/Theme.DeviceDefault.DayNight"/>
diff --git a/java/res/values-v35/styles.xml b/java/res/values-v35/style.xml
index c0dc6479e18..0f7aeea5081 100644
--- a/java/res/values-v35/styles.xml
+++ b/java/res/values-v35/style.xml
@@ -24,6 +24,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
24 <item name="android:windowActionBar">false</item> 24 <item name="android:windowActionBar">false</item>
25 <item name="android:windowNoTitle">true</item> 25 <item name="android:windowNoTitle">true</item>
26 <item name="android:windowLightStatusBar">?android:attr/isLightTheme</item> 26 <item name="android:windowLightStatusBar">?android:attr/isLightTheme</item>
27 <!-- Suppress the swipe-to-dismiss gesture enabled on certain
28 systems. -->
29 <item name="android:windowSwipeToDismiss">false</item>
27 </style> 30 </style>
28 <style name="EmacsStyleOpen" 31 <style name="EmacsStyleOpen"
29 parent="@android:style/Theme.DeviceDefault.DayNight"/> 32 parent="@android:style/Theme.DeviceDefault.DayNight"/>