fix: 优化代码

This commit is contained in:
Yaoliang
2024-07-10 09:28:10 +08:00
parent 6d0a8699ce
commit d69fb0d723
25 changed files with 66 additions and 62 deletions
@@ -4,7 +4,6 @@
android:id="@+id/ll_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:gravity="center"
android:padding="20dp"
android:orientation="vertical">
@@ -12,7 +11,6 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/background"
android:gravity="center"
android:orientation="horizontal"
android:padding="16dp">
@@ -59,7 +57,6 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="65dp"
android:background="@color/background"
android:orientation="horizontal"
android:padding="16dp"
android:gravity="start|center_vertical">
@@ -116,20 +113,11 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="2dp"
android:text="@string/start"
android:text="@string/start_chapter"
android:textColor="@color/primaryText"
android:textSize="16sp"
tools:ignore="RtlHardcoded" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="5dp"
android:text="@string/chapter"
android:textColor="@color/primaryText"
android:textSize="16sp"
tools:ignore="RtlHardcoded" />
</LinearLayout>
<EditText
+5 -5
View File
@@ -49,11 +49,6 @@
android:title="@string/bookmark_add"
app:showAsAction="never" />
<item
android:id="@+id/menu_simulated_reading"
android:title="@string/simulated_reading"
app:showAsAction="never" />
<item
android:id="@+id/menu_edit_content"
android:title="@string/edit_content"
@@ -75,6 +70,11 @@
android:title="@string/reverse_content"
app:showAsAction="never" />
<item
android:id="@+id/menu_simulated_reading"
android:title="@string/simulated_reading"
app:showAsAction="never" />
<item
android:id="@+id/menu_enable_replace"
android:checkable="true"
@@ -1152,4 +1152,5 @@
<string name="switch_on">Enc/Apag</string>
<string name="start_from">Comenzar</string>
<string name="daily_chapters">Cap. al día</string>
<string name="start_chapter">Cap. inicio</string>
</resources>
@@ -1155,4 +1155,5 @@
<string name="switch_on">スイッチ</string>
<string name="start_from">開始日</string>
<string name="daily_chapters">日更の章数</string>
<string name="start_chapter">開始の章</string>
</resources>
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="start_chapter">Start Chapter</string>
</resources>
@@ -1155,4 +1155,5 @@
<string name="switch_on">Lig/Desl</string>
<string name="start_from">Começar</string>
<string name="daily_chapters">Cap. por dia</string>
<string name="start_chapter">Início</string>
</resources>
+1
View File
@@ -1151,4 +1151,5 @@ Còn </string>
<string name="switch_on">Bật</string>
<string name="start_from">Bắt đầu</string>
<string name="daily_chapters">Chương/ngày</string>
<string name="start_chapter">Chương đầu</string>
</resources>
@@ -1152,4 +1152,5 @@
<string name="switch_on">開關</string>
<string name="start_from">起始日期</string>
<string name="daily_chapters">日更章數</string>
<string name="start_chapter">開始篇章</string>
</resources>
@@ -1154,4 +1154,5 @@
<string name="switch_on">開關</string>
<string name="start_from">起始日期</string>
<string name="daily_chapters">日更章數</string>
<string name="start_chapter">開始篇章</string>
</resources>
+1
View File
@@ -1154,4 +1154,5 @@
<string name="switch_on">开关</string>
<string name="start_from">开始日期</string>
<string name="daily_chapters">日更章数</string>
<string name="start_chapter">起始章节</string>
</resources>
+1
View File
@@ -1155,4 +1155,5 @@
<string name="switch_on">Switch</string>
<string name="start_from">Start from</string>
<string name="daily_chapters">Daily Chapters</string>
<string name="start_chapter">Start Chapter</string>
</resources>