Add a long click action

To be executed on long click on the home screen. It soon will be 
necessary to make a RecyclerView for those actions.
This commit is contained in:
Finn M Glas 2020-05-27 14:45:15 +02:00
parent b906d7b86d
commit 65a4241220
No known key found for this signature in database
GPG key ID: 25037A2E81AB459C
7 changed files with 36 additions and 1 deletions

View file

@ -180,6 +180,29 @@
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
<TextView
android:id="@+id/fragment_settings_apps_choose_long_click_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="10sp"
android:paddingRight="10sp"
android:text="@string/settings_choose_long_click"
android:textSize="20sp" />
<Button
android:id="@+id/fragment_settings_apps_choose_long_click_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_choose_btn"
android:textAllCaps="false" />
</TableRow>
</TableLayout>
<Button

View file

@ -22,6 +22,7 @@
<string name="settings_choose_vol_up">Lautstärke +</string>
<string name="settings_choose_vol_down">Lautstärke -</string>
<string name="settings_choose_double_click">Doppelklick</string>
<string name="settings_choose_long_click">Langer Klick</string>
<string name="settings_choose_btn">App wählen</string>
<string name="settings_select_launcher">Launcher wählen</string>

View file

@ -22,6 +22,7 @@
<string name="settings_choose_vol_up">Monter volume</string>
<string name="settings_choose_vol_down">Baisser volume</string>
<string name="settings_choose_double_click">Double clic</string>
<string name="settings_choose_long_click">Clic long</string>
<string name="settings_choose_btn">Choisir App</string>
<string name="settings_select_launcher">Choisir Launcher</string>

View file

@ -30,6 +30,7 @@
<string name="settings_choose_vol_up">Volume Up</string>
<string name="settings_choose_vol_down">Volume Down</string>
<string name="settings_choose_double_click">Double Click</string>
<string name="settings_choose_long_click">Long Click</string>
<string name="settings_choose_btn">Choose App</string>
<string name="settings_select_launcher">Select Launcher</string>