2021-08-04 01:50:24 +00:00
|
|
|
<FrameLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/player_holder"
|
|
|
|
android:screenOrientation="landscape"
|
|
|
|
tools:orientation="vertical"
|
2021-05-23 12:10:39 +00:00
|
|
|
>
|
2021-08-14 20:28:04 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/subtitle_holder"
|
2021-08-04 01:50:24 +00:00
|
|
|
android:layout_width="match_parent"
|
2021-08-14 20:28:04 +00:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/shadow_overlay"
|
|
|
|
android:background="@color/black_overlay"
|
|
|
|
/>
|
|
|
|
</FrameLayout>
|
|
|
|
|
2021-05-24 11:52:44 +00:00
|
|
|
<!--
|
|
|
|
<LinearLayout android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="end"
|
|
|
|
android:id="@+id/video_lock_holder"
|
|
|
|
>
|
2021-05-23 12:10:39 +00:00
|
|
|
|
2021-05-24 11:52:44 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:ignore="UselessParent">
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_margin="20dp"
|
|
|
|
android:id="@+id/video_locked_img"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:src="@drawable/video_locked">
|
|
|
|
</ImageView>
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/video_lock"
|
|
|
|
android:layout_width="70dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:background="@drawable/video_tap_button_always_white">
|
|
|
|
</ImageView>
|
2021-05-23 12:10:39 +00:00
|
|
|
|
2021-05-24 11:52:44 +00:00
|
|
|
</FrameLayout>
|
2021-05-23 12:10:39 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
2021-05-24 11:52:44 +00:00
|
|
|
-->
|
2021-05-23 12:10:39 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="200dp"
|
|
|
|
android:id="@+id/timeMenu"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/topMenuRight"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/centerMenu"
|
|
|
|
>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/timeTextLeft"
|
|
|
|
android:gravity="center|start"
|
|
|
|
android:textSize="40sp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:layout_marginStart="100dp"
|
|
|
|
android:shadowColor="@android:color/black"
|
|
|
|
android:shadowRadius="10.0"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
>
|
|
|
|
|
|
|
|
</TextView>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/timeText"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="30sp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:shadowColor="@android:color/black"
|
|
|
|
android:shadowRadius="10.0"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
>
|
|
|
|
|
|
|
|
</TextView>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/timeTextRight"
|
|
|
|
android:gravity="center|end"
|
|
|
|
android:layout_marginEnd="100dp"
|
|
|
|
android:textSize="40sp"
|
|
|
|
android:shadowColor="@android:color/black"
|
|
|
|
android:shadowRadius="10.0"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
>
|
|
|
|
</TextView>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/video_holder"
|
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/player_top_holder"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_width="match_parent"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
<TextView
|
|
|
|
android:layout_marginStart="80dp"
|
|
|
|
android:layout_marginEnd="80dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_marginTop="35dp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:id="@+id/video_title"
|
|
|
|
tools:text="Hello world"
|
|
|
|
>
|
|
|
|
</TextView>
|
|
|
|
<TextView
|
|
|
|
android:layout_marginStart="80dp"
|
|
|
|
android:layout_marginEnd="80dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:id="@+id/video_title_rez"
|
|
|
|
tools:text="1920x1080"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/video_title">
|
|
|
|
</TextView>
|
|
|
|
<!--
|
|
|
|
<LinearLayout
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
android:gravity="end"
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
android:paddingEnd="60dp"
|
|
|
|
android:paddingStart="60dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/topMenuRight"
|
|
|
|
>
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/next_episode_btt"
|
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="150dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_margin="15dp"
|
|
|
|
card_view:cardCornerRadius="2dp"
|
|
|
|
android:foreground="@drawable/outline_card"
|
|
|
|
card_view:cardBackgroundColor="@color/black_overlay"
|
|
|
|
card_view:cardElevation="0dp"
|
|
|
|
>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:text="@string/next_episode"
|
|
|
|
android:gravity="start|center"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
>
|
|
|
|
</TextView>
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/exo_controls_next"
|
|
|
|
android:layout_gravity="right|center"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
</ImageView>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout>-->
|
2021-05-23 12:10:39 +00:00
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
|
|
|
|
<androidx.mediarouter.app.MediaRouteButton
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:id="@+id/player_media_route_button"
|
|
|
|
android:layout_width="70dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:mediaRouteTypes="user"
|
|
|
|
android:visibility="visible"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
/>
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/video_go_back_holder2"
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-23 12:10:39 +00:00
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_gravity="center"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:src="@drawable/ic_baseline_arrow_back_24"
|
|
|
|
app:tint="@android:color/white"
|
2021-05-23 12:10:39 +00:00
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
</ImageView>
|
2021-05-23 12:10:39 +00:00
|
|
|
<ImageView
|
2021-09-03 22:46:29 +00:00
|
|
|
android:id="@+id/video_go_back"
|
|
|
|
android:layout_width="70dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:background="@drawable/video_tap_button_always_white">
|
2021-05-23 12:10:39 +00:00
|
|
|
</ImageView>
|
2021-09-03 22:46:29 +00:00
|
|
|
</FrameLayout>
|
2021-05-23 12:10:39 +00:00
|
|
|
</FrameLayout>
|
2021-06-10 18:21:42 +00:00
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2021-05-23 12:10:39 +00:00
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="100dp"
|
|
|
|
android:gravity="center"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:id="@+id/centerMenu"
|
|
|
|
>
|
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
<FrameLayout
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="@id/player_pause_holder"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
android:id="@+id/player_rew_holder"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical|start"
|
|
|
|
android:layout_height="wrap_content">
|
2021-05-23 12:10:39 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/exo_rew_text"
|
|
|
|
android:textColor="@color/white"
|
2021-09-02 15:17:02 +00:00
|
|
|
tools:text="10"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:textSize="19sp"
|
|
|
|
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_gravity="center"
|
2021-05-24 11:52:44 +00:00
|
|
|
android:textStyle="bold"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:gravity="center"
|
2021-05-24 08:51:16 +00:00
|
|
|
|
2021-05-24 11:52:44 +00:00
|
|
|
android:layout_width="200dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_height="40dp">
|
|
|
|
</TextView>
|
|
|
|
<ImageButton
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusUp="@id/video_go_back"
|
|
|
|
android:nextFocusDown="@id/lock_player"
|
|
|
|
android:nextFocusLeft="@id/exo_rew"
|
|
|
|
|
2021-05-24 11:52:44 +00:00
|
|
|
android:paddingLeft="100dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:id="@id/exo_rew"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:layout_height="70dp"
|
|
|
|
android:layout_width="70dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:padding="10dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:background="@drawable/video_tap_button_skip"
|
|
|
|
android:src="@drawable/netflix_skip_back"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:tintMode="src_in"
|
|
|
|
/>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<!-- style="@style/ExoMediaButton.Play"
|
|
|
|
android:background="?android:selectableItemBackgroundBorderless"
|
|
|
|
-->
|
2021-09-03 22:46:29 +00:00
|
|
|
<FrameLayout
|
|
|
|
app:layout_constraintLeft_toLeftOf="@id/player_rew_holder"
|
|
|
|
app:layout_constraintRight_toRightOf="@id/player_ffwd_holder"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_gravity="center"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:id="@+id/player_pause_holder"
|
2021-05-23 12:10:39 +00:00
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="100dp">
|
|
|
|
<ImageButton
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusUp="@id/video_go_back"
|
|
|
|
android:nextFocusDown="@id/lock_player"
|
|
|
|
android:nextFocusLeft="@id/exo_rew"
|
|
|
|
android:nextFocusRight="@id/exo_ffwd"
|
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
android:id="@id/exo_play"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:layout_width="70dp"
|
|
|
|
android:background="@drawable/video_tap_button"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:src="@drawable/netflix_play"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
/>
|
|
|
|
<ImageButton
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusUp="@id/video_go_back"
|
|
|
|
android:nextFocusDown="@id/lock_player"
|
|
|
|
android:nextFocusLeft="@id/exo_rew"
|
|
|
|
android:nextFocusRight="@id/exo_ffwd"
|
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
android:id="@id/exo_pause"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:layout_width="70dp"
|
|
|
|
android:background="@drawable/video_tap_button"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:src="@drawable/netflix_pause"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
/>
|
|
|
|
</FrameLayout>
|
2021-05-23 12:10:39 +00:00
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
<FrameLayout
|
|
|
|
app:layout_constraintLeft_toLeftOf="@id/player_pause_holder"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
android:id="@+id/player_ffwd_holder"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical|end"
|
|
|
|
android:layout_height="wrap_content">
|
2021-05-23 12:10:39 +00:00
|
|
|
<TextView
|
2021-09-02 15:17:02 +00:00
|
|
|
tools:text="10"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:id="@+id/exo_ffwd_text"
|
|
|
|
android:textColor="@color/white"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:textSize="19sp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_gravity="center"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:textStyle="bold"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:gravity="center"
|
2021-05-24 11:52:44 +00:00
|
|
|
android:layout_width="200dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_height="40dp">
|
|
|
|
</TextView>
|
|
|
|
<ImageButton
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusUp="@id/video_go_back"
|
|
|
|
android:nextFocusDown="@id/lock_player"
|
|
|
|
android:nextFocusRight="@id/exo_rew"
|
|
|
|
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:id="@id/exo_ffwd"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:layout_height="70dp"
|
|
|
|
android:layout_width="70dp"
|
|
|
|
android:padding="10dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:background="@drawable/video_tap_button_skip"
|
|
|
|
android:src="@drawable/netflix_skip_forward"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:tintMode="src_in"
|
|
|
|
/>
|
|
|
|
</FrameLayout>
|
2021-09-03 22:46:29 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2021-05-23 12:10:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_marginBottom="20dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@id/exo_prev"
|
|
|
|
style="@style/ExoMediaButton.Previous"
|
|
|
|
android:tint="?attr/colorPrimaryDark"
|
|
|
|
android:tintMode="src_in"/>
|
|
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@id/exo_repeat_toggle"
|
|
|
|
style="@style/ExoMediaButton"
|
|
|
|
android:tint="?attr/colorPrimaryDark"
|
|
|
|
android:tintMode="src_in"/>
|
|
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@id/exo_next"
|
|
|
|
style="@style/ExoMediaButton.Next"
|
|
|
|
android:tint="?attr/colorPrimaryDark"
|
|
|
|
android:tintMode="src_in"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@id/exo_vr"
|
|
|
|
style="@style/ExoMediaButton.VR"
|
|
|
|
android:tint="?attr/colorPrimaryDark"
|
|
|
|
android:tintMode="src_in"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
android:id="@+id/bottom_player_bar">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
2021-05-24 11:52:44 +00:00
|
|
|
android:id="@+id/video_bar"
|
2021-05-23 12:10:39 +00:00
|
|
|
>
|
|
|
|
<TextView
|
|
|
|
tools:text="15:30"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:id="@id/exo_position"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:includeFontPadding="false"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:gravity="end"
|
|
|
|
android:minWidth="50dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="14sp"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:textStyle="normal"/>
|
2021-08-04 01:50:24 +00:00
|
|
|
<!--app:buffered_color="@color/videoCache"-->
|
2021-05-23 12:10:39 +00:00
|
|
|
<com.google.android.exoplayer2.ui.DefaultTimeBar
|
|
|
|
android:id="@id/exo_progress"
|
|
|
|
android:layout_width="0dp"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:layout_height="30dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_weight="1"
|
2021-05-24 08:51:16 +00:00
|
|
|
app:scrubber_enabled_size="24dp"
|
|
|
|
app:scrubber_dragged_size="26dp"
|
2021-06-06 18:06:01 +00:00
|
|
|
|
|
|
|
app:scrubber_color="?attr/colorPrimary"
|
2021-05-24 08:51:16 +00:00
|
|
|
app:bar_height="2dp"
|
2021-06-06 18:06:01 +00:00
|
|
|
app:played_color="?attr/colorPrimary"
|
2021-05-24 08:51:16 +00:00
|
|
|
app:unplayed_color="@color/videoProgress"/>
|
2021-05-23 12:10:39 +00:00
|
|
|
|
2021-05-28 13:38:06 +00:00
|
|
|
<!-- exo_duration-->
|
2021-05-23 12:10:39 +00:00
|
|
|
<TextView
|
|
|
|
tools:text="23:20"
|
|
|
|
android:id="@id/exo_duration"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:includeFontPadding="false"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:minWidth="50dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="14sp"
|
2021-05-24 08:51:16 +00:00
|
|
|
android:textStyle="normal"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2021-09-03 22:46:29 +00:00
|
|
|
<HorizontalScrollView
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:paddingBottom="10dp"
|
2021-05-24 11:52:44 +00:00
|
|
|
>
|
2021-06-17 15:39:01 +00:00
|
|
|
<androidx.cardview.widget.CardView
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusLeft="@id/skip_episode"
|
|
|
|
android:nextFocusRight="@id/resize_player"
|
|
|
|
|
|
|
|
android:id="@+id/lock_player"
|
2021-06-17 15:39:01 +00:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
card_view:cardCornerRadius="@dimen/card_corner_radius"
|
|
|
|
card_view:cardBackgroundColor="@color/transparent"
|
|
|
|
android:foreground="?attr/selectableItemBackgroundBorderless"
|
|
|
|
card_view:cardElevation="0dp"
|
2021-09-14 15:17:38 +00:00
|
|
|
tools:visibility="visible"
|
2021-05-23 12:10:39 +00:00
|
|
|
>
|
2021-06-17 15:39:01 +00:00
|
|
|
<LinearLayout
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:orientation="horizontal"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
>
|
2021-06-17 15:39:01 +00:00
|
|
|
<ImageView
|
2021-09-03 22:46:29 +00:00
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:id="@+id/video_locked_img"
|
|
|
|
android:src="@drawable/video_locked"
|
2021-06-17 15:39:01 +00:00
|
|
|
app:tint="@android:color/white"
|
|
|
|
android:layout_gravity="center">
|
|
|
|
|
|
|
|
</ImageView>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-09-03 23:24:47 +00:00
|
|
|
android:text="@string/video_lock"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:layout_gravity="center"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:id="@+id/video_locked_text"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:textColor="@android:color/white"
|
|
|
|
>
|
|
|
|
</TextView>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
2021-09-03 22:46:29 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/lock_holder"
|
|
|
|
android:orientation="horizontal"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_width="wrap_content"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.cardview.widget.CardView
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusLeft="@id/lock_player"
|
|
|
|
android:nextFocusRight="@id/playback_speed_btt"
|
|
|
|
|
|
|
|
android:id="@+id/resize_player"
|
2021-09-03 22:46:29 +00:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
card_view:cardCornerRadius="@dimen/card_corner_radius"
|
|
|
|
card_view:cardBackgroundColor="@color/transparent"
|
|
|
|
android:foreground="?attr/selectableItemBackgroundBorderless"
|
|
|
|
card_view:cardElevation="0dp"
|
2021-09-14 15:17:38 +00:00
|
|
|
tools:visibility="visible"
|
2021-05-23 12:10:39 +00:00
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<LinearLayout
|
2021-06-17 15:39:01 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
2021-06-17 15:39:01 +00:00
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:src="@drawable/ic_baseline_aspect_ratio_24"
|
|
|
|
app:tint="@android:color/white"
|
|
|
|
android:layout_gravity="center">
|
|
|
|
|
|
|
|
</ImageView>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-09-03 23:24:47 +00:00
|
|
|
android:text="@string/video_aspect_ratio_resize"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
>
|
|
|
|
</TextView>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusLeft="@id/resize_player"
|
|
|
|
android:nextFocusRight="@id/sources_btt"
|
|
|
|
|
|
|
|
android:id="@+id/playback_speed_btt"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
app:cardCornerRadius="@dimen/card_corner_radius"
|
|
|
|
app:cardBackgroundColor="@color/transparent"
|
|
|
|
android:foreground="?attr/selectableItemBackgroundBorderless"
|
|
|
|
app:cardElevation="0dp"
|
2021-06-17 15:39:01 +00:00
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
>
|
|
|
|
<LinearLayout
|
2021-06-17 15:39:01 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:orientation="horizontal"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:src="@drawable/ic_baseline_speed_24"
|
|
|
|
app:tint="@android:color/white"
|
|
|
|
>
|
|
|
|
|
|
|
|
</ImageView>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:text="Speed"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:id="@+id/player_speed_text"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
>
|
|
|
|
</TextView>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusLeft="@id/playback_speed_btt"
|
|
|
|
android:nextFocusRight="@id/skip_op"
|
|
|
|
|
|
|
|
android:id="@+id/sources_btt"
|
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2021-05-24 11:52:44 +00:00
|
|
|
android:layout_width="wrap_content"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_height="match_parent"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
card_view:cardCornerRadius="@dimen/card_corner_radius"
|
|
|
|
card_view:cardBackgroundColor="@color/transparent"
|
|
|
|
android:foreground="?attr/selectableItemBackgroundBorderless"
|
|
|
|
card_view:cardElevation="0dp"
|
|
|
|
|
2021-05-23 12:10:39 +00:00
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<LinearLayout
|
2021-06-17 15:39:01 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:orientation="horizontal"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:src="@drawable/ic_baseline_playlist_play_24"
|
|
|
|
app:tint="@android:color/white"
|
|
|
|
android:layout_gravity="center">
|
|
|
|
|
|
|
|
</ImageView>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-09-03 23:24:47 +00:00
|
|
|
android:text="@string/video_source"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
>
|
|
|
|
</TextView>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusLeft="@id/sources_btt"
|
|
|
|
android:nextFocusRight="@id/skip_episode"
|
|
|
|
android:id="@+id/skip_op"
|
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
card_view:cardCornerRadius="@dimen/card_corner_radius"
|
|
|
|
card_view:cardBackgroundColor="@color/transparent"
|
|
|
|
android:foreground="?attr/selectableItemBackgroundBorderless"
|
|
|
|
card_view:cardElevation="0dp"
|
|
|
|
|
2021-05-23 12:10:39 +00:00
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:layout_height="match_parent"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:orientation="horizontal"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:src="@drawable/exo_controls_fastforward"
|
|
|
|
app:tint="@android:color/white"
|
|
|
|
android:layout_gravity="center">
|
|
|
|
</ImageView>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-09-03 23:24:47 +00:00
|
|
|
android:text="@string/video_skip_op"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:gravity="start|center"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
>
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusLeft="@id/skip_op"
|
|
|
|
android:nextFocusRight="@id/lock_player"
|
|
|
|
|
|
|
|
android:id="@+id/skip_episode"
|
|
|
|
|
2021-09-03 22:46:29 +00:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:layout_width="wrap_content"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:layout_height="match_parent"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
card_view:cardCornerRadius="@dimen/card_corner_radius"
|
|
|
|
card_view:cardBackgroundColor="@color/transparent"
|
|
|
|
android:foreground="?attr/selectableItemBackgroundBorderless"
|
|
|
|
card_view:cardElevation="0dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:layout_height="match_parent"
|
2021-09-03 22:46:29 +00:00
|
|
|
android:orientation="horizontal"
|
2021-06-17 15:39:01 +00:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
>
|
2021-09-03 22:46:29 +00:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:src="@drawable/ic_baseline_skip_next_24"
|
|
|
|
app:tint="@android:color/white"
|
|
|
|
android:layout_gravity="center">
|
|
|
|
</ImageView>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:text="@string/next_episode"
|
|
|
|
|
|
|
|
android:gravity="start|center"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
>
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout>
|
2021-06-17 15:39:01 +00:00
|
|
|
</LinearLayout>
|
2021-09-03 22:46:29 +00:00
|
|
|
</HorizontalScrollView>
|
2021-05-23 12:10:39 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2021-09-03 22:46:29 +00:00
|
|
|
<View
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/brightness_overlay"
|
|
|
|
android:background="@android:color/black"
|
|
|
|
android:alpha="0"
|
2021-05-23 12:10:39 +00:00
|
|
|
/>
|
2021-09-03 22:46:29 +00:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/click_overlay"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2021-05-23 12:10:39 +00:00
|
|
|
/>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="left"
|
|
|
|
tools:alpha="1"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintRight_toLeftOf="@+id/centerMenuView"
|
|
|
|
android:id="@+id/progressBarLeftHolder"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="0"
|
|
|
|
>
|
|
|
|
<!--VERY hacky layout -->
|
|
|
|
<ImageView
|
|
|
|
android:layout_marginBottom="220dp"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_baseline_volume_up_24"
|
|
|
|
app:tint="@android:color/white"
|
|
|
|
>
|
|
|
|
|
|
|
|
</ImageView>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_width="4dp"
|
2021-05-27 20:25:33 +00:00
|
|
|
android:layout_height="150dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:id="@+id/progressBarLeft"
|
|
|
|
android:indeterminate="false"
|
|
|
|
style="@android:style/Widget.Material.ProgressBar.Horizontal"
|
|
|
|
android:max="100"
|
|
|
|
android:layout_marginStart="40dp"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:progress="100"
|
|
|
|
android:progressDrawable="@drawable/progress_drawable_vertical"
|
2021-09-03 22:46:29 +00:00
|
|
|
/>
|
2021-05-23 12:10:39 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="right"
|
|
|
|
tools:alpha="1"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintLeft_toRightOf="@+id/centerMenuView"
|
|
|
|
android:id="@+id/progressBarRightHolder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="0"
|
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_marginBottom="220dp"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_baseline_brightness_7_24"
|
|
|
|
app:tint="@android:color/white"
|
|
|
|
>
|
|
|
|
|
|
|
|
</ImageView>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_width="4dp"
|
2021-05-27 20:25:33 +00:00
|
|
|
android:layout_height="150dp"
|
2021-05-23 12:10:39 +00:00
|
|
|
android:id="@+id/progressBarRight"
|
|
|
|
android:indeterminate="false"
|
|
|
|
style="@android:style/Widget.Material.ProgressBar.Horizontal"
|
|
|
|
android:max="100"
|
|
|
|
android:layout_marginEnd="40dp"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:progress="100"
|
|
|
|
android:progressDrawable="@drawable/progress_drawable_vertical"
|
|
|
|
>
|
|
|
|
</ProgressBar>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|