summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorLen Chan <lenchan139@tto.moe>2019-03-31 19:52:48 +0800
committerLen Chan <lenchan139@tto.moe>2019-03-31 19:52:48 +0800
commit1a04181f78339be419dbfdf5bd669a8bf548737b (patch)
tree8b6f07a1e510f36e49960dddd22b868cde58b362 /app/src/main/res/layout
parent3544b046808f95b29e27c42ed90c1b8f715ff2c8 (diff)
cleanup
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_media.xml31
1 files changed, 16 insertions, 15 deletions
diff --git a/app/src/main/res/layout/activity_media.xml b/app/src/main/res/layout/activity_media.xml
index 21cce790b..f0783d9cc 100644
--- a/app/src/main/res/layout/activity_media.xml
+++ b/app/src/main/res/layout/activity_media.xml
@@ -75,7 +75,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- Description is set dynamically -->
- <fr.gouv.etalab.mastodon.helper.CustomPhotoView
+ <com.github.chrisbanes.photoview.PhotoView
android:visibility="gone"
android:id="@+id/media_picture"
android:layout_width="match_parent"
@@ -138,34 +138,35 @@
android:orientation="horizontal">
<ImageButton
- android:id="@+id/media_share"
- app:layout_anchorGravity="top|left"
- android:layout_marginStart="10dp"
+ android:id="@+id/media_save"
+ android:scaleType="fitXY"
+ android:layout_marginStart="20dp"
android:background="@color/transparent"
- android:layout_marginLeft="10dp"
+ android:layout_marginLeft="20dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_width="30dp"
android:layout_height="30dp"
- android:src="@drawable/ic_share_media"
- android:scaleType="fitXY"
- android:contentDescription="@string/share"
+ android:src="@drawable/ic_save_white"
+ android:contentDescription="@string/download"
/>
<ImageButton
- android:id="@+id/media_save"
- android:scaleType="fitXY"
- android:layout_marginStart="20dp"
+ android:id="@+id/media_share"
+ app:layout_anchorGravity="top|left"
+ android:layout_marginStart="10dp"
android:background="@color/transparent"
- android:layout_marginLeft="20dp"
+ android:layout_marginLeft="10dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_marginRight="15dp"
+ android:layout_marginEnd="10dp"
android:layout_width="30dp"
android:layout_height="30dp"
- android:src="@drawable/ic_save_white"
- android:contentDescription="@string/download"
- android:layout_marginEnd="10dp" />
+ android:src="@drawable/ic_share_media"
+ android:scaleType="fitXY"
+ android:contentDescription="@string/share"
+ />
</LinearLayout>
</RelativeLayout>