moving the video player activity top shadow above the surface view

This commit is contained in:
tibbi 2019-02-07 16:33:37 +01:00
parent 99facd2e99
commit 9641870751
2 changed files with 7 additions and 7 deletions

View file

@ -61,7 +61,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.7.5' implementation 'com.simplemobiletools:commons:5.7.6'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.multidex:multidex:2.0.1'
implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1'

View file

@ -6,12 +6,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<ImageView
android:id="@+id/top_shadow"
android:layout_width="match_parent"
android:layout_height="@dimen/default_status_action_height"
android:background="@drawable/gradient_background_flipped"/>
<com.alexvasilkov.gestures.GestureFrameLayout <com.alexvasilkov.gestures.GestureFrameLayout
android:id="@+id/video_surface_frame" android:id="@+id/video_surface_frame"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -37,6 +31,12 @@
android:layout_width="@dimen/media_side_slider_width" android:layout_width="@dimen/media_side_slider_width"
android:layout_height="match_parent"/> android:layout_height="match_parent"/>
<ImageView
android:id="@+id/top_shadow"
android:layout_width="match_parent"
android:layout_height="@dimen/default_status_action_height"
android:background="@drawable/gradient_background_flipped"/>
<TextView <TextView
android:id="@+id/video_bottom_gradient" android:id="@+id/video_bottom_gradient"
android:layout_width="match_parent" android:layout_width="match_parent"