mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 09:57:26 +00:00
Double Tap to Lock Screen gesture implemented
This commit is contained in:
parent
914c7a0ed4
commit
c6f3d537f6
6 changed files with 118 additions and 3 deletions
|
|
@ -75,5 +75,6 @@
|
|||
|
||||
<string name="weather_link"><![CDATA[Weather data by <a href="https://open-meteo.com/">Open-Meteo.com</a><br>(<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>)]]></string>
|
||||
<string name="location_link"><![CDATA[Location data by <a href="https://open-meteo.com/">Open-Meteo.com</a> (<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>)]]></string>
|
||||
<string name="accessibility_service_description">Idk this is my service</string>
|
||||
|
||||
</resources>
|
||||
|
|
@ -173,6 +173,12 @@
|
|||
app:key="rightSwipeApp"
|
||||
app:selectable="true"
|
||||
app:title="Right Swipe App" />
|
||||
<SwitchPreference
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:defaultValue="false"
|
||||
android:title="Double Tap to Lock Screen"
|
||||
app:key="doubleTap" />
|
||||
<SwitchPreference
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
|||
8
app/src/main/res/xml/screenlock_service_config.xml
Normal file
8
app/src/main/res/xml/screenlock_service_config.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<accessibility-service
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:accessibilityEventTypes="typeViewClicked"
|
||||
android:accessibilityFeedbackType="feedbackGeneric"
|
||||
android:notificationTimeout="100"
|
||||
android:canRetrieveWindowContent="true"
|
||||
android:description="@string/accessibility_service_description" />
|
||||
Loading…
Add table
Add a link
Reference in a new issue