Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Aug 27, 2018
1 parent 5778ecb commit da943e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/src/main/res/layout/adapter_book_source_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
android:layout_weight="1"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_edit"
android:contentDescription="@string/edit_source" />
android:contentDescription="@string/edit" />

<ImageView
android:id="@+id/iv_top_source"
Expand All @@ -46,7 +46,7 @@
android:layout_weight="1"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_top_source_black_24dp"
android:contentDescription="@string/top_source" />
android:contentDescription="@string/to_top" />

<ImageView
android:id="@+id/iv_del_source"
Expand All @@ -57,7 +57,7 @@
android:layout_weight="1"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_clear_all"
android:contentDescription="@string/del_source" />
android:contentDescription="@string/delete" />
</LinearLayout>


Expand Down
6 changes: 4 additions & 2 deletions app/src/main/res/layout/adapter_replace_rule_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
android:layout_gravity="center"
android:padding="8dp"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_edit" />
android:src="@drawable/ic_edit"
android:contentDescription="@string/edit" />

<ImageView
android:id="@+id/iv_del"
Expand All @@ -37,7 +38,8 @@
android:layout_gravity="center"
android:padding="8dp"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_clear_all" />
android:src="@drawable/ic_clear_all"
android:contentDescription="@string/delete" />
</LinearLayout>

<View
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@
<string name="text_size">字号</string>
<string name="line_size">行距</string>
<string name="paragraph_size">段距</string>
<string name="edit_source">编辑书源</string>
<string name="top_source">置顶书源</string>
<string name="del_source">删除书源</string>
<string name="edit">编辑</string>
<string name="delete">删除</string>
<string name="to_top">置顶</string>

</resources>

0 comments on commit da943e0

Please sign in to comment.