move the video brightness/volume change message above other controls

This commit is contained in:
tibbi 2019-01-29 16:05:34 +01:00
parent 9077a9d6b2
commit b3a615b763
2 changed files with 28 additions and 28 deletions

View file

@ -37,6 +37,17 @@
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"/>
<TextView
android:id="@+id/video_bottom_gradient"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignTop="@+id/video_time_holder"
android:layout_alignParentBottom="true"
android:background="@drawable/gradient_background"
tools:ignore="UnknownIdInLayout"/>
<include layout="@layout/bottom_video_time_holder"/>
<TextView <TextView
android:id="@+id/slide_info" android:id="@+id/slide_info"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -54,15 +65,4 @@
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="@dimen/extra_big_text_size"/> android:textSize="@dimen/extra_big_text_size"/>
<TextView
android:id="@+id/video_bottom_gradient"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignTop="@+id/video_time_holder"
android:layout_alignParentBottom="true"
android:background="@drawable/gradient_background"
tools:ignore="UnknownIdInLayout"/>
<include layout="@layout/bottom_video_time_holder"/>
</RelativeLayout> </RelativeLayout>

View file

@ -56,23 +56,6 @@
android:padding="20dp" android:padding="20dp"
android:src="@drawable/ic_play_outline"/> android:src="@drawable/ic_play_outline"/>
<TextView
android:id="@+id/slide_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="120dp"
android:alpha="0"
android:background="@drawable/black_rounded_background"
android:gravity="center"
android:paddingLeft="@dimen/activity_margin"
android:paddingTop="@dimen/medium_margin"
android:paddingRight="@dimen/activity_margin"
android:paddingBottom="@dimen/medium_margin"
android:textColor="@android:color/white"
android:textSize="@dimen/extra_big_text_size"/>
<ImageView <ImageView
android:id="@+id/panorama_outline" android:id="@+id/panorama_outline"
android:layout_width="@dimen/play_outline_size_big" android:layout_width="@dimen/play_outline_size_big"
@ -98,4 +81,21 @@
<include layout="@layout/bottom_video_time_holder"/> <include layout="@layout/bottom_video_time_holder"/>
<TextView
android:id="@+id/slide_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="120dp"
android:alpha="0"
android:background="@drawable/black_rounded_background"
android:gravity="center"
android:paddingLeft="@dimen/activity_margin"
android:paddingTop="@dimen/medium_margin"
android:paddingRight="@dimen/activity_margin"
android:paddingBottom="@dimen/medium_margin"
android:textColor="@android:color/white"
android:textSize="@dimen/extra_big_text_size"/>
</RelativeLayout> </RelativeLayout>