[Android] Fix material button theme
Nicolas Pomepuy
git at videolan.org
Mon Oct 14 15:40:05 CEST 2019
vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Oct 10 06:50:05 2019 +0200| [d5925b1fd6dc587748cc4c5c5e31f001be9624a7] | committer: Geoffrey Métais
Fix material button theme
> https://code.videolan.org/videolan/vlc-android/commit/d5925b1fd6dc587748cc4c5c5e31f001be9624a7
---
vlc-android/res/layout/activity_onboarding.xml | 2 +-
vlc-android/res/values/styles.xml | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/vlc-android/res/layout/activity_onboarding.xml b/vlc-android/res/layout/activity_onboarding.xml
index a1b5e3550..8b37fad34 100644
--- a/vlc-android/res/layout/activity_onboarding.xml
+++ b/vlc-android/res/layout/activity_onboarding.xml
@@ -85,7 +85,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:srcCompat="@drawable/ic_widget_onboarding_next_w" />
- <Button
+ <com.google.android.material.button.MaterialButton
android:id="@+id/doneButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index 5e47adb9a..71705209e 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -27,6 +27,7 @@
<item name="colorPrimaryDark">@color/orange700</item>
<item name="colorSecondary">@color/orange700</item>
<item name="colorOnSecondary">@color/grey50</item>
+ <item name="colorOnPrimary">@color/white</item>
<item name="colorAccent">@color/orange500</item>
<item name="windowActionModeOverlay">true</item>
<item name="actionModeBackground">@color/orange500</item>
@@ -146,6 +147,7 @@
<item name="colorAccent">@color/orange600</item>
<item name="colorSecondary">@color/orange600</item>
<item name="colorOnSecondary">@color/grey50</item>
+ <item name="colorOnPrimary">@color/white</item>
<item name="item_footer">@color/grey700</item>
<item name="windowActionModeOverlay">true</item>
<item name="actionModeBackground">@color/grey875</item>
More information about the Android
mailing list