2018-11-28 19:15:30 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
2018-08-08 02:37:03 +03:00
|
|
|
~ Nextcloud Talk application
|
|
|
|
~
|
2022-08-31 12:55:32 +03:00
|
|
|
~ @author Andy Scherzinger
|
2018-08-08 02:37:03 +03:00
|
|
|
~ @author Mario Danic
|
2022-08-31 12:55:32 +03:00
|
|
|
~ Copyright (C) 2022 Andy Scherzinger <info@andy-scherzinger.de>
|
2018-08-08 02:37:03 +03:00
|
|
|
~ Copyright (C) 2017-2018 Mario Danic <mario@lovelyhq.com>
|
|
|
|
~
|
|
|
|
~ This program 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.
|
|
|
|
~
|
|
|
|
~ This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-08-31 12:55:32 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-31 12:55:32 +03:00
|
|
|
android:layout_marginStart="@dimen/standard_margin"
|
|
|
|
android:layout_marginTop="@dimen/standard_eighth_margin"
|
|
|
|
android:layout_marginEnd="@dimen/standard_margin"
|
|
|
|
android:layout_marginBottom="@dimen/standard_eighth_margin">
|
2018-08-08 02:37:03 +03:00
|
|
|
|
2020-01-13 14:08:00 +03:00
|
|
|
<com.google.android.flexbox.FlexboxLayout
|
2022-08-31 12:55:32 +03:00
|
|
|
android:id="@id/container"
|
2018-08-08 02:37:03 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-13 14:08:00 +03:00
|
|
|
android:layout_centerHorizontal="true"
|
2022-08-31 12:55:32 +03:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/standard_half_padding"
|
2020-01-13 14:08:00 +03:00
|
|
|
app:alignContent="stretch"
|
|
|
|
app:alignItems="stretch"
|
|
|
|
app:flexWrap="wrap"
|
|
|
|
app:justifyContent="flex_end">
|
2018-08-08 02:37:03 +03:00
|
|
|
|
2019-09-02 15:12:31 +03:00
|
|
|
<androidx.emoji.widget.EmojiTextView
|
2018-08-08 02:37:03 +03:00
|
|
|
android:id="@+id/messageText"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
2022-08-31 19:04:47 +03:00
|
|
|
android:layout_marginStart="@dimen/standard_margin"
|
|
|
|
android:layout_marginEnd="@dimen/standard_margin"
|
2018-08-08 02:37:03 +03:00
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:textAlignment="center"
|
2020-10-12 17:14:52 +03:00
|
|
|
android:textColor="@color/textColorMaxContrast"
|
2020-01-13 14:08:00 +03:00
|
|
|
android:textSize="14sp"
|
|
|
|
app:layout_alignSelf="flex_start"
|
|
|
|
app:layout_flexGrow="1"
|
2022-08-31 12:55:32 +03:00
|
|
|
app:layout_wrapBefore="true"
|
|
|
|
tools:text="System message" />
|
2018-08-08 02:37:03 +03:00
|
|
|
|
2020-01-13 14:08:00 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@id/messageTime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-31 12:55:32 +03:00
|
|
|
android:layout_marginStart="@dimen/standard_half_margin"
|
|
|
|
android:layout_marginEnd="@dimen/standard_margin"
|
|
|
|
android:gravity="end"
|
2020-01-13 14:08:00 +03:00
|
|
|
android:textColor="@color/warm_grey_four"
|
|
|
|
android:textSize="12sp"
|
|
|
|
app:layout_alignSelf="center"
|
|
|
|
app:layout_flexGrow="1"
|
2022-08-31 12:55:32 +03:00
|
|
|
app:layout_wrapBefore="false"
|
|
|
|
tools:text="17:30" />
|
2020-01-13 14:08:00 +03:00
|
|
|
</com.google.android.flexbox.FlexboxLayout>
|
2018-08-08 02:37:25 +03:00
|
|
|
</RelativeLayout>
|