|
|
|
@ -21,25 +21,45 @@ |
|
|
|
|
android:theme="?attr/actionBarStyle" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_chapter_name" |
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:paddingLeft="10dp" |
|
|
|
|
android:paddingRight="10dp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
android:visibility="gone" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_chapter_url" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:paddingLeft="10dp" |
|
|
|
|
android:paddingRight="10dp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
android:visibility="gone" /> |
|
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_chapter_name" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:paddingLeft="10dp" |
|
|
|
|
android:paddingRight="10dp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
app:layout_constraintRight_toLeftOf="@+id/tv_login" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_chapter_url" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:paddingLeft="10dp" |
|
|
|
|
android:paddingRight="10dp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
app:layout_constraintRight_toLeftOf="@+id/tv_login" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_chapter_name" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_login" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_chapter_url" |
|
|
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
|
|
|
|
|
|
</io.legado.app.ui.widget.TitleBar> |
|
|
|
|
|
|
|
|
@ -48,19 +68,19 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
android:layout_margin="8dp" |
|
|
|
|
android:orientation="vertical" |
|
|
|
|
android:gravity="center_horizontal" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/title_bar" |
|
|
|
|
android:orientation="vertical" |
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_menu" |
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_menu"> |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/title_bar"> |
|
|
|
|
|
|
|
|
|
<ImageView |
|
|
|
|
android:id="@+id/iv_brightness_auto" |
|
|
|
|
android:layout_width="24dp" |
|
|
|
|
android:layout_height="24dp" |
|
|
|
|
android:layout_margin="8dp" |
|
|
|
|
android:src="@drawable/ic_brightness_auto" |
|
|
|
|
android:contentDescription="@string/brightness_auto" /> |
|
|
|
|
android:contentDescription="@string/brightness_auto" |
|
|
|
|
android:src="@drawable/ic_brightness_auto" /> |
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.seekbar.VerticalSeekBarWrapper |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
@ -88,8 +108,8 @@ |
|
|
|
|
android:id="@+id/ll_floating_button" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
android:paddingStart="32dp" |
|
|
|
|
android:paddingEnd="32dp"> |
|
|
|
|
|
|
|
|
@ -187,8 +207,8 @@ |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:background="@color/background_menu" |
|
|
|
|
android:orientation="vertical" |
|
|
|
|
android:importantForAccessibility="no"> |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
<!--章节设置--> |
|
|
|
|
<LinearLayout |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
@ -197,8 +217,8 @@ |
|
|
|
|
android:layout_marginTop="5dp" |
|
|
|
|
android:layout_marginRight="20dp" |
|
|
|
|
android:layout_marginBottom="5dp" |
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
android:importantForAccessibility="no"> |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_pre" |
|
|
|
@ -244,8 +264,8 @@ |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:baselineAligned="false" |
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
android:importantForAccessibility="no"> |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
android:layout_width="0dp" |
|
|
|
@ -281,8 +301,8 @@ |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_gravity="center_horizontal" |
|
|
|
|
android:layout_marginTop="3dp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:text="@string/chapter_list" |
|
|
|
|
android:textColor="@color/primaryText" |
|
|
|
|
android:textSize="12sp" /> |
|
|
|
@ -322,8 +342,8 @@ |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_gravity="center_horizontal" |
|
|
|
|
android:layout_marginTop="3dp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:text="@string/read_aloud" |
|
|
|
|
android:textColor="@color/primaryText" |
|
|
|
|
android:textSize="12sp" /> |
|
|
|
@ -363,8 +383,8 @@ |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_gravity="center_horizontal" |
|
|
|
|
android:layout_marginTop="3dp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:text="@string/interface_setting" |
|
|
|
|
android:textColor="@color/primaryText" |
|
|
|
|
android:textSize="12sp" /> |
|
|
|
@ -404,8 +424,8 @@ |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_gravity="center_horizontal" |
|
|
|
|
android:layout_marginTop="3dp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:text="@string/setting" |
|
|
|
|
android:textColor="@color/primaryText" |
|
|
|
|
android:textSize="12sp" /> |
|
|
|
|