Merge "Controls UI - Fix dropdown layer list" into rvc-dev
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user