mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
With option for associating image with wikipedia article (#3783)
This commit is contained in:
parent
a4379fde02
commit
e4190f3f7d
28 changed files with 979 additions and 479 deletions
|
|
@ -74,14 +74,16 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/failed_image_options"
|
||||
<RelativeLayout
|
||||
android:id="@+id/image_options"
|
||||
android:layout_width="@dimen/dimen_0"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="2"
|
||||
android:visibility="gone"
|
||||
android:padding="@dimen/small_gap"
|
||||
android:layout_weight="2.6"
|
||||
android:visibility="visible"
|
||||
android:layout_gravity="right"
|
||||
android:gravity="right"
|
||||
android:padding="@dimen/tiny_gap"
|
||||
>
|
||||
|
||||
<ImageButton
|
||||
|
|
@ -92,7 +94,8 @@
|
|||
android:text="@string/menu_cancel_upload"
|
||||
android:background="@android:color/transparent"
|
||||
android:padding="@dimen/activity_margin_horizontal"
|
||||
android:layout_marginRight="@dimen/tiny_padding"
|
||||
android:layout_toStartOf="@id/retryButton"
|
||||
android:layout_marginEnd="@dimen/tiny_padding"
|
||||
/>
|
||||
|
||||
<ImageButton
|
||||
|
|
@ -103,9 +106,24 @@
|
|||
android:text="@string/menu_retry_upload"
|
||||
android:background="@android:color/transparent"
|
||||
android:padding="@dimen/activity_margin_horizontal"
|
||||
android:layout_toStartOf="@id/wikipediaButton"
|
||||
android:layout_marginEnd="@dimen/tiny_padding"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
<ImageButton
|
||||
android:id="@+id/wikipediaButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_wikipedia"
|
||||
android:text="@string/menu_cancel_upload"
|
||||
android:background="@android:color/transparent"
|
||||
android:visibility="visible"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:padding="@dimen/activity_margin_horizontal"
|
||||
android:layout_marginEnd="@dimen/tiny_padding"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue