mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
128 lines
5.5 KiB
XML
128 lines
5.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2019 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/>.
|
|
-->
|
|
<androidx.constraintlayout.widget.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:id="@+id/contentView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:context="dev.octoshrimpy.quik.feature.compose.ComposeActivity">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/contacts"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:background="?android:attr/windowBackground"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar"
|
|
tools:listitem="@layout/contact_list_item"
|
|
android:textDirection="ltr" />
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
style="@style/Toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
app:layout_constrainedHeight="true"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:animateLayoutChanges="true">
|
|
|
|
<dev.octoshrimpy.quik.common.widget.QkEditText
|
|
android:id="@+id/search"
|
|
style="@style/ToolbarText"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:minHeight="40dp"
|
|
android:background="@drawable/rounded_rectangle_24dp"
|
|
android:backgroundTint="?attr/bubbleColor"
|
|
android:hint="@string/title_compose"
|
|
android:inputType="textFilter|textNoSuggestions"
|
|
android:privateImeOptions="nm"
|
|
android:maxLines="1"
|
|
android:paddingStart="12dp"
|
|
android:paddingEnd="12dp"
|
|
android:textColorHint="?android:attr/textColorTertiary"
|
|
app:textSize="primary"
|
|
tools:textSize="16sp" />
|
|
|
|
<!-- <dev.octoshrimpy.quik.common.widget.QkEditText-->
|
|
<!-- android:id="@+id/search"-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="match_parent"-->
|
|
<!-- android:layout_marginTop="8dp"-->
|
|
<!-- android:layout_marginEnd="8dp"-->
|
|
<!-- android:layout_marginBottom="8dp"-->
|
|
<!-- android:background="@drawable/rounded_rectangle_24dp"-->
|
|
<!-- android:backgroundTint="?attr/bubbleColor"-->
|
|
<!-- android:hint="@string/title_compose"-->
|
|
<!-- android:imeOptions="flagNoExtractUi"-->
|
|
<!-- android:inputType="textFilter|textNoSuggestions"-->
|
|
<!-- android:padding="8dp"-->
|
|
<!-- android:paddingStart="16dp"-->
|
|
<!-- android:paddingEnd="40dp"-->
|
|
<!-- android:privateImeOptions="nm"-->
|
|
<!-- android:textColor="?android:attr/textColorPrimary"-->
|
|
<!-- android:textColorHint="?android:attr/textColorTertiary"-->
|
|
<!-- app:textSize="primary" />-->
|
|
|
|
<ImageView
|
|
android:id="@+id/cancel"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_gravity="center_vertical|end"
|
|
android:layout_marginEnd="8dp"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
android:padding="8dp"
|
|
android:src="@drawable/ic_cancel_black_24dp"
|
|
android:visibility="gone"
|
|
app:tint="?android:attr/textColorSecondary" />
|
|
|
|
</FrameLayout>
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="8dp"
|
|
android:background="@drawable/ab_shadow"
|
|
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" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|