mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-02 14:35:21 +00:00
1b44bdcd3c
// FREEBIE
114 lines
5.1 KiB
XML
114 lines
5.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<org.thoughtcrime.securesms.components.InputAwareLayout
|
|
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/layout_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<org.thoughtcrime.securesms.components.camera.QuickAttachmentDrawer
|
|
android:id="@+id/quick_attachment_drawer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout android:id="@+id/conversation_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingTop="?attr/actionBarSize"
|
|
android:gravity="bottom"
|
|
android:clipToPadding="false"
|
|
android:clipChildren="false">
|
|
|
|
<org.thoughtcrime.securesms.components.reminder.ReminderView
|
|
android:id="@+id/reminder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<FrameLayout android:id="@+id/fragment_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<FrameLayout android:id="@+id/attachment_editor"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:background="?android:windowBackground"
|
|
android:visibility="gone">
|
|
|
|
<org.thoughtcrime.securesms.components.RemovableEditableMediaView
|
|
android:id="@+id/removable_media_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center">
|
|
|
|
<org.thoughtcrime.securesms.components.location.SignalMapView
|
|
android:id="@+id/attachment_location"
|
|
android:layout_width="210dp"
|
|
android:layout_height="210dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:visibility="gone"/>
|
|
|
|
<org.thoughtcrime.securesms.components.ThumbnailView
|
|
android:id="@+id/attachment_thumbnail"
|
|
android:layout_width="230dp"
|
|
android:layout_height="150dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:visibility="gone"
|
|
android:contentDescription="@string/conversation_activity__attachment_thumbnail"
|
|
app:backgroundColorHint="?conversation_background" />
|
|
|
|
<org.thoughtcrime.securesms.components.AudioView
|
|
android:id="@+id/attachment_audio"
|
|
android:layout_width="210dp"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
android:paddingTop="15dp"
|
|
android:paddingBottom="15dp"
|
|
app:widgetBackground="@color/white"
|
|
app:foregroundTintColor="@color/grey_500"
|
|
app:backgroundTintColor="@color/white"/>
|
|
|
|
</org.thoughtcrime.securesms.components.RemovableEditableMediaView>
|
|
|
|
</FrameLayout>
|
|
|
|
<include layout="@layout/conversation_input_panel"/>
|
|
|
|
<Button android:id="@+id/unblock_button"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="20dp"
|
|
android:text="@string/ConversationActivity_unblock"
|
|
android:visibility="gone"/>
|
|
|
|
<Button android:id="@+id/make_default_sms_button"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="20dp"
|
|
android:text="@string/conversation_activity__enable_signal_for_sms"
|
|
android:visibility="gone"/>
|
|
|
|
<TextView android:id="@+id/space_left"
|
|
android:paddingLeft="5dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
android:background="?android:windowBackground"
|
|
android:text="160/160 (1)" />
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiDrawer
|
|
android:id="@+id/emoji_drawer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|
|
</org.thoughtcrime.securesms.components.camera.QuickAttachmentDrawer>
|
|
</org.thoughtcrime.securesms.components.InputAwareLayout>
|