Commit c5856d24 authored by Alexandre Perraud's avatar Alexandre Perraud

UI : Modify mini-player shadow and remove unused code

parent 1c0a2d3a
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<gradient
android:angle="90"
android:endColor="#00000000"
android:startColor="#ffa0a0a0" />
<size
android:height="5dp"
android:width="30dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<gradient
android:angle="90"
android:endColor="#00000000"
android:startColor="#ffc0c0c0" />
<size
android:height="5dp"
android:width="30dp" />
</shape>
\ No newline at end of file
......@@ -2,7 +2,7 @@
<item android:id="@android:id/background">
<shape>
<solid android:color="#00000000" />
<solid android:color="?attr/background_default" />
</shape>
</item>
<item android:id="@android:id/progress">
......
......@@ -61,8 +61,6 @@
<attr name="gridview_progressbar" format="reference" />
<attr name="toolbar_popup_style" format="reference" />
<attr name="mini_player_top_shadow" format="reference" />
<attr name="audio_playlist_shadow" format="reference" />
<attr name="shadow_top_9patch" format="reference"/>
<attr name="shadow_bottom_9patch" format="reference"/>
......
......@@ -40,9 +40,6 @@
<item name="list_title">@color/list_title</item>
<item name="android:windowBackground">@color/grey200</item>
<item name="mini_player_top_shadow">@drawable/mini_player_top_shadow</item>
<item name="audio_playlist_shadow">@drawable/audio_playlist_shadow</item>
<item name="ic_playlist_normal">@drawable/ic_playlist_normal</item>
<item name="ic_playlist_pressed">@drawable/ic_playlist_pressed</item>
<item name="ic_repeat_normal">@drawable/ic_repeat_normal</item>
......@@ -113,9 +110,6 @@
<item name="list_title">@color/bt_list_title</item>
<item name="android:windowBackground">@color/grey900</item>
<item name="mini_player_top_shadow">@null</item>
<item name="audio_playlist_shadow">@null</item>
<item name="ic_playlist_normal">@drawable/ic_playlist_normal_w</item>
<item name="ic_playlist_pressed">@drawable/ic_playlist_pressed</item>
<item name="ic_repeat_normal">@drawable/ic_repeat_normal_w</item>
......
......@@ -873,7 +873,7 @@ public class MainActivity extends ActionBarActivity implements OnItemClickListen
@Override
public void onPanelOpened() {
int resId = Util.getResourceFromAttribute(MainActivity.this, R.attr.mini_player_top_shadow);
int resId = Util.getResourceFromAttribute(MainActivity.this, R.attr.shadow_bottom_9patch);
if (resId != 0)
mSlidingPane.setShadowResource(resId);
mAudioPlayer.setHeaderVisibilities(false, false, true, true, true, false);
......
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