scale button of MediaActivity
This commit is contained in:
parent
27373b2467
commit
31d74269df
|
@ -103,46 +103,57 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:visibility="gone"
|
||||
android:layout_margin="5dp"
|
||||
android:src="@drawable/ic_first_page"
|
||||
android:id="@+id/media_prev"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:contentDescription="@string/previous" />
|
||||
<ImageView
|
||||
android:visibility="gone"
|
||||
android:layout_margin="5dp"
|
||||
android:id="@+id/media_next"
|
||||
android:src="@drawable/ic_last_page"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:contentDescription="@string/previous"
|
||||
android:src="@drawable/ic_first_page"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_next"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:contentDescription="@string/next" />
|
||||
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:contentDescription="@string/next"
|
||||
android:src="@drawable/ic_last_page"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/media_close"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_alignParentStart="true"
|
||||
app:layout_anchorGravity="top|left"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_marginStart="10dp"
|
||||
android:background="@color/transparent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_close"
|
||||
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" />
|
||||
|
||||
|
||||
|
||||
|
@ -161,24 +172,27 @@
|
|||
android:layout_marginStart="10dp"
|
||||
android:background="@color/transparent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="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="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
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>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue