2017-11-13 03:14:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-11-13 20:44:51 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-27 18:00:11 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-11-13 20:44:51 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@id/container"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2017-11-13 03:14:57 +00:00
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
2017-11-13 20:44:51 +00:00
|
|
|
android:layout_alignParentTop="true"
|
2017-11-13 03:14:57 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
2018-09-21 22:16:52 +00:00
|
|
|
android:background="?attr/conversation_list_toolbar_background"
|
2018-07-27 18:00:11 +00:00
|
|
|
app:contentInsetStart="14dp"
|
|
|
|
app:contentInsetLeft="14dp"
|
2018-02-11 22:03:24 +00:00
|
|
|
android:elevation="4dp"
|
2017-11-13 03:14:57 +00:00
|
|
|
android:theme="?attr/actionBarStyle">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2018-09-25 06:41:29 +00:00
|
|
|
<ImageView android:id="@+id/toolbar_icon"
|
|
|
|
android:layout_width="36dp"
|
2017-11-13 03:14:57 +00:00
|
|
|
android:layout_height="36dp"
|
2017-11-13 20:44:51 +00:00
|
|
|
android:layout_marginStart="8dp"
|
2017-11-13 03:14:57 +00:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_centerVertical="true"/>
|
|
|
|
|
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/app_name"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="25sp"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_centerVertical="true"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:layout_marginStart="66dp"/>
|
2017-11-13 03:14:57 +00:00
|
|
|
|
2017-11-13 20:44:51 +00:00
|
|
|
<ImageView android:id="@+id/search_action"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_search_white_24dp"
|
|
|
|
android:paddingEnd="16dp"
|
2019-07-16 07:09:15 +00:00
|
|
|
android:visibility="gone"
|
2017-11-13 20:44:51 +00:00
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_centerVertical="true"/>
|
|
|
|
|
2017-11-13 03:14:57 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
|
|
|
|
<FrameLayout android:id="@+id/fragment_container"
|
2017-11-13 20:44:51 +00:00
|
|
|
android:layout_below="@id/toolbar"
|
2017-11-13 03:14:57 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
2017-11-13 20:44:51 +00:00
|
|
|
<org.thoughtcrime.securesms.components.SearchToolbar
|
|
|
|
android:id="@+id/search_toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
2018-02-11 22:03:24 +00:00
|
|
|
android:elevation="4dp"
|
2017-11-13 20:44:51 +00:00
|
|
|
android:visibility="invisible"
|
|
|
|
tools:visibility="visible"/>
|
2017-11-13 03:14:57 +00:00
|
|
|
|
2017-11-13 20:44:51 +00:00
|
|
|
</RelativeLayout>
|