mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +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.material.themeToolbar(mToolbar);
|
||||||
viewThemeUtils.platform.themeStatusBar(this);
|
viewThemeUtils.platform.themeStatusBar(this);
|
||||||
|
viewThemeUtils.material.colorMaterialTextButton(mSwitchAccountButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setupToolbar() {
|
public void setupToolbar() {
|
||||||
|
|
|
@ -352,7 +352,9 @@ public class ExtendedListFragment extends Fragment implements
|
||||||
mRefreshListLayout.setOnRefreshListener(this);
|
mRefreshListLayout.setOnRefreshListener(this);
|
||||||
|
|
||||||
mSortButton = getActivity().findViewById(R.id.sort_button);
|
mSortButton = getActivity().findViewById(R.id.sort_button);
|
||||||
|
viewThemeUtils.material.colorMaterialTextButton(mSortButton);
|
||||||
mSwitchGridViewButton = getActivity().findViewById(R.id.switch_grid_view_button);
|
mSwitchGridViewButton = getActivity().findViewById(R.id.switch_grid_view_button);
|
||||||
|
viewThemeUtils.material.colorMaterialTextButton(mSwitchGridViewButton);
|
||||||
|
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
|
@ -154,6 +154,8 @@ public class TrashbinActivity extends DrawerActivity implements
|
||||||
viewThemeUtils.androidx.themeSwipeRefreshLayout(binding.swipeContainingList);
|
viewThemeUtils.androidx.themeSwipeRefreshLayout(binding.swipeContainingList);
|
||||||
binding.swipeContainingList.setOnRefreshListener(this::loadFolder);
|
binding.swipeContainingList.setOnRefreshListener(this::loadFolder);
|
||||||
|
|
||||||
|
viewThemeUtils.material.colorMaterialTextButton(findViewById(R.id.sort_button));
|
||||||
|
|
||||||
findViewById(R.id.sort_button).setOnClickListener(l ->
|
findViewById(R.id.sort_button).setOnClickListener(l ->
|
||||||
openSortingOrderDialogFragment(getSupportFragmentManager(),
|
openSortingOrderDialogFragment(getSupportFragmentManager(),
|
||||||
preferences.getSortOrderByType(
|
preferences.getSortOrderByType(
|
||||||
|
|
Loading…
Reference in a new issue