aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/item_application.xml20
-rw-r--r--app/src/main/res/layout/item_application_select.xml20
-rw-r--r--app/src/main/res/values-zh-rCN/strings.xml1
-rw-r--r--app/src/main/res/values/strings.xml1
4 files changed, 34 insertions, 8 deletions
diff --git a/app/src/main/res/layout/item_application.xml b/app/src/main/res/layout/item_application.xml
index 7ab17dc..3cceb66 100644
--- a/app/src/main/res/layout/item_application.xml
+++ b/app/src/main/res/layout/item_application.xml
@@ -4,11 +4,11 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
- android:layout_height="56dp">
+ android:layout_height="72dp">
<ImageView
android:id="@android:id/icon"
- android:layout_width="48dp"
- android:layout_height="48dp"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginTop="8dp"
@@ -23,9 +23,21 @@
android:layout_height="wrap_content"
app:layout_constraintStart_toEndOf="@android:id/icon"
android:layout_marginStart="16dp"
+ android:firstBaselineToTopHeight="32dp"
app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
android:textSize="16sp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2"
tools:text="App"/>
+
+ <TextView
+ android:id="@android:id/summary"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:layout_constraintStart_toEndOf="@android:id/icon"
+ android:layout_marginStart="16dp"
+ android:firstBaselineToTopHeight="20dp"
+ app:layout_constraintTop_toBottomOf="@android:id/title"
+ android:textSize="12sp"
+ android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2"
+ tools:text="App"/>
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_application_select.xml b/app/src/main/res/layout/item_application_select.xml
index c5068d4..c82ed84 100644
--- a/app/src/main/res/layout/item_application_select.xml
+++ b/app/src/main/res/layout/item_application_select.xml
@@ -4,11 +4,11 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
- android:layout_height="56dp">
+ android:layout_height="72dp">
<ImageView
android:id="@android:id/icon"
- android:layout_width="48dp"
- android:layout_height="48dp"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginTop="8dp"
@@ -23,12 +23,24 @@
android:layout_height="wrap_content"
app:layout_constraintStart_toEndOf="@android:id/icon"
android:layout_marginStart="16dp"
+ android:firstBaselineToTopHeight="32dp"
app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
android:textSize="16sp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2"
tools:text="App"/>
+ <TextView
+ android:id="@android:id/summary"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:layout_constraintStart_toEndOf="@android:id/icon"
+ android:layout_marginStart="16dp"
+ android:firstBaselineToTopHeight="20dp"
+ app:layout_constraintTop_toBottomOf="@android:id/title"
+ android:textSize="12sp"
+ android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2"
+ tools:text="App"/>
+
<CheckBox
android:id="@android:id/checkbox"
android:layout_width="wrap_content"
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index b2fb28d..b8959aa 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -30,4 +30,5 @@
<string name="about_icon_copyright"><![CDATA[
图标由 <a href="https://weibo.com/528556720">小雅</a> 设计
]]></string>
+ <string name="app_list_user_template">用户 %d</string>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 8f7ca34..af3dd46 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -29,6 +29,7 @@
<string name="about_icon_copyright"><![CDATA[
The icon is designed by <a href="https://twitter.com/xiaoya_er">小雅</a>
]]></string>
+ <string name="app_list_user_template">User %d</string>
<!-- #Anti-Crack -->
<string name="sys_id" translatable="false">Y29tLmFuZHJvaWQudmVuZGluZw==</string>