2018-07-18 19:33:41 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-07-23 21:39:50 +02:00
|
|
|
android:id="@+id/activity_edit_holder"
|
2018-07-18 19:33:41 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2018-07-22 21:13:04 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/default_image_view"
|
|
|
|
android:layout_width="match_parent"
|
2018-07-23 23:35:20 +02:00
|
|
|
android:layout_height="match_parent"
|
2018-08-20 21:39:38 +02:00
|
|
|
android:layout_above="@+id/bottom_editor_crop_rotate_actions"
|
2019-01-13 13:18:47 +01:00
|
|
|
android:layout_marginBottom="@dimen/bottom_filters_height_with_margin"/>
|
2018-07-22 21:13:04 +02:00
|
|
|
|
2018-07-18 19:33:41 +02:00
|
|
|
<com.theartofdev.edmodo.cropper.CropImageView
|
|
|
|
android:id="@+id/crop_image_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-01-14 16:10:05 +01:00
|
|
|
android:layout_marginBottom="@dimen/bottom_actions_height_bigger"
|
2018-07-22 21:13:04 +02:00
|
|
|
android:visibility="gone"
|
2018-07-18 19:33:41 +02:00
|
|
|
app:cropBackgroundColor="@color/crop_image_view_background"
|
|
|
|
app:cropInitialCropWindowPaddingRatio="0"/>
|
|
|
|
|
2019-01-12 17:34:00 +01:00
|
|
|
<com.simplemobiletools.gallery.pro.views.EditorDrawCanvas
|
|
|
|
android:id="@+id/editor_draw_canvas"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-01-14 16:10:05 +01:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginBottom="@dimen/bottom_actions_height_double"
|
2019-01-12 17:34:00 +01:00
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2018-09-05 13:49:20 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/bottom_editor_actions_background"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/bottom_editor_actions_shadow_height"
|
|
|
|
android:layout_alignParentBottom="true"
|
2018-10-02 15:04:55 +02:00
|
|
|
android:background="@drawable/gradient_background"/>
|
2018-09-05 13:49:20 +02:00
|
|
|
|
2018-07-18 22:13:05 +02:00
|
|
|
<include
|
|
|
|
android:id="@+id/bottom_aspect_ratios"
|
|
|
|
layout="@layout/bottom_actions_aspect_ratio"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-07-19 21:15:54 +02:00
|
|
|
android:layout_above="@+id/bottom_editor_crop_rotate_actions"
|
2018-07-18 22:13:05 +02:00
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2018-07-18 19:33:41 +02:00
|
|
|
<include
|
2018-07-19 21:15:54 +02:00
|
|
|
android:id="@+id/bottom_editor_filter_actions"
|
|
|
|
layout="@layout/bottom_editor_actions_filter"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_above="@+id/bottom_editor_primary_actions"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/bottom_editor_crop_rotate_actions"
|
2018-07-19 20:12:03 +02:00
|
|
|
layout="@layout/bottom_editor_crop_rotate_actions"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_above="@+id/bottom_editor_primary_actions"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2019-01-12 22:48:15 +01:00
|
|
|
<include
|
|
|
|
android:id="@+id/bottom_editor_draw_actions"
|
|
|
|
layout="@layout/bottom_editor_draw_actions"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_above="@+id/bottom_editor_primary_actions"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2018-07-19 20:12:03 +02:00
|
|
|
<include
|
|
|
|
android:id="@+id/bottom_editor_primary_actions"
|
|
|
|
layout="@layout/bottom_editor_primary_actions"/>
|
2018-07-18 19:33:41 +02:00
|
|
|
|
|
|
|
</RelativeLayout>
|