Changed back name of app_toolbar

This commit is contained in:
Yaroslav Berezanskyi 2015-08-16 14:18:11 +03:00
parent 8ef8e7dd9c
commit 258651297c
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ public abstract class BaseActivity extends AppCompatActivity implements
FrameLayout content = (FrameLayout) findViewById(R.id.content);
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) {
setSupportActionBar(toolbar);

View File

@ -1,5 +1,5 @@
<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:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"