mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
Android: Fix fab background colour in dark mode
This commit is contained in:
parent
4eee5ebdb7
commit
600e8d5dd0
|
@ -74,7 +74,7 @@ public class GamePropertiesActivity extends AppCompatActivity {
|
|||
if (actionBar != null) {
|
||||
actionBar.setDisplayHomeAsUpEnabled(true);
|
||||
}
|
||||
|
||||
|
||||
setTitle(mGameListEntry.getTitle());
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
android:layout_gravity="bottom|end"
|
||||
android:layout_marginBottom="@dimen/fab_margin"
|
||||
android:layout_marginRight="96dp"
|
||||
app:backgroundTint="@android:color/background_light"
|
||||
app:backgroundTint="@color/fab_background"
|
||||
app:srcCompat="@drawable/ic_baseline_play_arrow_24" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
|
@ -51,7 +51,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
app:backgroundTint="@android:color/background_light"
|
||||
app:backgroundTint="@color/fab_background"
|
||||
app:srcCompat="@android:drawable/ic_input_add" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
@ -5,4 +5,5 @@
|
|||
<color name="colorAccent">#03A9F4</color>
|
||||
|
||||
<color name="black_overlay">#66000000</color>
|
||||
<color name="fab_background">#222222</color>
|
||||
</resources>
|
||||
|
|
|
@ -5,4 +5,5 @@
|
|||
<color name="colorAccent">#D81B60</color>
|
||||
|
||||
<color name="black_overlay">#66000000</color>
|
||||
<color name="fab_background">#ffffffff</color>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue