add some background to the Empty playlist placeholder button

This commit is contained in:
tibbi 2017-09-20 20:02:26 +02:00
parent 05272a1b37
commit a810227263
2 changed files with 4 additions and 1 deletions

View file

@ -4,6 +4,7 @@ import android.Manifest
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.PorterDuff
import android.graphics.PorterDuffColorFilter
import android.media.AudioManager
import android.os.Bundle
import android.os.Environment
@ -77,6 +78,7 @@ class MainActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListener {
setupIconColors()
markCurrentSong()
updateTextColors(main_holder)
songs_playlist_empty_add_folder.background.colorFilter = PorterDuffColorFilter(config.textColor, PorterDuff.Mode.SRC_IN)
}
override fun onCreateOptionsMenu(menu: Menu): Boolean {

View file

@ -143,8 +143,9 @@
android:layout_height="wrap_content"
android:layout_below="@+id/songs_playlist_empty"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/medium_margin"
android:alpha="0.7"
android:background="?attr/selectableItemBackground"
android:background="@drawable/breadcrumb_gradient"
android:gravity="center"
android:padding="@dimen/normal_margin"
android:text="@string/add_folder_to_playlist"