Commit 6541af67 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Add sorting by layout and chat rooms app bar.

parent b0726934
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.appbar.AppBarLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_scrollFlags="scroll|enterAlways"
app:navigationIcon="?android:attr/homeAsUpIndicator"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<TextView
android:id="@+id/text_toolbar_title"
style="@style/ChatRoom.ChatName.TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="Product Team" />
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="@dimen/screen_edge_left_and_right_margins">
<TextView
android:id="@+id/text_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableStart="@drawable/ic_action_message_star_24dp"
android:drawablePadding="16dp"
android:text="@string/msg_sort_by_activity" />
<TextView
android:id="@+id/text_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:drawableStart="@drawable/ic_action_message_star_24dp"
android:drawablePadding="16dp"
android:text="@string/msg_sort_by_name" />
<View
android:id="@+id/view_divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="16dp"
android:background="@color/colorDividerMessageComposer" />
<TextView
android:id="@+id/text_unread_on_top"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:drawableStart="@drawable/ic_action_message_star_24dp"
android:drawablePadding="16dp"
android:text="@string/msg_group_by_unread_on_top" />
<TextView
android:id="@+id/text_group_by_type"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:drawableStart="@drawable/ic_action_message_star_24dp"
android:drawablePadding="16dp"
android:text="@string/msg_group_by_type" />
<TextView
android:id="@+id/text_group_by_favorites"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:drawableStart="@drawable/ic_action_message_star_24dp"
android:drawablePadding="16dp"
android:text="@string/msg_group_by_favorites" />
</LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment