2020-04-05 13:15:03 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<merge android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:id="@+id/audio_play_icon_parent"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
android:layout_width="18dp"
|
|
|
|
|
android:layout_height="18dp">
|
2020-08-15 22:05:07 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintImageView
|
2020-04-05 13:15:03 +08:00
|
|
|
android:id="@+id/audio_play_icon"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:padding="0dp"
|
|
|
|
|
app:srcCompat="@drawable/ic_round_play_circle_filled_18dp"
|
|
|
|
|
app:tint="@color/default_color_accent" />
|
2020-08-15 22:05:07 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintProgressBar
|
2020-04-05 13:15:03 +08:00
|
|
|
android:visibility="gone"
|
|
|
|
|
app:progressTint="@color/default_color_primary"
|
|
|
|
|
android:indeterminate="true"
|
|
|
|
|
android:id="@+id/audio_play_progress"
|
|
|
|
|
style="?android:attr/progressBarStyleSmallInverse"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
2020-08-15 22:05:07 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintSeekBar
|
2020-04-05 13:15:03 +08:00
|
|
|
android:visibility="gone"
|
|
|
|
|
android:progress="0"
|
|
|
|
|
android:max="100"
|
|
|
|
|
app:progressTint="@color/default_color_primary"
|
|
|
|
|
android:progressDrawable="@drawable/bg_seekbar_round"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
android:layout_toEndOf="@id/audio_play_icon_parent"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:id="@+id/seek_progress"
|
|
|
|
|
android:layout_width="96dp"
|
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
2020-08-15 22:05:07 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2020-04-05 13:15:03 +08:00
|
|
|
android:layout_toEndOf="@id/seek_progress"
|
|
|
|
|
android:minWidth="24dp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:text="15'"
|
|
|
|
|
app:tint="@color/default_color_accent"
|
|
|
|
|
android:id="@+id/audio_text"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
</merge>
|