add some icons and colors
|
@ -216,7 +216,7 @@ public class MainActivity extends AppCompatActivity
|
|||
displayEditDialog();
|
||||
mode.finish();
|
||||
return true;
|
||||
case R.id.cab_remove:
|
||||
case R.id.cab_delete:
|
||||
prepareForDeleting();
|
||||
mode.finish();
|
||||
return true;
|
||||
|
|
|
@ -63,7 +63,7 @@ public class MyWidgetConfigure extends AppCompatActivity {
|
|||
bgColor = prefs.getInt(Constants.WIDGET_BG_COLOR, 1);
|
||||
if (bgColor == 1) {
|
||||
bgColor = Color.BLACK;
|
||||
bgAlpha = .5f;
|
||||
bgAlpha = .2f;
|
||||
} else {
|
||||
bgAlpha = Color.alpha(bgColor) / (float) 255;
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ public class MyWidgetConfigure extends AppCompatActivity {
|
|||
bgSeekBar.setProgress((int) (bgAlpha * 100));
|
||||
updateBackgroundColor();
|
||||
|
||||
textColor = prefs.getInt(Constants.WIDGET_TEXT_COLOR, Color.WHITE);
|
||||
textColor = prefs.getInt(Constants.WIDGET_TEXT_COLOR, getResources().getColor(R.color.colorPrimary));
|
||||
updateTextColor();
|
||||
|
||||
songTitle.setText("Song Title");
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
android:layout_alignBottom="@+id/config_text_color"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignTop="@+id/config_text_color"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:paddingLeft="@dimen/activity_margin"
|
||||
android:paddingRight="@dimen/activity_margin"
|
||||
android:text="OK"
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/cab_edit"
|
||||
android:icon="@android:drawable/ic_menu_edit"
|
||||
android:icon="@mipmap/edit"
|
||||
android:title="@string/edit"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/cab_remove"
|
||||
android:icon="@android:drawable/ic_menu_delete"
|
||||
android:title="@string/remove"
|
||||
android:id="@+id/cab_delete"
|
||||
android:icon="@mipmap/delete"
|
||||
android:title="@string/delete"
|
||||
app:showAsAction="ifRoom"/>
|
||||
</menu>
|
||||
|
|
BIN
app/src/main/res/mipmap-hdpi/delete.png
Normal file
After Width: | Height: | Size: 161 B |
BIN
app/src/main/res/mipmap-hdpi/edit.png
Normal file
After Width: | Height: | Size: 214 B |
BIN
app/src/main/res/mipmap-mdpi/delete.png
Normal file
After Width: | Height: | Size: 115 B |
BIN
app/src/main/res/mipmap-mdpi/edit.png
Normal file
After Width: | Height: | Size: 165 B |
BIN
app/src/main/res/mipmap-xhdpi/delete.png
Normal file
After Width: | Height: | Size: 151 B |
BIN
app/src/main/res/mipmap-xhdpi/edit.png
Normal file
After Width: | Height: | Size: 239 B |
BIN
app/src/main/res/mipmap-xxhdpi/delete.png
Normal file
After Width: | Height: | Size: 194 B |
BIN
app/src/main/res/mipmap-xxhdpi/edit.png
Normal file
After Width: | Height: | Size: 302 B |
BIN
app/src/main/res/mipmap-xxxhdpi/delete.png
Normal file
After Width: | Height: | Size: 243 B |
BIN
app/src/main/res/mipmap-xxxhdpi/edit.png
Normal file
After Width: | Height: | Size: 355 B |
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#3F51B5</color>
|
||||
<color name="colorPrimaryDark">#303F9F</color>
|
||||
<color name="colorAccent">#FF4081</color>
|
||||
<color name="colorPrimary">#ffff6f00</color>
|
||||
<color name="colorPrimaryDark">#ffe46300</color>
|
||||
<color name="colorAccent">@color/colorPrimary</color>
|
||||
<color name="dark_grey">#11000000</color>
|
||||
<color name="pressed_item_foreground">#11000000</color>
|
||||
<color name="activated_item_foreground">#33000000</color>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<string name="app_name">Simple Music Player</string>
|
||||
<string name="playlist_empty">Your playlist is empty</string>
|
||||
<string name="no_permissions">Permission for accessing the songs has not been granted</string>
|
||||
<string name="remove">Remove</string>
|
||||
<string name="delete">Delete</string>
|
||||
<string name="edit">Edit</string>
|
||||
<string name="undo">Undo</string>
|
||||
<string name="title">Title</string>
|
||||
|
|