Place the icons on the correct side
This commit is contained in:
parent
847b19feac
commit
f364aad0ba
1 changed files with 2 additions and 2 deletions
|
@ -15,10 +15,10 @@ class TimeAndNavBar constructor(context: Context, attrs: AttributeSet) : FrameLa
|
|||
AppCompatDrawableManager.get().apply {
|
||||
|
||||
val timeDrawable = getDrawable(context, R.drawable.ic_action_today)
|
||||
timeButton.setCompoundDrawablesWithIntrinsicBounds(timeDrawable, null, null, null)
|
||||
timeButton.setCompoundDrawablesWithIntrinsicBounds(null, null, timeDrawable, null)
|
||||
|
||||
val navDrawable = getDrawable(context, R.drawable.ic_maps_place)
|
||||
locationButton.setCompoundDrawablesWithIntrinsicBounds(null, null, navDrawable, null)
|
||||
locationButton.setCompoundDrawablesWithIntrinsicBounds(navDrawable, null, null, null)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue