优化
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<vector android:height="24dp"
|
||||
android:tint="#000000"
|
||||
android:viewportHeight="24"
|
||||
android:viewportWidth="24"
|
||||
android:width="24dp"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M20,6h-8l-2,-2L4,4c-1.11,0 -1.99,0.89 -1.99,2L2,18c0,1.11 0.89,2 2,2h16c1.11,0 2,-0.89 2,-2L22,8c0,-1.11 -0.89,-2 -2,-2zM20,18L4,18L4,6h5.17l2,2L20,8v10zM12,14h2v2h2v-2h2v-2h-2v-2h-2v2h-2z" />
|
||||
</vector>
|
||||
@@ -25,7 +25,8 @@
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/background_card">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
@@ -42,4 +43,13 @@
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<io.legado.app.ui.widget.text.AccentBgTextView
|
||||
android:id="@+id/tv_ok"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:layout_margin="3dp"
|
||||
android:text="@string/ok"
|
||||
android:gravity="center" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,11 +1,13 @@
|
||||
<?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:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="5dp">
|
||||
android:orientation="horizontal"
|
||||
android:padding="5dp"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
tools:ignore="UseCompoundDrawables">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image_view"
|
||||
|
||||
@@ -1,22 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="5dp">
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image_view"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:padding="5dp"
|
||||
tools:ignore="UseCompoundDrawables,UselessParent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical" />
|
||||
<ImageView
|
||||
android:id="@+id/image_view"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/text_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -3,10 +3,9 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_ok"
|
||||
android:title="@string/ok"
|
||||
android:visible="false"
|
||||
android:id="@+id/menu_create"
|
||||
android:title="@string/create_folder"
|
||||
android:icon="@drawable/ic_create_folder_outline"
|
||||
app:showAsAction="always" />
|
||||
|
||||
|
||||
</menu>
|
||||
@@ -1089,4 +1089,5 @@
|
||||
<string name="refuse">拒绝</string>
|
||||
<string name="file_manage">文件管理</string>
|
||||
<string name="file_manage_summary">管理私有文件夹的文件</string>
|
||||
<string name="create_folder">创建文件夹</string>
|
||||
</resources>
|
||||
|
||||
@@ -1092,4 +1092,5 @@
|
||||
<string name="refuse">拒绝</string>
|
||||
<string name="file_manage">文件管理</string>
|
||||
<string name="file_manage_summary">管理私有文件夹的文件</string>
|
||||
<string name="create_folder">创建文件夹</string>
|
||||
</resources>
|
||||
|
||||
@@ -1092,4 +1092,5 @@
|
||||
<string name="refuse">拒绝</string>
|
||||
<string name="file_manage">文件管理</string>
|
||||
<string name="file_manage_summary">管理私有文件夹的文件</string>
|
||||
<string name="create_folder">创建文件夹</string>
|
||||
</resources>
|
||||
|
||||
@@ -1089,4 +1089,5 @@
|
||||
<string name="refuse">拒绝</string>
|
||||
<string name="file_manage">文件管理</string>
|
||||
<string name="file_manage_summary">管理私有文件夹的文件</string>
|
||||
<string name="create_folder">创建文件夹</string>
|
||||
</resources>
|
||||
|
||||
@@ -1091,4 +1091,5 @@
|
||||
<string name="refuse">拒绝</string>
|
||||
<string name="file_manage">文件管理</string>
|
||||
<string name="file_manage_summary">管理私有文件夹的文件</string>
|
||||
<string name="create_folder">创建文件夹</string>
|
||||
</resources>
|
||||
|
||||
@@ -1091,4 +1091,5 @@
|
||||
<string name="refuse">拒绝</string>
|
||||
<string name="file_manage">文件管理</string>
|
||||
<string name="file_manage_summary">管理私有文件夹的文件</string>
|
||||
<string name="create_folder">创建文件夹</string>
|
||||
</resources>
|
||||
|
||||
@@ -1092,4 +1092,5 @@
|
||||
<string name="refuse">拒绝</string>
|
||||
<string name="file_manage">文件管理</string>
|
||||
<string name="file_manage_summary">管理私有文件夹的文件</string>
|
||||
<string name="create_folder">创建文件夹</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user