* Settings screen is now based on the Android SharedPreferences * Added function key configuration on the Settings screen * Added a setting for toggling the on-screen buttons * Added a dark/light theme setting * Improved translations * Fixed a problem with launching the Settings screen directly from the Android settings * Fixed ignoring keys not actually ignoring them properly
69 lines
2 KiB
XML
69 lines
2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/main_suggestions_list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="@dimen/candidate_list_height"
|
|
android:fadingEdge="horizontal"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="1px"
|
|
android:scrollbars="none" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/main_soft_keys"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/soft_key_height"
|
|
android:baselineAligned="true"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/main_left"
|
|
style="@android:style/Widget.Holo.Button.Borderless"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="3"
|
|
android:clickable="true"
|
|
android:focusable="false"
|
|
android:longClickable="true"
|
|
android:text="⚙"
|
|
android:textSize="24sp"/>
|
|
|
|
<View
|
|
android:id="@+id/main_separator_left"
|
|
style="@style/hSeparator"
|
|
android:background="@drawable/button_separator_dark" />
|
|
|
|
<Button
|
|
android:id="@+id/main_mid"
|
|
style="@android:style/Widget.Holo.Button.Borderless"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="5"
|
|
android:clickable="true"
|
|
android:focusable="false"
|
|
android:longClickable="true"
|
|
android:text="@android:string/ok" />
|
|
|
|
<View
|
|
android:id="@+id/main_separator_right"
|
|
android:background="@drawable/button_separator_dark"
|
|
style="@style/hSeparator" />
|
|
|
|
<Button
|
|
android:id="@+id/main_right"
|
|
style="@android:style/Widget.Holo.Button.Borderless"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="3"
|
|
android:clickable="true"
|
|
android:focusable="false"
|
|
android:longClickable="true"
|
|
android:text="⌫"
|
|
android:textSize="24sp" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|