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:
albendz 2018-08-27 02:13:50 -07:00 committed by Josephine Lim
parent e945d45558
commit a059a3c2ef
3 changed files with 26 additions and 2 deletions

View file

@ -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>