Recently Written · git

assistkey

Hardware key remapper for the Viwoods AiPaper Reader: AI key, volume keys and power, with multi-tap, hold and chords

git clone https://github.com/equwal/assistkey

Log | Files | Refs


app/src/main/res/values/styles.xml (1457 bytes)

1 <?xml version="1.0" encoding="utf-8"?>
2 <resources>
3     <!-- E-ink: light, high contrast, no animation anywhere. -->
4     <!--
5         No action bar: every page draws its own title, and from Android 15 an
6         app targeting SDK 35+ is laid out edge to edge, which slid the top of
7         each page underneath the bar. Ui.page pads for the system bars itself.
8     -->
9     <style name="Theme.App" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
10         <item name="android:windowAnimationStyle">@null</item>
11         <item name="android:windowLightStatusBar">true</item>
12         <item name="android:windowLightNavigationBar">true</item>
13         <item name="android:statusBarColor">@android:color/white</item>
14         <item name="android:navigationBarColor">@android:color/white</item>
15     </style>
16 
17     <!--
18         The impersonation entry points must never be seen. Translucent, no
19         title, no window animation - otherwise there is a visible flash every
20         time the power button is used.
21     -->
22     <style name="Theme.Invisible" parent="@android:style/Theme.Translucent.NoTitleBar">
23         <item name="android:windowBackground">@android:color/transparent</item>
24         <item name="android:windowIsTranslucent">true</item>
25         <item name="android:windowAnimationStyle">@null</item>
26         <item name="android:windowNoTitle">true</item>
27         <item name="android:backgroundDimEnabled">false</item>
28     </style>
29 </resources>