Cleaned up resources and design fixes
|
|
@ -17,7 +17,7 @@ repositories {
|
|||
|
||||
android {
|
||||
compileSdkVersion 21
|
||||
buildToolsVersion "21.1.1"
|
||||
buildToolsVersion "21.1.2"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.kabouzeid.materialmusic"
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ public class AlbumDetailActivity extends AbsFabActivity implements OnMusicRemote
|
|||
|
||||
private void setUpObservableListViewParams() {
|
||||
albumArtViewHeight = getResources().getDimensionPixelSize(R.dimen.header_image_height);
|
||||
toolbarColor = Util.resolveColor(this, R.attr.colorPrimary);
|
||||
toolbarColor = getResources().getColor(R.color.materialmusic_default_bar_color);
|
||||
toolbarHeight = Util.getActionBarSize(this);
|
||||
titleViewHeight = getResources().getDimensionPixelSize(R.dimen.title_view_height);
|
||||
headerOffset = toolbarHeight;
|
||||
|
|
|
|||
BIN
app/src/main/res/drawable-hdpi/ic_done_white_24dp.png
Normal file
|
After Width: | Height: | Size: 309 B |
BIN
app/src/main/res/drawable-hdpi/ic_launcher.png
Executable file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
app/src/main/res/drawable-hdpi/ic_pause_white_24dp.png
Normal file
|
After Width: | Height: | Size: 188 B |
BIN
app/src/main/res/drawable-hdpi/ic_pause_white_48dp.png
Normal file
|
After Width: | Height: | Size: 215 B |
BIN
app/src/main/res/drawable-hdpi/ic_play_arrow_white_24dp.png
Normal file
|
After Width: | Height: | Size: 282 B |
BIN
app/src/main/res/drawable-hdpi/ic_play_arrow_white_48dp.png
Normal file
|
After Width: | Height: | Size: 399 B |
BIN
app/src/main/res/drawable-hdpi/ic_repeat_grey600_48dp.png
Normal file
|
After Width: | Height: | Size: 400 B |
BIN
app/src/main/res/drawable-hdpi/ic_repeat_one_white_48dp.png
Normal file
|
After Width: | Height: | Size: 422 B |
BIN
app/src/main/res/drawable-hdpi/ic_repeat_white_48dp.png
Normal file
|
After Width: | Height: | Size: 397 B |
BIN
app/src/main/res/drawable-hdpi/ic_shuffle_grey600_48dp.png
Normal file
|
After Width: | Height: | Size: 614 B |
BIN
app/src/main/res/drawable-hdpi/ic_shuffle_white_48dp.png
Normal file
|
After Width: | Height: | Size: 627 B |
BIN
app/src/main/res/drawable-hdpi/ic_skip_next_white_48dp.png
Normal file
|
After Width: | Height: | Size: 408 B |
BIN
app/src/main/res/drawable-hdpi/ic_skip_previous_white_48dp.png
Normal file
|
After Width: | Height: | Size: 447 B |
BIN
app/src/main/res/drawable-hdpi/ic_speaker_white_48dp.png
Normal file
|
After Width: | Height: | Size: 931 B |
BIN
app/src/main/res/drawable-mdpi/ic_done_white_24dp.png
Normal file
|
After Width: | Height: | Size: 243 B |
BIN
app/src/main/res/drawable-mdpi/ic_launcher.png
Executable file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
app/src/main/res/drawable-mdpi/ic_pause_white_24dp.png
Normal file
|
After Width: | Height: | Size: 174 B |
BIN
app/src/main/res/drawable-mdpi/ic_pause_white_48dp.png
Normal file
|
After Width: | Height: | Size: 193 B |
BIN
app/src/main/res/drawable-mdpi/ic_play_arrow_white_24dp.png
Normal file
|
After Width: | Height: | Size: 257 B |
BIN
app/src/main/res/drawable-mdpi/ic_play_arrow_white_48dp.png
Normal file
|
After Width: | Height: | Size: 318 B |
BIN
app/src/main/res/drawable-mdpi/ic_repeat_grey600_48dp.png
Normal file
|
After Width: | Height: | Size: 317 B |
BIN
app/src/main/res/drawable-mdpi/ic_repeat_one_white_48dp.png
Normal file
|
After Width: | Height: | Size: 333 B |
BIN
app/src/main/res/drawable-mdpi/ic_repeat_white_48dp.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
app/src/main/res/drawable-mdpi/ic_shuffle_grey600_48dp.png
Normal file
|
After Width: | Height: | Size: 418 B |
BIN
app/src/main/res/drawable-mdpi/ic_shuffle_white_48dp.png
Normal file
|
After Width: | Height: | Size: 424 B |
BIN
app/src/main/res/drawable-mdpi/ic_skip_next_white_48dp.png
Normal file
|
After Width: | Height: | Size: 326 B |
BIN
app/src/main/res/drawable-mdpi/ic_skip_previous_white_48dp.png
Normal file
|
After Width: | Height: | Size: 354 B |
BIN
app/src/main/res/drawable-mdpi/ic_speaker_white_48dp.png
Normal file
|
After Width: | Height: | Size: 576 B |
BIN
app/src/main/res/drawable-xhdpi/ic_done_white_24dp.png
Normal file
|
After Width: | Height: | Size: 363 B |
BIN
app/src/main/res/drawable-xhdpi/ic_launcher.png
Executable file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_pause_white_24dp.png
Normal file
|
After Width: | Height: | Size: 193 B |
BIN
app/src/main/res/drawable-xhdpi/ic_pause_white_48dp.png
Normal file
|
After Width: | Height: | Size: 256 B |
BIN
app/src/main/res/drawable-xhdpi/ic_play_arrow_white_24dp.png
Normal file
|
After Width: | Height: | Size: 318 B |
BIN
app/src/main/res/drawable-xhdpi/ic_play_arrow_white_48dp.png
Normal file
|
After Width: | Height: | Size: 477 B |
BIN
app/src/main/res/drawable-xhdpi/ic_repeat_grey600_48dp.png
Normal file
|
After Width: | Height: | Size: 481 B |
BIN
app/src/main/res/drawable-xhdpi/ic_repeat_one_white_48dp.png
Normal file
|
After Width: | Height: | Size: 509 B |
BIN
app/src/main/res/drawable-xhdpi/ic_repeat_white_48dp.png
Normal file
|
After Width: | Height: | Size: 478 B |
BIN
app/src/main/res/drawable-xhdpi/ic_shuffle_grey600_48dp.png
Normal file
|
After Width: | Height: | Size: 737 B |
BIN
app/src/main/res/drawable-xhdpi/ic_shuffle_white_48dp.png
Normal file
|
After Width: | Height: | Size: 712 B |
BIN
app/src/main/res/drawable-xhdpi/ic_skip_next_white_48dp.png
Normal file
|
After Width: | Height: | Size: 484 B |
BIN
app/src/main/res/drawable-xhdpi/ic_skip_previous_white_48dp.png
Normal file
|
After Width: | Height: | Size: 531 B |
BIN
app/src/main/res/drawable-xhdpi/ic_speaker_white_48dp.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_done_white_24dp.png
Normal file
|
After Width: | Height: | Size: 476 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_launcher.png
Executable file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_pause_white_24dp.png
Normal file
|
After Width: | Height: | Size: 215 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_pause_white_48dp.png
Normal file
|
After Width: | Height: | Size: 352 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_play_arrow_white_24dp.png
Normal file
|
After Width: | Height: | Size: 399 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_play_arrow_white_48dp.png
Normal file
|
After Width: | Height: | Size: 666 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_repeat_grey600_48dp.png
Normal file
|
After Width: | Height: | Size: 672 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_repeat_one_white_48dp.png
Normal file
|
After Width: | Height: | Size: 717 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_repeat_white_48dp.png
Normal file
|
After Width: | Height: | Size: 657 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_shuffle_grey600_48dp.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_shuffle_white_48dp.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_skip_next_white_48dp.png
Normal file
|
After Width: | Height: | Size: 765 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_skip_previous_white_48dp.png
Normal file
|
After Width: | Height: | Size: 790 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_speaker_white_48dp.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
|
|
@ -1,4 +0,0 @@
|
|||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/seekbar_thumb_pressed" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/seekbar_thumb_normal"/>
|
||||
</selector>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
|
||||
<size
|
||||
android:height="10dp"
|
||||
android:width="10dp"/>
|
||||
<solid
|
||||
android:color="@color/materialmusic_accent_color"/>
|
||||
<corners
|
||||
android:radius="18dp"/>
|
||||
</shape>
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
|
||||
<size
|
||||
android:height="18dp"
|
||||
android:width="18dp"/>
|
||||
android:height="16dp"
|
||||
android:width="16dp"/>
|
||||
<solid
|
||||
android:color="@color/materialmusic_accent_color"/>
|
||||
</shape>
|
||||
|
|
@ -100,12 +100,6 @@
|
|||
android:background="?attr/music_controller_container_color"
|
||||
android:elevation="2dp">
|
||||
|
||||
<com.melnykov.fab.FloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
style="@style/PlayPauseFab"
|
||||
android:layout_centerInParent="true"
|
||||
/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/prev_button"
|
||||
android:layout_width="72dp"
|
||||
|
|
@ -115,7 +109,8 @@
|
|||
android:background="?round_selector"
|
||||
android:padding="22dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_skip_previous_white_48dp"/>
|
||||
android:src="@drawable/ic_skip_previous_white_48dp"
|
||||
android:layout_marginRight="-8dp"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/next_button"
|
||||
|
|
@ -126,7 +121,8 @@
|
|||
android:background="?round_selector"
|
||||
android:padding="22dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_skip_next_white_48dp"/>
|
||||
android:src="@drawable/ic_skip_next_white_48dp"
|
||||
android:layout_marginLeft="-8dp"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/repeat_button"
|
||||
|
|
@ -152,6 +148,12 @@
|
|||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_shuffle_grey600_48dp"/>
|
||||
|
||||
<com.melnykov.fab.FloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
style="@style/PlayPauseFab"
|
||||
android:layout_centerInParent="true"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<SeekBar
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
<string name="audio_focus_denied">We were not able to gain audio focus.</string>
|
||||
<string name="title_activity_tag_editor">TagEditorActivity</string>
|
||||
<string name="hello_world">Hello world!</string>
|
||||
<string name="tag_editor">Tag Editor [beta]</string>
|
||||
<string name="tag_editor">Tag Editor</string>
|
||||
<string name="song">Song</string>
|
||||
<string name="album">Album</string>
|
||||
<string name="artist">Artist</string>
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@
|
|||
</style>
|
||||
|
||||
<style name="MusicProgressSlider" parent="MusicProgressSliderParent">
|
||||
<item name="android:progressDrawable">@drawable/seekbar_progress</item>
|
||||
<item name="android:thumb">@drawable/seekbar_thumb</item>
|
||||
<item name="android:progressDrawable">@drawable/slider_progress</item>
|
||||
<item name="android:thumb">@drawable/slider_thumb</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||