146 lines
4.3 KiB
XML
146 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:fadeScrollbars="false"
|
|
android:fillViewport="true"
|
|
android:padding="12dp"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/keyword"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
android:id="@+id/tvName"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:padding="6dp"
|
|
android:gravity="center"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/text_color"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnTextColorEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnTextColorReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/background_color"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnBackgroundColorEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnBackgroundColorReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/notification_sound"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/swSound"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnNotificationSoundEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnNotificationSoundReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/enable_speech"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/swSpeech"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|