mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
* Add a "copy link" button next to the share button. Add relative English and Simplified Chinese text in strings.xml. * Change the icon from copy to link * Fixed typo * Fixed case --------- Co-authored-by: Justweng <justweng19@gmail.com> Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
This commit is contained in:
parent
235e8cdba2
commit
f2d1f7dbbb
5 changed files with 29 additions and 0 deletions
7
app/src/main/res/drawable/menu_ic_copy_link_24dp.xml
Normal file
7
app/src/main/res/drawable/menu_ic_copy_link_24dp.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:viewportHeight="24"
|
||||
android:viewportWidth="24"
|
||||
android:width="24dp" >
|
||||
<path android:fillColor="?attr/notification_icon_text_color" android:pathData="M3.9,12c0,-1.71 1.39,-3.1 3.1,-3.1h4L11,7L7,7c-2.76,0 -5,2.24 -5,5s2.24,5 5,5h4v-1.9L7,15.1c-1.71,0 -3.1,-1.39 -3.1,-3.1zM8,13h8v-2L8,11v2zM17,7h-4v1.9h4c1.71,0 3.1,1.39 3.1,3.1s-1.39,3.1 -3.1,3.1h-4L13,17h4c2.76,0 5,-2.24 5,-5s-2.24,-5 -5,-5z"/>
|
||||
</vector>
|
||||
|
|
@ -7,6 +7,11 @@
|
|||
android:icon="@drawable/menu_ic_round_star_border_24px"
|
||||
android:title="@string/menu_bookmark"
|
||||
app:showAsAction="always" />
|
||||
<item
|
||||
android:id="@+id/menu_copy_link"
|
||||
android:icon="@drawable/menu_ic_copy_link_24dp"
|
||||
android:title="@string/menu_copy_link"
|
||||
app:showAsAction="always" />
|
||||
<item
|
||||
android:id="@+id/menu_share_current_image"
|
||||
android:icon="@drawable/menu_ic_share_24dp"
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@
|
|||
<string name="menu_from_gallery">从图库</string>
|
||||
<string name="menu_from_camera">拍照</string>
|
||||
<string name="provider_contributions">我的上传</string>
|
||||
<string name="menu_copy_link">复制链接</string>
|
||||
<string name="menu_link_copied">链接已复制到剪贴板</string>
|
||||
<string name="menu_share">分享</string>
|
||||
<string name="menu_open_in_browser">在浏览器中查看</string>
|
||||
<string name="share_title_hint">标题</string>
|
||||
|
|
|
|||
|
|
@ -99,6 +99,8 @@
|
|||
<string name="menu_from_camera">Take photo</string>
|
||||
<string name="menu_nearby">Nearby</string>
|
||||
<string name="provider_contributions">My uploads</string>
|
||||
<string name="menu_copy_link">Copy link</string>
|
||||
<string name="menu_link_copied">The link has been copied to the clipboard</string>
|
||||
<string name="menu_share">Share</string>
|
||||
<string name="menu_view_file_page">View file page</string>
|
||||
<string name="share_title_hint">Caption (Required)</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue