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 3443d54 commit 5778ecb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 6 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 @@ -34,7 +34,8 @@
android:padding="8dp"
android:layout_weight="1"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_edit" />
android:src="@drawable/ic_edit"
android:contentDescription="@string/edit_source" />

<ImageView
android:id="@+id/iv_top_source"
Expand All @@ -44,7 +45,8 @@
android:padding="8dp"
android:layout_weight="1"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_top_source_black_24dp" />
android:src="@drawable/ic_top_source_black_24dp"
android:contentDescription="@string/top_source" />

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


Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +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>

</resources>

0 comments on commit 5778ecb

Please sign in to comment.