mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 21:59:47 +03:00
theme ripple effect on toolbar MaterialButtons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
5571574309
commit
550924e19d
3 changed files with 5 additions and 0 deletions
|
@ -118,6 +118,7 @@ public abstract class ToolbarActivity extends BaseActivity implements Injectable
|
|||
|
||||
viewThemeUtils.material.themeToolbar(mToolbar);
|
||||
viewThemeUtils.platform.themeStatusBar(this);
|
||||
viewThemeUtils.material.colorMaterialTextButton(mSwitchAccountButton);
|
||||
}
|
||||
|
||||
public void setupToolbar() {
|
||||
|
|
|
@ -352,7 +352,9 @@ public class ExtendedListFragment extends Fragment implements
|
|||
mRefreshListLayout.setOnRefreshListener(this);
|
||||
|
||||
mSortButton = getActivity().findViewById(R.id.sort_button);
|
||||
viewThemeUtils.material.colorMaterialTextButton(mSortButton);
|
||||
mSwitchGridViewButton = getActivity().findViewById(R.id.switch_grid_view_button);
|
||||
viewThemeUtils.material.colorMaterialTextButton(mSwitchGridViewButton);
|
||||
|
||||
return v;
|
||||
}
|
||||
|
|
|
@ -154,6 +154,8 @@ public class TrashbinActivity extends DrawerActivity implements
|
|||
viewThemeUtils.androidx.themeSwipeRefreshLayout(binding.swipeContainingList);
|
||||
binding.swipeContainingList.setOnRefreshListener(this::loadFolder);
|
||||
|
||||
viewThemeUtils.material.colorMaterialTextButton(findViewById(R.id.sort_button));
|
||||
|
||||
findViewById(R.id.sort_button).setOnClickListener(l ->
|
||||
openSortingOrderDialogFragment(getSupportFragmentManager(),
|
||||
preferences.getSortOrderByType(
|
||||
|
|
Loading…
Reference in a new issue