| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <?xml version="1.0" encoding="utf-8"?><!--
- ~ Copyright (c) 2020 Threema GmbH
- ~ All rights reserved.
- -->
- <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/parent_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <com.google.android.material.appbar.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <com.google.android.material.appbar.MaterialToolbar
- android:id="@+id/toolbar"
- style="?attr/materialToolbarStyle"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- app:navigationIcon="?attr/homeAsUpIndicator"
- app:menu="@menu/activity_text_chat_bubble"/>
- </com.google.android.material.appbar.AppBarLayout>
- <androidx.core.widget.NestedScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <com.google.android.material.card.MaterialCardView
- android:id="@+id/card_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="16dp"
- app:cardBackgroundColor="@color/light_bubble_send"
- app:cardCornerRadius="16dp"
- app:cardElevation="0dp"
- app:contentPadding="4dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="12dp"
- android:layout_marginRight="12dp">
- <ch.threema.app.emojis.EmojiConversationTextView
- android:id="@+id/text_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:linksClickable="true"
- android:textColor="?android:textColorPrimary"
- android:textSize="?attr/font_large"
- android:textIsSelectable="true"
- app:layout_constraintBottom_toTopOf="@+id/footer"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <FrameLayout
- android:id="@+id/footer"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:layout_marginLeft="-8dp"
- android:layout_marginRight="-8dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent">
- </FrameLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </com.google.android.material.card.MaterialCardView>
- <com.google.android.material.chip.Chip
- android:id="@+id/back_button"
- style="@style/Threema.Chip.VideoTranscoder"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="16dp"
- android:layout_marginBottom="8dp"
- android:layout_marginTop="8dp"
- android:text="@string/back"
- app:layout_constraintTop_toBottomOf="@+id/card_view"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"/>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.core.widget.NestedScrollView>
- </androidx.coordinatorlayout.widget.CoordinatorLayout>
|