Added rewind capability to notification control ( seekTo(0) )
This commit is contained in:
parent
54c32b9fe2
commit
51641dcc9a
8 changed files with 32 additions and 0 deletions
BIN
app/src/main/res/drawable-hdpi/ic_action_av_fast_rewind.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_action_av_fast_rewind.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 535 B |
BIN
app/src/main/res/drawable-mdpi/ic_action_av_fast_rewind.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_action_av_fast_rewind.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 282 B |
BIN
app/src/main/res/drawable-xhdpi/ic_action_av_fast_rewind.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_action_av_fast_rewind.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 591 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_action_av_fast_rewind.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_action_av_fast_rewind.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_action_av_fast_rewind.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/ic_action_av_fast_rewind.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
|
|
@ -47,6 +47,16 @@
|
|||
android:text="artist" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/notificationRewind"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_margin="5dp"
|
||||
android:background="#00ffffff"
|
||||
android:clickable="true"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_action_av_fast_rewind" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/notificationPlayPause"
|
||||
android:layout_width="40dp"
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@
|
|||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_close_white_24dp" />
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/notificationButtons"
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -72,6 +73,17 @@
|
|||
android:src="@drawable/ic_pause_white_24dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/notificationRewind"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="#00ffffff"
|
||||
android:clickable="true"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_action_av_fast_rewind"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentLeft="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue