change play and pause icons
11
app/src/main/res/drawable-anydpi/ic_pause.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="#FFFFFF"
|
||||
android:alpha="0.8">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M6,19h4L10,5L6,5v14zM14,5v14h4L18,5h-4z"/>
|
||||
</vector>
|
11
app/src/main/res/drawable-anydpi/ic_play.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="#FFFFFF"
|
||||
android:alpha="0.8">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M8,5v14l11,-7z"/>
|
||||
</vector>
|
BIN
app/src/main/res/drawable-hdpi/ic_pause.png
Normal file
After Width: | Height: | Size: 121 B |
BIN
app/src/main/res/drawable-hdpi/ic_play.png
Normal file
After Width: | Height: | Size: 201 B |
BIN
app/src/main/res/drawable-mdpi/ic_pause.png
Normal file
After Width: | Height: | Size: 94 B |
BIN
app/src/main/res/drawable-mdpi/ic_play.png
Normal file
After Width: | Height: | Size: 156 B |
BIN
app/src/main/res/drawable-xhdpi/ic_pause.png
Normal file
After Width: | Height: | Size: 123 B |
BIN
app/src/main/res/drawable-xhdpi/ic_play.png
Normal file
After Width: | Height: | Size: 234 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_pause.png
Normal file
After Width: | Height: | Size: 160 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_play.png
Normal file
After Width: | Height: | Size: 316 B |
|
@ -18,27 +18,45 @@
|
|||
<ImageView
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:src="@drawable/ic_replay_10"
|
||||
android:tint="@color/white" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/player_play_pause"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="96dp"
|
||||
android:layout_height="96dp"
|
||||
android:layout_centerInParent="true">
|
||||
<ImageButton
|
||||
<RelativeLayout
|
||||
android:id="@id/exo_play"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
style="@style/ExoMediaButton.Play" />
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<ImageView
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@drawable/ic_play" />
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageButton
|
||||
<RelativeLayout
|
||||
android:id="@id/exo_pause"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
style="@style/ExoMediaButton.Pause" />
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<ImageView
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="64dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@drawable/ic_pause" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
|
@ -52,7 +70,9 @@
|
|||
<ImageView
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:src="@drawable/ic_forward_10"
|
||||
android:tint="@color/white" />
|
||||
</RelativeLayout>
|
||||
|
|