|
|
@ -1,20 +1,23 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
android:orientation="vertical" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
android:layout_height="match_parent"> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.TitleBar |
|
|
|
<io.legado.app.ui.widget.TitleBar |
|
|
|
|
|
|
|
android:id="@+id/titleBar" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
app:title="@string/book_local" /> |
|
|
|
app:title="@string/book_local" /> |
|
|
|
|
|
|
|
|
|
|
|
<!--path--> |
|
|
|
<!--path--> |
|
|
|
<LinearLayout |
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:id="@+id/layTop" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/titleBar" |
|
|
|
android:background="@color/background" |
|
|
|
android:background="@color/background" |
|
|
|
android:minHeight="36dp" |
|
|
|
android:minHeight="36dp" |
|
|
|
android:padding="8dp" |
|
|
|
android:padding="8dp" |
|
|
@ -53,12 +56,51 @@ |
|
|
|
<androidx.recyclerview.widget.RecyclerView |
|
|
|
<androidx.recyclerview.widget.RecyclerView |
|
|
|
android:id="@+id/recycler_view" |
|
|
|
android:id="@+id/recycler_view" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/layTop" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/select_action_bar" |
|
|
|
android:layout_height="0dp" |
|
|
|
android:layout_height="0dp" |
|
|
|
android:layout_weight="1" /> |
|
|
|
android:layout_weight="1" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.SelectActionBar |
|
|
|
<io.legado.app.ui.widget.SelectActionBar |
|
|
|
android:id="@+id/select_action_bar" |
|
|
|
android:id="@+id/select_action_bar" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" /> |
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:id="@+id/hint_per" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
|
|
|
android:orientation="vertical" |
|
|
|
|
|
|
|
android:padding="36dp" |
|
|
|
|
|
|
|
android:gravity="center" |
|
|
|
|
|
|
|
android:visibility="gone" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:text="@string/tip_local_perm_request_storage" |
|
|
|
|
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
</TextView> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.text.AccentBgTextView |
|
|
|
|
|
|
|
android:id="@+id/tv_request_per" |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
|
|
|
android:paddingLeft="20dp" |
|
|
|
|
|
|
|
android:paddingRight="20dp" |
|
|
|
|
|
|
|
android:minHeight="42dp" |
|
|
|
|
|
|
|
android:gravity="center" |
|
|
|
|
|
|
|
android:text="@string/request_permission" |
|
|
|
|
|
|
|
android:textSize="14sp" |
|
|
|
|
|
|
|
app:radius="30dp" /> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |