mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Merge pull request #11054 from t895/swipe-refresh
Android: Change swipe refresh colors to match other component colors
This commit is contained in:
commit
14f427d4cd
@ -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…
x
Reference in New Issue
Block a user