mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Add button on image details to copy wikicode to clipboard (#1849)
* Add button on image details to copy wikicode to clipboard * Make copy wikicode button width the same as the nominate deletion button width by filling in background
This commit is contained in:
parent
e945d45558
commit
a059a3c2ef
3 changed files with 26 additions and 2 deletions
|
|
@ -312,6 +312,15 @@
|
|||
android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/copyWikicode"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/standard_gap"
|
||||
android:background="@color/button_blue"
|
||||
android:text="@string/copy_wikicode"
|
||||
android:textColor="@color/primaryTextColor" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/nominateDeletion"
|
||||
android:background="@drawable/bg_delete_button"
|
||||
|
|
@ -319,8 +328,7 @@
|
|||
android:layout_margin="@dimen/standard_gap"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/nominate_deletion"
|
||||
android:visibility="gone"/>
|
||||
android:text="@string/nominate_deletion"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
|
|
|||
|
|
@ -252,6 +252,8 @@
|
|||
<string name="skip_login_title">Do you really want to skip login?</string>
|
||||
<string name="skip_login_message">You will not be able to upload pictures.</string>
|
||||
<string name="login_alert_message">Please log in to use this feature</string>
|
||||
<string name="copy_wikicode">Copy Wikicode to clipboard</string>
|
||||
<string name="wikicode_copied">Wikicode copied to clipboard</string>
|
||||
|
||||
<string name="nearby_location_has_not_changed">Location has not changed.</string>
|
||||
<string name="nearby_location_not_available">Location not available.</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue