Commit 295334d3 authored by topjohnwu's avatar topjohnwu

Preserve toolbar elevation when restart activity

parent 36124ddc
...@@ -29,6 +29,8 @@ public class LogFragment extends Fragment { ...@@ -29,6 +29,8 @@ public class LogFragment extends Fragment {
View v = inflater.inflate(R.layout.fragment_log, container, false); View v = inflater.inflate(R.layout.fragment_log, container, false);
unbinder = ButterKnife.bind(this, v); unbinder = ButterKnife.bind(this, v);
((MainActivity) getActivity()).toolbar.setElevation(0);
TabFragmentAdapter adapter = new TabFragmentAdapter(getChildFragmentManager()); TabFragmentAdapter adapter = new TabFragmentAdapter(getChildFragmentManager());
if (getApplication().isSuClient) { if (getApplication().isSuClient) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment