fix #197, make the crop image view transparent background darker

This commit is contained in:
tibbi 2017-03-22 22:55:20 +01:00
parent e58ab7111c
commit 785a8bf589
2 changed files with 6 additions and 11 deletions

View file

@ -1,15 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
<com.theartofdev.edmodo.cropper.CropImageView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/coordinator_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.theartofdev.edmodo.cropper.CropImageView
android:id="@+id/crop_image_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:cropBackgroundColor="@color/crop_image_view_background"
app:cropInitialCropWindowPaddingRatio="0"/>
</RelativeLayout>

View file

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="actionbar_menu_icon">#454545</color>
<color name="crop_image_view_background">#BB000000</color>
<!-- Default colors -->
<color name="default_text_color">@color/default_text_color_dark_theme</color>