mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
fix #921, make the editor view positioning more dynamic
This commit is contained in:
parent
d590ac2dc2
commit
ee931a6def
1 changed files with 4 additions and 2 deletions
|
@ -10,13 +10,15 @@
|
||||||
android:id="@+id/default_image_view"
|
android:id="@+id/default_image_view"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginBottom="@dimen/bottom_filters_thumbnail_size"/>
|
android:layout_above="@+id/bottom_editor_crop_rotate_actions"
|
||||||
|
android:layout_marginBottom="@dimen/activity_margin"/>
|
||||||
|
|
||||||
<com.theartofdev.edmodo.cropper.CropImageView
|
<com.theartofdev.edmodo.cropper.CropImageView
|
||||||
android:id="@+id/crop_image_view"
|
android:id="@+id/crop_image_view"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginBottom="@dimen/bottom_filters_thumbnail_size"
|
android:layout_above="@+id/bottom_editor_crop_rotate_actions"
|
||||||
|
android:layout_marginBottom="@dimen/activity_margin"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:cropBackgroundColor="@color/crop_image_view_background"
|
app:cropBackgroundColor="@color/crop_image_view_background"
|
||||||
app:cropInitialCropWindowPaddingRatio="0"/>
|
app:cropInitialCropWindowPaddingRatio="0"/>
|
||||||
|
|
Loading…
Reference in a new issue