emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 73367ea5c18: Better port to Android 35


From: Po Lu
Subject: master 73367ea5c18: Better port to Android 35
Date: Wed, 4 Sep 2024 22:48:05 -0400 (EDT)

branch: master
commit 73367ea5c1821e46cea57fda424a8a65ac5e586a
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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.
---
 java/INSTALL                   |  3 +--
 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
 version of the build tools, but the version you opt for is not of
 paramount significance: if your version does not work, configure will
 protest, so install a newer one.  We anticipate that most recent
-releases will work, such as those from the 33.0.x, 34.0.x, and 35.0.x
-series.
+releases will work, such as those from the 34.0.x, and 35.0.x series.
 
 
 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 @@
+<!-- Style resources for GNU Emacs on Android.
+
+Copyright (C) 2024 Free Software Foundation, Inc.
+
+This file is part of GNU Emacs.
+
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+GNU Emacs is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>. -->
+
+<resources>
+  <!-- Style used for popup menus and relatives from Android 15.0
+       onwards.  -->
+  <style name="EmacsStyle" 
parent="@android:style/Theme.DeviceDefault.DayNight">
+    <item name="android:windowActionBar">false</item>
+    <item name="android:windowNoTitle">true</item>
+    <item name="android:windowLightStatusBar">?android:attr/isLightTheme</item>
+  </style>
+  <style name="EmacsStyleOpen"
+        parent="@android:style/Theme.DeviceDefault.DayNight"/>
+</resources>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]