diff options
-rw-r--r-- | app/src/main/res/layout/activity_media.xml | 104 |
1 files changed, 55 insertions, 49 deletions
diff --git a/app/src/main/res/layout/activity_media.xml b/app/src/main/res/layout/activity_media.xml index c500bd78c..d546e6341 100644 --- a/app/src/main/res/layout/activity_media.xml +++ b/app/src/main/res/layout/activity_media.xml @@ -138,63 +138,69 @@ android:src="@drawable/ic_last_page" android:visibility="gone" /> - - <ImageButton - android:id="@+id/media_close" - android:layout_width="35dp" - android:layout_height="35dp" - android:layout_alignParentStart="true" - android:layout_alignParentLeft="true" - android:layout_alignParentTop="true" - android:layout_marginStart="10dp" - android:layout_marginLeft="10dp" - android:layout_marginTop="8dp" - android:background="@color/transparent" - android:contentDescription="@string/close" - android:scaleType="fitXY" - android:src="@drawable/ic_close" - app:layout_anchorGravity="top|left" /> - - - - <LinearLayout - android:layout_alignParentTop="true" - android:layout_alignParentRight="true" - android:layout_alignParentEnd="true" - app:layout_anchorGravity="top|left" - android:layout_width="wrap_content" + <RelativeLayout + android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="horizontal"> - + android:background="@color/transparent_grey"> <ImageButton - android:id="@+id/media_share" - app:layout_anchorGravity="top|left" + android:id="@+id/media_close" + android:layout_width="35dp" + android:layout_height="35dp" + android:layout_alignParentStart="true" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" android:layout_marginStart="10dp" - android:background="@color/transparent" android:layout_marginLeft="10dp" android:layout_marginTop="8dp" - android:layout_width="30dp" - android:layout_height="30dp" - android:src="@drawable/ic_share_media" + android:layout_marginBottom="8dp" + android:background="@color/transparent" + android:contentDescription="@string/close" android:scaleType="fitXY" - android:contentDescription="@string/share" - /> + android:src="@drawable/ic_close" + app:layout_anchorGravity="top|left" /> + - <ImageButton - android:id="@+id/media_save" - android:scaleType="fitXY" - android:layout_marginStart="20dp" - android:background="@color/transparent" - android:layout_marginLeft="20dp" - android:layout_marginTop="8dp" - android:layout_marginRight="15dp" - android:layout_width="30dp" - android:layout_height="30dp" - android:src="@drawable/ic_save_white" - android:contentDescription="@string/download" - android:layout_marginEnd="10dp" /> - </LinearLayout> + <LinearLayout + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" + app:layout_anchorGravity="top|left" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <ImageButton + android:id="@+id/media_share" + app:layout_anchorGravity="top|left" + android:layout_marginStart="10dp" + android:background="@color/transparent" + android:layout_marginLeft="10dp" + 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" + /> + + <ImageButton + android:id="@+id/media_save" + android:scaleType="fitXY" + android:layout_marginStart="20dp" + android:background="@color/transparent" + android:layout_marginLeft="20dp" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" + android:layout_marginRight="15dp" + android:layout_width="30dp" + android:layout_height="30dp" + android:src="@drawable/ic_save_white" + android:contentDescription="@string/download" + android:layout_marginEnd="10dp" /> + </LinearLayout> + </RelativeLayout> <TextView |