fix #940, ensure editor actions are visible on white background too

This commit is contained in:
tibbi 2018-09-05 13:49:20 +02:00
parent d0c612b3fe
commit 46b47896a5
3 changed files with 9 additions and 2 deletions

View file

@ -23,6 +23,13 @@
app:cropBackgroundColor="@color/crop_image_view_background"
app:cropInitialCropWindowPaddingRatio="0"/>
<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"
android:background="@drawable/gradient_background_lighter"/>
<include
android:id="@+id/bottom_aspect_ratios"
layout="@layout/bottom_actions_aspect_ratio"

View file

@ -5,8 +5,7 @@
android:id="@+id/bottom_editor_primary_actions_wrapper"
android:layout_width="match_parent"
android:layout_height="@dimen/bottom_actions_height"
android:layout_alignParentBottom="true"
android:background="@drawable/gradient_background_lighter">
android:layout_alignParentBottom="true">
<ImageView
android:id="@+id/bottom_primary_filter"

View file

@ -13,4 +13,5 @@
<dimen name="bottom_actions_height">64dp</dimen>
<dimen name="bottom_filters_thumbnail_size">76dp</dimen>
<dimen name="bottom_filters_height">90dp</dimen>
<dimen name="bottom_editor_actions_shadow_height">180dp</dimen>
</resources>