2012-07-19 14:22:03 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-01-13 10:11:20 +11:00
|
|
|
<FrameLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-05-24 14:31:48 -03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-08-24 13:06:01 +10:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-01-13 10:11:20 +11:00
|
|
|
android:id="@+id/rootView"
|
2019-02-25 15:21:37 -08:00
|
|
|
android:layout_width="match_parent"
|
2020-08-21 15:06:39 +10:00
|
|
|
android:layout_height="match_parent">
|
2015-07-24 13:22:28 -07:00
|
|
|
|
2020-08-19 10:06:26 +10:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
2019-05-24 14:31:48 -03:00
|
|
|
android:id="@+id/toolbar"
|
2015-07-24 13:22:28 -07:00
|
|
|
android:layout_width="match_parent"
|
2019-05-24 14:31:48 -03:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
2020-01-10 11:35:16 +11:00
|
|
|
app:contentInsetLeft="24dp"
|
2020-08-20 16:47:15 +10:00
|
|
|
app:contentInsetRight="20dp">
|
2015-07-24 13:22:28 -07:00
|
|
|
|
2020-01-10 11:35:16 +11:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2020-09-07 16:13:34 +10:00
|
|
|
<org.thoughtcrime.securesms.loki.views.ProfilePictureView
|
|
|
|
android:id="@+id/profilePictureView"
|
|
|
|
android:layout_width="@dimen/medium_profile_picture_size"
|
|
|
|
android:layout_height="@dimen/medium_profile_picture_size" />
|
|
|
|
|
2020-01-10 11:35:16 +11:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-07 16:13:34 +10:00
|
|
|
android:layout_marginStart="@dimen/medium_spacing"
|
2020-01-10 11:35:16 +11:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/titleTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 15:00:36 +11:00
|
|
|
android:maxLines="1"
|
|
|
|
android:ellipsize="end"
|
2020-01-10 11:35:16 +11:00
|
|
|
android:text="Conversation"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textSize="@dimen/large_font_size"
|
|
|
|
android:fontFamily="sans-serif-medium" />
|
|
|
|
|
2020-01-17 10:37:06 +11:00
|
|
|
<LinearLayout
|
2020-01-10 11:35:16 +11:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 10:37:06 +11:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/muteIndicatorImageView"
|
2020-08-24 15:33:01 +10:00
|
|
|
android:layout_width="18dp"
|
|
|
|
android:layout_height="18dp"
|
2020-08-24 13:06:01 +10:00
|
|
|
android:layout_gravity="center"
|
2020-08-24 15:33:01 +10:00
|
|
|
android:src="@drawable/ic_outline_notifications_off_24"
|
2020-08-24 13:06:01 +10:00
|
|
|
android:layout_marginRight="6dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
2020-01-17 10:37:06 +11:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/subtitleTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-22 15:28:39 +11:00
|
|
|
android:maxLines="1"
|
|
|
|
android:ellipsize="end"
|
2020-01-17 10:37:06 +11:00
|
|
|
android:text="26 members"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textSize="@dimen/small_font_size" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2020-01-10 11:35:16 +11:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-02-25 15:21:37 -08:00
|
|
|
|
2020-08-19 10:06:26 +10:00
|
|
|
</androidx.appcompat.widget.Toolbar>
|
2019-02-25 15:21:37 -08:00
|
|
|
|
2019-05-24 14:31:48 -03:00
|
|
|
<org.thoughtcrime.securesms.components.InputAwareLayout
|
|
|
|
android:id="@+id/layout_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2015-07-30 13:20:21 -07:00
|
|
|
|
2019-05-24 14:31:48 -03:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/conversation_container"
|
2019-02-01 09:06:59 -08:00
|
|
|
android:layout_width="match_parent"
|
2019-05-24 14:31:48 -03:00
|
|
|
android:layout_height="match_parent"
|
2019-03-20 22:25:19 -07:00
|
|
|
android:clipChildren="false"
|
2019-05-24 14:31:48 -03:00
|
|
|
android:clipToPadding="false"
|
|
|
|
android:gravity="bottom"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingTop="?attr/actionBarSize">
|
|
|
|
|
2020-01-16 14:35:51 +11:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/messageStatusProgressBar"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/accent_line_thickness"
|
|
|
|
android:paddingLeft="-2dp"
|
|
|
|
android:paddingRight="-2dp"
|
|
|
|
android:progressTint="@color/accent"
|
|
|
|
android:progressBackgroundTint="@color/transparent"
|
|
|
|
android:alpha="0"
|
|
|
|
android:indeterminate="false"
|
2020-03-17 11:02:05 +11:00
|
|
|
android:progress="0" />
|
2020-01-16 14:35:51 +11:00
|
|
|
|
2020-05-11 16:19:26 +10:00
|
|
|
<org.thoughtcrime.securesms.loki.views.SessionRestoreBannerView
|
2020-01-28 11:13:07 +11:00
|
|
|
android:id="@+id/sessionRestoreBannerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-05-24 14:31:48 -03:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/group_share_profile_view_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/group_share_profile_view"
|
|
|
|
android:layout="@layout/conversation_activity_group_share_profile_stub" />
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/unverified_banner_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/unverified_banner"
|
|
|
|
android:layout="@layout/conversation_activity_unverified_banner_stub" />
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/reminder_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/reminder"
|
|
|
|
android:layout="@layout/conversation_activity_reminderview_stub" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/fragment_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/attachment_editor_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/attachment_editor"
|
|
|
|
android:layout="@layout/conversation_activity_attachment_editor_stub" />
|
|
|
|
|
2019-10-10 13:53:02 +11:00
|
|
|
<LinearLayout
|
2019-05-24 14:31:48 -03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-10 16:35:32 +11:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false">
|
2019-10-10 13:53:02 +11:00
|
|
|
|
2020-01-16 15:15:08 +11:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/mentionCandidateSelectionViewContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1px"
|
2020-08-24 13:34:34 +10:00
|
|
|
android:background="?android:dividerHorizontal" />
|
2020-01-16 15:15:08 +11:00
|
|
|
|
|
|
|
<include layout="@layout/view_mention_candidate_selection" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1px"
|
2020-08-24 13:34:34 +10:00
|
|
|
android:background="?android:dividerHorizontal" />
|
2019-10-10 13:53:02 +11:00
|
|
|
|
2020-01-16 15:15:08 +11:00
|
|
|
</LinearLayout>
|
2019-10-10 13:53:02 +11:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false">
|
|
|
|
|
|
|
|
<include layout="@layout/conversation_input_panel" />
|
2019-05-24 14:31:48 -03:00
|
|
|
|
2019-10-10 13:53:02 +11:00
|
|
|
<include layout="@layout/conversation_search_nav" />
|
2019-05-24 14:31:48 -03:00
|
|
|
|
2019-10-10 13:53:02 +11:00
|
|
|
</FrameLayout>
|
2019-05-24 14:31:48 -03:00
|
|
|
|
2019-10-10 13:53:02 +11:00
|
|
|
</LinearLayout>
|
2019-05-24 14:31:48 -03:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/register_button"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="20dp"
|
|
|
|
android:text="@string/conversation_activity__enable_signal_messages"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<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:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-21 15:06:39 +10:00
|
|
|
android:background="?android:attr/windowBackground"
|
2019-05-24 14:31:48 -03:00
|
|
|
android:paddingStart="5dip"
|
|
|
|
android:text="160/160 (1)"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/emoji_drawer_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/emoji_drawer"
|
|
|
|
android:layout="@layout/conversation_activity_emojidrawer_stub" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</org.thoughtcrime.securesms.components.InputAwareLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|