113 lines
4.1 KiB
XML
113 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_tts_SpeechRate"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_read_speed_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
style="@style/ChapterNameText"
|
|
android:text="@string/auto_page_speed" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_read_speed"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:textSize="16sp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<com.google.android.material.slider.Slider
|
|
android:id="@+id/seek_auto_read"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:valueFrom="1.0"
|
|
android:valueTo="60.0"
|
|
android:stepSize="1.0"
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_catalog"
|
|
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:icon="@drawable/ic_toc"
|
|
android:text="@string/chapter_list"
|
|
android:textSize="12sp"
|
|
android:padding="0dp"
|
|
app:iconGravity="textTop"
|
|
app:iconPadding="4dp"
|
|
/>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_main_menu"
|
|
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:icon="@drawable/ic_menu"
|
|
android:text="@string/main_menu"
|
|
android:textSize="12sp"
|
|
android:padding="0dp"
|
|
app:iconGravity="textTop"
|
|
app:iconPadding="4dp"
|
|
/>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_auto_page_stop"
|
|
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:icon="@drawable/ic_auto_page_stop"
|
|
android:text="@string/stop"
|
|
android:textSize="12sp"
|
|
android:padding="0dp"
|
|
app:iconGravity="textTop"
|
|
app:iconPadding="4dp"
|
|
/>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_setting"
|
|
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:icon="@drawable/ic_settings"
|
|
android:text="@string/setting"
|
|
android:textSize="12sp"
|
|
android:padding="0dp"
|
|
app:iconGravity="textTop"
|
|
app:iconPadding="4dp"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |