mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00: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
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
|
||||
mSwipeRefresh.setProgressBackgroundColorSchemeColor(
|
||||
MaterialColors.getColor(mSwipeRefresh, R.attr.colorSurfaceVariant));
|
||||
mSwipeRefresh.setColorSchemeColors(MaterialColors.getColor(mSwipeRefresh, R.attr.colorPrimary));
|
||||
MaterialColors.getColor(mSwipeRefresh, R.attr.colorPrimary));
|
||||
mSwipeRefresh.setColorSchemeColors(
|
||||
MaterialColors.getColor(mSwipeRefresh, R.attr.colorOnPrimary));
|
||||
|
||||
mSwipeRefresh.setOnRefreshListener(mOnRefreshListener);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue