Move toolbar from controller to activity

This commit is contained in:
Moez Bhatti
2018-07-30 23:25:32 -04:00
parent 75162c8114
commit 54facab486
9 changed files with 491 additions and 606 deletions
@@ -1,11 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.appcompat.widget.Toolbar android:id="@+id/toolbar"
style="@style/Toolbar"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:elevation="8dp">
<com.moez.QKSMS.common.widget.QkTextView
android:id="@+id/toolbarTitle"
style="@style/ToolbarText"
tools:text="Conversations" />
</androidx.appcompat.widget.Toolbar>
<com.bluelinelabs.conductor.ChangeHandlerFrameLayout
android:id="@+id/container"
android:elevation="8dp"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="0dp"
android:layout_weight="1" />
</FrameLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?android:attr/divider" />
</LinearLayout>