change the color of all SwipeRefreshLayouts to match the Tusky theme
This commit is contained in:
parent
9e64bd1307
commit
4e617dccc7
4 changed files with 9 additions and 1 deletions
|
|
@ -96,6 +96,8 @@ public class ViewThreadFragment extends SFragment implements
|
|||
Context context = getContext();
|
||||
swipeRefreshLayout = rootView.findViewById(R.id.swipe_refresh_layout);
|
||||
swipeRefreshLayout.setOnRefreshListener(this);
|
||||
swipeRefreshLayout.setColorSchemeResources(R.color.primary);
|
||||
swipeRefreshLayout.setProgressBackgroundColorSchemeColor(ThemeUtils.getColor(context, android.R.attr.colorBackground));
|
||||
|
||||
recyclerView = rootView.findViewById(R.id.recycler_view);
|
||||
recyclerView.setHasFixedSize(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue