pull/49/head
kunfei 5 years ago
parent d795b656d9
commit a31eca0d7e
  1. 9
      app/src/main/res/drawable/ic_fast_forward.xml
  2. 9
      app/src/main/res/drawable/ic_fast_rewind.xml
  3. 32
      app/src/main/res/layout/activity_audio_play.xml

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M4,18l8.5,-6L4,6v12zM13,6v12l8.5,-6L13,6z" />
</vector>

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M11,18L11,6l-8.5,6 8.5,6zM11.5,12l8.5,6L20,6l-8.5,6z" />
</vector>

@ -46,6 +46,10 @@
android:id="@+id/tv_sub_title" android:id="@+id/tv_sub_title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="6dp"
android:paddingBottom="6dp"
android:textColor="@color/md_white_1000" android:textColor="@color/md_white_1000"
android:gravity="center" android:gravity="center"
app:layout_constraintBottom_toTopOf="@+id/ll_player_progress" /> app:layout_constraintBottom_toTopOf="@+id/ll_player_progress" />
@ -110,6 +114,20 @@
android:layout_height="1dp" android:layout_height="1dp"
android:layout_weight="1" /> android:layout_weight="1" />
<ImageView
android:id="@+id/iv_fast_rewind"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/skip_previous"
android:src="@drawable/ic_fast_rewind"
android:tint="@color/md_white_1000" />
<View
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_weight="1" />
<ImageView <ImageView
android:id="@+id/iv_skip_previous" android:id="@+id/iv_skip_previous"
android:layout_width="36dp" android:layout_width="36dp"
@ -146,6 +164,20 @@
android:layout_height="1dp" android:layout_height="1dp"
android:layout_weight="1" /> android:layout_weight="1" />
<ImageView
android:id="@+id/iv_fast_forward"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/skip_next"
android:src="@drawable/ic_fast_forward"
android:tint="@color/md_white_1000" />
<View
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_weight="1" />
<ImageView <ImageView
android:id="@+id/iv_chapter" android:id="@+id/iv_chapter"
android:layout_width="36dp" android:layout_width="36dp"

Loading…
Cancel
Save