Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Nov 4, 2018
1 parent 19572fd commit 8fefef7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions app/src/main/res/drawable/ic_translate_black_24dp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M12.87,15.07l-2.54,-2.51 0.03,-0.03c1.74,-1.94 2.98,-4.17 3.71,-6.53L17,6L17,4h-7L10,2L8,2v2L1,4v1.99h11.17C11.5,7.92 10.44,9.75 9,11.35 8.07,10.32 7.3,9.19 6.69,8h-2c0.73,1.63 1.73,3.17 2.98,4.56l-5.09,5.02L4,19l5,-5 3.11,3.11 0.76,-2.04zM18.5,10h-2L12,22h2l1.12,-3h4.75L21,22h2l-4.5,-12zM15.88,17l1.62,-4.33L19.12,17h-3.24z"/>
</vector>
8 changes: 7 additions & 1 deletion app/src/main/res/menu/menu_book_read_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,17 @@
android:title="@string/copy_text"
app:showAsAction="ifRoom" />

<item
android:id="@+id/action_set_charset"
android:icon="@drawable/ic_translate_black_24dp"
android:title="@string/set_charset"
app:showAsAction="never" />

<item
android:id="@+id/update_chapter_list"
android:icon="@drawable/ic_update_black_24dp"
android:title="@string/update_chapter"
app:showAsAction="ifRoom" />
app:showAsAction="never" />

<item
android:id="@+id/action_book_info"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -266,5 +266,6 @@
<string name="ps_show_all_find">关闭则只显示勾选源的发现</string>
<string name="update_chapter">更新目录</string>
<string name="txt_chapter_regex">目录正则</string>
<string name="set_charset">设置编码</string>

</resources>

0 comments on commit 8fefef7

Please sign in to comment.