Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8280712 authored by Matt Pietal's avatar Matt Pietal Committed by Android (Google) Code Review
Browse files

Merge "Controls UI - Fix dropdown layer list" into rvc-dev

parents d70e938d fb67b521
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -20,11 +20,6 @@
            android:paddingEnd="40dp"
            android:paddingLeft="0dp"
            android:paddingRight="0dp">
    <item
        android:gravity="end|fill_vertical"
        android:width="40dp"
        android:drawable="@*android:drawable/control_background_40dp_material" />

    <item
        android:drawable="@drawable/ic_ksh_key_down"
        android:gravity="end|bottom"
+1 −1
Original line number Diff line number Diff line
@@ -368,7 +368,7 @@ class ControlsUiControllerImpl @Inject constructor (
        val spinner = parent.requireViewById<TextView>(R.id.app_or_structure_spinner).apply {
            setText(selectionItem.getTitle())
            // override the default color on the dropdown drawable
            (getBackground() as LayerDrawable).getDrawable(1)
            (getBackground() as LayerDrawable).getDrawable(0)
                .setTint(context.resources.getColor(R.color.control_spinner_dropdown, null))
        }