You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
3.9 KiB
125 lines
3.9 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp"
|
|
android:orientation="vertical">
|
|
|
|
<io.legado.app.ui.widget.text.AccentTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/header" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="12dp"
|
|
android:gravity="center_vertical"
|
|
tools:ignore="RtlHardcoded,RtlSymmetry">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="4dp"
|
|
android:text="@string/left" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_header_left"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="4dp"
|
|
android:text="@string/middle" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_header_middle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="4dp"
|
|
android:text="@string/right" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_header_right"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
</LinearLayout>
|
|
|
|
<io.legado.app.ui.widget.text.AccentTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/footer" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="12dp"
|
|
android:gravity="center_vertical"
|
|
tools:ignore="RtlHardcoded,RtlSymmetry">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="4dp"
|
|
android:text="@string/left" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_footer_left"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="4dp"
|
|
android:text="@string/middle" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_footer_middle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="4dp"
|
|
android:text="@string/right" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_footer_right"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
</LinearLayout>
|
|
|
|
<Switch
|
|
android:id="@+id/sw_hide_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="6dp"
|
|
android:text="@string/hideHeader" />
|
|
|
|
<Switch
|
|
android:id="@+id/sw_hide_footer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="6dp"
|
|
android:text="@string/hideFooter" />
|
|
|
|
</LinearLayout> |