diff options
| author | Po Lu | 2025-03-03 21:57:05 +0800 |
|---|---|---|
| committer | Po Lu | 2025-03-03 21:59:41 +0800 |
| commit | 96d26b493618f59bbdd4de86be65e784735541c8 (patch) | |
| tree | eb1cc7d32aeea967c3676fb8a86b95b8866098f5 /java/res/values-v29 | |
| parent | f372508f68c9797f8d17cce0293526f3f30cb4c4 (diff) | |
| download | emacs-96d26b493618f59bbdd4de86be65e784735541c8.tar.gz emacs-96d26b493618f59bbdd4de86be65e784735541c8.zip | |
Fix styling issues on Android 15 QPR1
* java/org/gnu/emacs/EmacsView.java (EmacsView): Guarantee that
frame views are created with the correct theme.
* java/res/values-v20/style.xml (EmacsStyle):
* java/res/values-v29/style.xml (EmacsStyle): Disable a swiping
gesture enabled on certain Android systems.
* java/res/values-v35/style.xml: Rename from `styles'.xml.
Diffstat (limited to 'java/res/values-v29')
| -rw-r--r-- | java/res/values-v29/style.xml | 8 |
1 files changed, 6 insertions, 2 deletions
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 | |||
| 18 | along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | 18 | along 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"/> |