mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
47 lines
No EOL
1.6 KiB
XML
47 lines
No EOL
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="bottom"
|
|
android:fitsSystemWindows="true"
|
|
tools:context=".edit.EditActivity"
|
|
android:gravity="center"
|
|
android:layout_margin="2dp"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
/>
|
|
<LinearLayout
|
|
android:elevation="2dp"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:layout_gravity="bottom|center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="2dp">
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:drawablePadding="4dp"
|
|
android:drawableStart="@drawable/baseline_rotate_right"
|
|
android:id="@+id/rotate_btn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@android:color/white"
|
|
android:text="@string/rotate"/>
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:onClick="getRotatedImage"
|
|
android:drawablePadding="4dp"
|
|
android:drawableStart="@drawable/baseline_save_24"
|
|
android:id="@+id/btn_save"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/menu_save_categories"
|
|
android:textColor="@android:color/white" />
|
|
</LinearLayout>
|
|
</FrameLayout> |