1
0
Fork 0

Making menus more consistent

The way the colours are defined here feels really convoluted
and I'm not sure this is the correct way to do it, but seems
to work for now.
This commit is contained in:
Eoin Mcloughlin 2022-04-30 14:29:32 +01:00
parent 665aefc43e
commit 5525a1e09a
3 changed files with 3 additions and 1 deletions

View file

@ -24,6 +24,7 @@
android:clickable="true"
android:foreground="?android:attr/selectableItemBackground"
android:onClick="openSounder"
android:outlineProvider="background"
android:paddingBottom="20dp"
app:cardCornerRadius="4dp">

View file

@ -9,6 +9,7 @@
android:layout_gravity="center_horizontal"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:outlineProvider="background"
app:layoutManager="LinearLayoutManager"
tools:context="es.eoinrul.ecwt.TrainingLevelFragment"
tools:listitem="@layout/fragment_training_level" />

View file

@ -3,7 +3,7 @@
<!-- Some combination of the widgets I'm using prevent elevation
from casting a visible border in dark mode, so just change
the background to distinguish this widget: -->
<color name="lesson_select_background">#1E1C1E</color>
<color name="lesson_select_background">#424242</color>
<color name="menu_icon_color">#cccccc</color>
<color name="menu_item_color">#424242</color>