mirror of
https://github.com/jrpie/Launcher.git
synced 2025-04-19 02:10:54 +02:00
feature: edge gestures
This commit is contained in:
parent
624f07ae21
commit
8515062238
12 changed files with 162 additions and 39 deletions
|
@ -307,5 +307,34 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="16sp"
|
||||
android:gravity="top"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="8sp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/settings_launcher_text_enable_edge"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/settings_launcher_enable_edge"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<android.widget.Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<Switch
|
||||
android:id="@+id/settings_launcher_switch_enable_edge"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="false"
|
||||
android:textSize="18sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
|
@ -8,6 +8,9 @@
|
|||
<item>launcher:choose</item> <!-- The apps list -->
|
||||
</string-array>
|
||||
|
||||
<string-array name="default_up_left" />
|
||||
<string-array name="default_up_right" />
|
||||
|
||||
<!-- Swipe double up - Translation app -->
|
||||
<string-array name="default_double_up">
|
||||
<item>com.google.android.apps.translate</item> <!-- Google Translate -->
|
||||
|
@ -26,6 +29,9 @@
|
|||
<item>com.android.chrome</item> <!-- Chrome -->
|
||||
</string-array>
|
||||
|
||||
<string-array name="default_down_left" />
|
||||
<string-array name="default_down_right" />
|
||||
|
||||
<!-- Swipe double down - Secure Browser -->
|
||||
<string-array name="default_double_down">
|
||||
<item>org.torproject.torbrowser</item> <!-- Tor Browser -->
|
||||
|
@ -39,6 +45,9 @@
|
|||
<item>com.google.android.gm</item> <!-- Google Mail -->
|
||||
</string-array>
|
||||
|
||||
<string-array name="default_right_top" />
|
||||
<string-array name="default_right_bottom" />
|
||||
|
||||
<!-- Swipe double right -->
|
||||
<string-array name="default_double_right">
|
||||
<item>com.android.documentsui</item>
|
||||
|
@ -52,6 +61,11 @@
|
|||
<item>org.thoughtcrime.securesms</item> <!-- Signal -->
|
||||
</string-array>
|
||||
|
||||
|
||||
<string-array name="default_left_top" />
|
||||
<string-array name="default_left_bottom" />
|
||||
|
||||
|
||||
<!-- Swipe double left - More messengers -->
|
||||
<string-array name="default_double_left">
|
||||
<item>com.whatsapp</item> <!-- WhatsApp -->
|
||||
|
|
|
@ -41,6 +41,14 @@
|
|||
<string name="settings_gesture_double_left">Double Left</string>
|
||||
<string name="settings_gesture_right">Swipe Right</string>
|
||||
<string name="settings_gesture_double_right">Double Right</string>
|
||||
<string name="settings_gesture_right_top_edge">Swipe Right (Top)</string>
|
||||
<string name="settings_gesture_right_bottom_edge">Swipe Right (Bottom)</string>
|
||||
<string name="settings_gesture_left_bottom_edge">Swipe Left (Bottom)</string>
|
||||
<string name="settings_gesture_left_top_edge">Swipe Left (Top)</string>
|
||||
<string name="settings_gesture_up_left_edge">Swipe Up (Left Edge)</string>
|
||||
<string name="settings_gesture_up_right_edge">Swipe Up (Right Edge)</string>
|
||||
<string name="settings_gesture_down_left_edge">Swipe Down (Left Edge)</string>
|
||||
<string name="settings_gesture_down_right_edge">Swipe Down (Right Edge)</string>
|
||||
<string name="settings_gesture_vol_up">Volume Up</string>
|
||||
<string name="settings_gesture_vol_down">Volume Down</string>
|
||||
<string name="settings_gesture_double_click">Double Click</string>
|
||||
|
@ -102,6 +110,7 @@
|
|||
<string name="settings_launcher_section_functions">Functions</string>
|
||||
|
||||
<string name="settings_launcher_enable_double">Double swipe actions</string>
|
||||
<string name="settings_launcher_enable_edge">Edge swipe actions</string>
|
||||
<string name="settings_launcher_auto_launch">Launch search results</string>
|
||||
<string name="settings_launcher_auto_keyboard">Start keyboard for search</string>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
This is more like a fallback- theme that may partially be used by older apis.
|
||||
|
||||
-->
|
||||
<style name="baseTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<style name="launcherBaseTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="colorPrimary">@color/finnmglasTheme_background_color</item>
|
||||
<item name="colorPrimaryDark">@color/finnmglasTheme_background_color</item>
|
||||
<item name="android:colorBackground">@color/finnmglasTheme_background_color</item>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue