session-android/res/layout/conversation_list_activity.xml

69 lines
3.0 KiB
XML
Raw Normal View History

<?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"
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">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
2017-11-13 12:44:51 -08:00
android:layout_alignParentTop="true"
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"
app:contentInsetStart="14dp"
app:contentInsetLeft="14dp"
2018-02-11 23:03:24 +01:00
android:elevation="4dp"
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"
android:layout_height="36dp"
2017-11-13 12:44:51 -08:00
android:layout_marginStart="8dp"
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"
android:layout_marginStart="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:paddingEnd="16dp"
2019-07-16 17:09:15 +10:00
android:visibility="gone"
2017-11-13 12:44:51 -08:00
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"/>
</RelativeLayout>
</androidx.appcompat.widget.Toolbar>
<FrameLayout android:id="@+id/fragment_container"
2017-11-13 12:44:51 -08:00
android:layout_below="@id/toolbar"
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-13 12:44:51 -08:00
</RelativeLayout>