2017-11-12 19:14:57 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-11-13 12:44:51 -08:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-27 14:00:11 -04:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-11-13 12:44:51 -08: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-12 19:14:57 -08:00
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
2017-11-13 12:44:51 -08:00
|
|
|
android:layout_alignParentTop="true"
|
2017-11-12 19:14:57 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
2018-09-21 15:16:52 -07:00
|
|
|
android:background="?attr/conversation_list_toolbar_background"
|
2018-07-27 14:00:11 -04:00
|
|
|
app:contentInsetStart="14dp"
|
|
|
|
app:contentInsetLeft="14dp"
|
2018-02-11 23:03:24 +01:00
|
|
|
android:elevation="4dp"
|
2017-11-12 19:14:57 -08:00
|
|
|
android:theme="?attr/actionBarStyle">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2018-09-24 23:41:29 -07:00
|
|
|
<ImageView android:id="@+id/toolbar_icon"
|
|
|
|
android:layout_width="36dp"
|
2017-11-12 19:14:57 -08:00
|
|
|
android:layout_height="36dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
2017-11-13 12:44:51 -08:00
|
|
|
android:layout_marginStart="8dp"
|
2017-11-12 19:14:57 -08:00
|
|
|
android:src="@drawable/icon_transparent"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
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_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
2017-11-13 12:44:51 -08:00
|
|
|
android:layout_toLeftOf="@+id/search_action"
|
|
|
|
android:layout_toStartOf="@+id/search_action"
|
|
|
|
android:layout_marginStart="66dp"
|
2017-11-12 19:14:57 -08:00
|
|
|
android:layout_marginLeft="66dp"/>
|
|
|
|
|
2017-11-13 12:44:51 -08: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:paddingRight="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_centerVertical="true"/>
|
|
|
|
|
2017-11-12 19:14:57 -08:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
|
|
|
|
<FrameLayout android:id="@+id/fragment_container"
|
2017-11-13 12:44:51 -08:00
|
|
|
android:layout_below="@id/toolbar"
|
2017-11-12 19:14:57 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
2017-11-13 12:44:51 -08: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 23:03:24 +01:00
|
|
|
android:elevation="4dp"
|
2017-11-13 12:44:51 -08:00
|
|
|
android:visibility="invisible"
|
|
|
|
tools:visibility="visible"/>
|
2017-11-12 19:14:57 -08:00
|
|
|
|
2017-11-13 12:44:51 -08:00
|
|
|
</RelativeLayout>
|