mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-29 08:44:55 +00:00
Android: Change swipe refresh colors to match other component colors
This commit is contained in:
parent
702e7bad58
commit
63ff3c3830
1 changed files with 3 additions and 2 deletions
|
@ -65,8 +65,9 @@ public final class PlatformGamesFragment extends Fragment implements PlatformGam
|
||||||
|
|
||||||
// Set theme color to the refresh animation's background
|
// Set theme color to the refresh animation's background
|
||||||
mSwipeRefresh.setProgressBackgroundColorSchemeColor(
|
mSwipeRefresh.setProgressBackgroundColorSchemeColor(
|
||||||
MaterialColors.getColor(mSwipeRefresh, R.attr.colorSurfaceVariant));
|
MaterialColors.getColor(mSwipeRefresh, R.attr.colorPrimary));
|
||||||
mSwipeRefresh.setColorSchemeColors(MaterialColors.getColor(mSwipeRefresh, R.attr.colorPrimary));
|
mSwipeRefresh.setColorSchemeColors(
|
||||||
|
MaterialColors.getColor(mSwipeRefresh, R.attr.colorOnPrimary));
|
||||||
|
|
||||||
mSwipeRefresh.setOnRefreshListener(mOnRefreshListener);
|
mSwipeRefresh.setOnRefreshListener(mOnRefreshListener);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue