forked from upstream-mirrors/quik
141 lines
5.7 KiB
XML
141 lines
5.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2017 Moez Bhatti <moez.bhatti@gmail.com>
|
|
~
|
|
~ This file is part of QKSMS.
|
|
~
|
|
~ QKSMS is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ QKSMS is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License
|
|
~ along with QKSMS. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<android.support.constraint.ConstraintLayout 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="match_parent">
|
|
|
|
<include
|
|
android:id="@+id/toolbar"
|
|
layout="@layout/toolbar"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<android.support.v4.widget.NestedScrollView
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
app:layoutManager="android.support.v7.widget.LinearLayoutManager"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/items"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/recipients"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="8dp"
|
|
android:paddingTop="8dp"
|
|
app:layoutManager="android.support.v7.widget.LinearLayoutManager"
|
|
tools:layout_height="72dp"
|
|
tools:listitem="@layout/conversation_recipient_list_item" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:background="?android:attr/divider" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:id="@+id/name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
app:icon="@drawable/ic_people_black_24dp"
|
|
app:title="@string/info_name" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:id="@+id/notifications"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:icon="@drawable/ic_notifications_black_24dp"
|
|
app:title="@string/info_notifications" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:id="@+id/themePrefs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:icon="@drawable/ic_palette_black_24dp"
|
|
app:title="@string/info_theme" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:id="@+id/archive"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:icon="@drawable/ic_archive_black_24dp"
|
|
app:title="@string/info_archive" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:id="@+id/block"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:icon="@drawable/ic_block_black_24dp"
|
|
app:title="@string/info_block" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:id="@+id/delete"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:icon="@drawable/ic_delete_black_24dp"
|
|
app:title="@string/info_delete" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:background="?android:attr/divider" />
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/media"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:nestedScrollingEnabled="false"
|
|
app:layoutManager="android.support.v7.widget.GridLayoutManager"
|
|
app:spanCount="3"
|
|
tools:listitem="@layout/conversation_media_list_item" />
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="8dp"
|
|
android:background="@drawable/ab_shadow"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?android:attr/divider"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
</android.support.constraint.ConstraintLayout> |