mirror of
https://github.com/status-im/syng-client.git
synced 2025-02-23 00:18:18 +00:00
Changed back name of app_toolbar
This commit is contained in:
parent
8ef8e7dd9c
commit
258651297c
@ -107,7 +107,7 @@ public abstract class BaseActivity extends AppCompatActivity implements
|
|||||||
|
|
||||||
FrameLayout content = (FrameLayout) findViewById(R.id.content);
|
FrameLayout content = (FrameLayout) findViewById(R.id.content);
|
||||||
ViewGroup inflated = (ViewGroup) inflater.inflate(layoutResID, content, true);
|
ViewGroup inflated = (ViewGroup) inflater.inflate(layoutResID, content, true);
|
||||||
Toolbar toolbar = (Toolbar) inflated.findViewById(R.id.profile_toolbar);
|
Toolbar toolbar = (Toolbar) inflated.findViewById(R.id.app_toolbar);
|
||||||
|
|
||||||
if (toolbar != null) {
|
if (toolbar != null) {
|
||||||
setSupportActionBar(toolbar);
|
setSupportActionBar(toolbar);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<android.support.v7.widget.Toolbar
|
<android.support.v7.widget.Toolbar
|
||||||
android:id="@+id/profile_toolbar"
|
android:id="@+id/app_toolbar"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user