2023-01-13 22:50:00 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout 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">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<com.google.android.material.imageview.ShapeableImageView
|
|
|
|
android:id="@+id/thumbnail"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginHorizontal="20dp"
|
|
|
|
android:layout_marginVertical="10dp"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
app:shapeAppearanceOverlay="@style/ShapeAppearance.Material3.Corner.Small"
|
|
|
|
tools:src="@tools:sample/backgrounds/scenic" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="20dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/uploader"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginTop="10dp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
android:id="@+id/time_bar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:labelBehavior="gone"
|
|
|
|
android:layout_marginHorizontal="20dp" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginVertical="50dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/prev"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginHorizontal="20dp"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:src="@drawable/ic_prev" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/play_pause"
|
|
|
|
android:layout_width="72dp"
|
|
|
|
android:layout_height="72dp"
|
|
|
|
android:insetLeft="0dp"
|
|
|
|
android:insetTop="0dp"
|
|
|
|
android:insetRight="0dp"
|
|
|
|
android:insetBottom="0dp"
|
2023-01-13 23:05:38 +05:30
|
|
|
app:icon="@drawable/ic_pause"
|
2023-01-13 22:50:00 +05:30
|
|
|
app:iconSize="24dp"
|
|
|
|
app:shapeAppearanceOverlay="@style/ShapeAppearance.Material3.Corner.Full" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/next"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginHorizontal="20dp"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:src="@drawable/ic_next" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|