ui: remove ripple resources
Remove the ripple resources and replace them with their system counterparts. This is to remove redundancy in-app and make the widget more consistent with other android widgets.
This commit is contained in:
parent
b3cac19ee4
commit
9647b53f78
6 changed files with 3 additions and 25 deletions
|
@ -30,7 +30,6 @@ import androidx.media.app.NotificationCompat.MediaStyle
|
|||
import org.oxycblt.auxio.BuildConfig
|
||||
import org.oxycblt.auxio.IntegerTable
|
||||
import org.oxycblt.auxio.R
|
||||
import org.oxycblt.auxio.music.Song
|
||||
import org.oxycblt.auxio.playback.state.RepeatMode
|
||||
import org.oxycblt.auxio.util.getSystemServiceSafe
|
||||
import org.oxycblt.auxio.util.newBroadcastPendingIntent
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
<size
|
||||
android:width="4dp"
|
||||
android:height="4dp" />
|
||||
<solid android:color="?attr/colorPrimary" />
|
||||
</shape>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?attr/colorControlHighlight"
|
||||
android:radius="20dp" />
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?attr/colorControlHighlight">
|
||||
<item android:id="@android:id/mask">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@android:color/white" />
|
||||
</shape>
|
||||
</item>
|
||||
</ripple>
|
|
@ -51,7 +51,7 @@
|
|||
<!-- A variant of PlaybackButton that plays along with AppWidget restrictions. -->
|
||||
<style name="Widget.Auxio.MaterialButton.AppWidget" parent="Widget.AppCompat.Button.Borderless">
|
||||
<item name="android:minHeight">@dimen/size_btn</item>
|
||||
<item name="android:background">@drawable/ui_remote_ripple</item>
|
||||
<item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
|
||||
</style>
|
||||
|
||||
<!-- A variant of button that emulates a FAB-ish button that plays along with widget restrictions -->
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
<style name="Widget.Auxio.ItemLayout" parent="">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:background">@drawable/ui_ripple</item>
|
||||
<item name="android:background">?attr/selectableItemBackground</item>
|
||||
<item name="android:padding">@dimen/spacing_medium</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:focusable">true</item>
|
||||
|
@ -215,7 +215,7 @@
|
|||
<style name="Widget.Auxio.TextView.Icon.Clickable" parent="Widget.Auxio.TextView.Icon">
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:background">@drawable/ui_ripple</item>
|
||||
<item name="android:background">?attr/selectableItemBackground</item>
|
||||
</style>
|
||||
|
||||
<!-- BUTTON STYLES -->
|
||||
|
|
Loading…
Reference in a new issue