fix #197, make the crop image view transparent background darker
This commit is contained in:
parent
e58ab7111c
commit
785a8bf589
|
@ -1,15 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout
|
<com.theartofdev.edmodo.cropper.CropImageView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:id="@+id/coordinator_layout"
|
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"
|
||||||
|
app:cropBackgroundColor="@color/crop_image_view_background"
|
||||||
<com.theartofdev.edmodo.cropper.CropImageView
|
app:cropInitialCropWindowPaddingRatio="0"/>
|
||||||
android:id="@+id/crop_image_view"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
app:cropInitialCropWindowPaddingRatio="0"/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<color name="actionbar_menu_icon">#454545</color>
|
<color name="actionbar_menu_icon">#454545</color>
|
||||||
|
<color name="crop_image_view_background">#BB000000</color>
|
||||||
|
|
||||||
<!-- Default colors -->
|
<!-- Default colors -->
|
||||||
<color name="default_text_color">@color/default_text_color_dark_theme</color>
|
<color name="default_text_color">@color/default_text_color_dark_theme</color>
|
||||||
|
|
Loading…
Reference in New Issue