Commit 44de11d2 authored by Adrien Maglo's avatar Adrien Maglo

UI : rename the white icons

parent 432d08a5
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_backward_normal_w" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_backward_pressed_w" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_backward_pressed_w" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_backward_normal_w"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_wbackward_normal" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_wbackward_pressed" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wbackward_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wbackward_normal"/>
<item android:drawable="@drawable/ic_forward_normal_w" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_forward_pressed_w" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_forward_pressed_w" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_forward_normal_w"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_wpause_normal" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_wpause_pressed" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wpause_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wpause_normal"/>
<item android:drawable="@drawable/ic_next_normal_w" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_next_pressed_w" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_next_pressed_w" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_next_normal_w"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_pause_normal_w" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_pause_pressed_w" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_pause_pressed_w" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_pause_normal_w"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_play_normal_w" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_play_pressed_w" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_play_pressed_w" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_play_normal_w"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_previous_normal_w" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_previous_pressed_w" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_previous_pressed_w" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_previous_normal_w"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_stop_normal_w" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_stop_pressed_w" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_stop_pressed_w" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_stop_normal_w"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_wforward_normal" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_wforward_pressed" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wforward_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wforward_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_wnext_normal" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_wnext_pressed" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wnext_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wnext_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_wplay_normal" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_wplay_pressed" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wplay_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wplay_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_wprevious_normal" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_wprevious_pressed" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wprevious_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wprevious_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_wstop_normal" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_wstop_pressed" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wstop_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_wstop_normal"/>
</selector>
\ No newline at end of file
......@@ -49,7 +49,7 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="fitXY"
android:src="@drawable/ic_wplay" />
android:src="@drawable/ic_play_w" />
<ImageButton
android:id="@+id/forward"
......@@ -59,7 +59,7 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="fitXY"
android:src="@drawable/ic_wnext" />
android:src="@drawable/ic_next_w" />
<ImageButton
android:id="@+id/stop"
......@@ -69,6 +69,6 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="fitXY"
android:src="@drawable/ic_wstop" />
android:src="@drawable/ic_stop_w" />
</LinearLayout>
\ No newline at end of file
......@@ -60,7 +60,7 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="fitXY"
android:src="@drawable/ic_wstop" />
android:src="@drawable/ic_stop_w" />
<LinearLayout
android:id="@+id/buttons"
......@@ -79,7 +79,7 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="centerInside"
android:src="@drawable/ic_wprevious" />
android:src="@drawable/ic_previous_w" />
<ImageButton
android:id="@+id/play_pause"
......@@ -91,7 +91,7 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="centerInside"
android:src="@drawable/ic_wplay" />
android:src="@drawable/ic_play_w" />
<ImageButton
android:id="@+id/forward"
......@@ -101,7 +101,7 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="centerInside"
android:src="@drawable/ic_wnext" />
android:src="@drawable/ic_next_w" />
</LinearLayout>
</RelativeLayout>
\ No newline at end of file
......@@ -146,7 +146,7 @@
android:layout_centerVertical="true"
android:layout_marginRight="5dp"
android:layout_toRightOf="@+id/lock_overlay_button"
android:background="@drawable/ic_wbackward" />
android:background="@drawable/ic_backward_w" />
<TextView
android:id="@+id/player_overlay_time"
......@@ -193,7 +193,7 @@
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:layout_toLeftOf="@+id/player_overlay_adv_function"
android:background="@drawable/ic_wforward" />
android:background="@drawable/ic_forward_w" />
<ImageButton
android:id="@+id/player_overlay_adv_function"
......
......@@ -67,7 +67,7 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="fitXY"
android:src="@drawable/ic_wprevious" />
android:src="@drawable/ic_previous_w" />
<ImageButton
android:id="@+id/play_pause"
......@@ -77,7 +77,7 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="fitXY"
android:src="@drawable/ic_wplay" />
android:src="@drawable/ic_play_w" />
<ImageButton
android:id="@+id/stop"
......@@ -87,7 +87,7 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="fitXY"
android:src="@drawable/ic_wstop" />
android:src="@drawable/ic_stop_w" />
<ImageButton
android:id="@+id/forward"
......@@ -96,7 +96,7 @@
android:background="#00ffffff"
android:clickable="true"
android:scaleType="fitXY"
android:src="@drawable/ic_wnext" />
android:src="@drawable/ic_next_w" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
......
......@@ -140,9 +140,9 @@
<item name="android:windowBackground">@drawable/advanced_options_video_background</item>
<item name="android:textColor">@color/white</item>
<item name="advanced_options_divider">@color/white</item>
<item name="ic_speed_normal_style">@drawable/ic_wspeed_normal</item>
<item name="ic_sleep_normal_style">@drawable/ic_wsleep_normal</item>
<item name="ic_jumpto_normal_style">@drawable/ic_wjumpto_normal</item>
<item name="ic_speed_normal_style">@drawable/ic_speed_normal_w</item>
<item name="ic_sleep_normal_style">@drawable/ic_sleep_normal_w</item>
<item name="ic_jumpto_normal_style">@drawable/ic_jumpto_normal_w</item>
<item name="ic_down_style">@drawable/ic_down_w</item>
<item name="ic_up_style">@drawable/ic_up_w</item>
</style>
......
......@@ -694,7 +694,7 @@ public class AudioService extends Service {
view.setImageViewBitmap(R.id.cover, cover);
view.setTextViewText(R.id.songName, title);
view.setTextViewText(R.id.artist, artist);
view.setImageViewResource(R.id.play_pause, mLibVLC.isPlaying() ? R.drawable.ic_wpause : R.drawable.ic_wplay);
view.setImageViewResource(R.id.play_pause, mLibVLC.isPlaying() ? R.drawable.ic_pause_w : R.drawable.ic_play_w);
view.setOnClickPendingIntent(R.id.play_pause, piPlay);
view.setOnClickPendingIntent(R.id.forward, piForward);
view.setOnClickPendingIntent(R.id.stop, piStop);
......@@ -706,7 +706,7 @@ public class AudioService extends Service {
view_expanded.setTextViewText(R.id.songName, title);
view_expanded.setTextViewText(R.id.artist, artist);
view_expanded.setTextViewText(R.id.album, album);
view_expanded.setImageViewResource(R.id.play_pause, mLibVLC.isPlaying() ? R.drawable.ic_wpause : R.drawable.ic_wplay);
view_expanded.setImageViewResource(R.id.play_pause, mLibVLC.isPlaying() ? R.drawable.ic_pause_w : R.drawable.ic_play_w);
view_expanded.setOnClickPendingIntent(R.id.backward, piBackward);
view_expanded.setOnClickPendingIntent(R.id.play_pause, piPlay);
view_expanded.setOnClickPendingIntent(R.id.forward, piForward);
......
......@@ -110,7 +110,7 @@ public class VLCAppWidgetProvider extends AppWidgetProvider {
views.setTextViewText(R.id.songName, title);
views.setTextViewText(R.id.artist, artist);
views.setImageViewResource(R.id.play_pause, isplaying ? R.drawable.ic_wpause : R.drawable.ic_wplay);
views.setImageViewResource(R.id.play_pause, isplaying ? R.drawable.ic_pause_w : R.drawable.ic_play_w);
views.setViewVisibility(R.id.timeline_parent, artist != null && artist.length() > 0 ? View.VISIBLE : View.INVISIBLE);
}
else if (ACTION_WIDGET_UPDATE_COVER.equals(action)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment