Fixed user badge cutout in night mode

This commit is contained in:
Daniele Verducci (Slimpenguin) 2024-02-28 08:59:08 +01:00
parent 3361ec8965
commit 904cafcf48
4 changed files with 8 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<solid android:color="@android:color/transparent" /> <solid android:color="@android:color/transparent" />
<stroke <stroke
android:width="10dp" android:width="10dp"
android:color="#fff" /> android:color="@color/toolbar_background" />
</shape> </shape>
</item> </item>
</layer-list> </layer-list>

View File

@ -35,6 +35,7 @@
android:layout_marginTop="@dimen/spacer_1hx" android:layout_marginTop="@dimen/spacer_1hx"
android:layout_marginEnd="@dimen/spacer_2x" android:layout_marginEnd="@dimen/spacer_2x"
android:layout_marginBottom="@dimen/spacer_1hx" android:layout_marginBottom="@dimen/spacer_1hx"
app:cardBackgroundColor="@color/toolbar_background"
app:cardCornerRadius="30dp" app:cardCornerRadius="30dp"
app:cardElevation="2dp" app:cardElevation="2dp"
app:strokeWidth="0dp"> app:strokeWidth="0dp">

View File

@ -4,4 +4,7 @@
<color name="disabled">#888</color> <color name="disabled">#888</color>
<color name="defaultBackground">#000</color> <color name="defaultBackground">#000</color>
<color name="translucent">#C000</color> <color name="translucent">#C000</color>
<!-- Toolbar -->
<color name="toolbar_background">#211e28</color>
</resources> </resources>

View File

@ -38,4 +38,7 @@
<!-- Generic Colors --> <!-- Generic Colors -->
<color name="white">#fff</color> <color name="white">#fff</color>
<!-- Toolbar -->
<color name="toolbar_background">@color/defaultBackground</color>
</resources> </resources>