Added toolbar in conversation fragment.

This commit is contained in:
Pierre HUBERT
2018-08-21 14:25:08 +02:00
parent f635506985
commit 94f8ecf746
4 changed files with 79 additions and 8 deletions

View File

@ -1,16 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
<!-- Loading wheel -->
<ProgressBar
android:id="@+id/fragment_conversation_progressbar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:layout_centerHorizontal="true"/>
android:layout_centerInParent="true" />
<!-- No message notice -->
<TextView
@ -26,6 +25,20 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />
</android.support.design.widget.AppBarLayout>
<!-- Messages -->
<org.communiquons.android.comunic.client.ui.views.ScrollRecyclerView
android:id="@+id/fragment_conversation_messageslist"