fedilab-Android-App/app/src/main/res/layout/drawer_status_focused.xml

781 lines
36 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Thomas Schneider
2019-05-18 11:10:30 +02:00
This file is a part of Fedilab
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.
2019-05-18 11:10:30 +02:00
Fedilab 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.
2019-05-18 11:10:30 +02:00
You should have received a copy of the GNU General Public License along with Fedilab; if not,
see <http://www.gnu.org/licenses>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-12-03 19:19:36 +01:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main_container"
2018-10-31 16:13:11 +01:00
android:paddingTop="10dp"
2018-10-31 19:20:07 +01:00
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:divider="?android:dividerHorizontal"
android:showDividers="end"
2018-12-03 19:19:36 +01:00
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:baselineAligned="false">
<LinearLayout
android:layout_height="wrap_content"
2018-10-31 16:13:11 +01:00
android:layout_width="50dp"
android:orientation="vertical"
>
<RelativeLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginTop="5dp"
android:layout_centerHorizontal="true"
android:id="@+id/status_account_profile"
2018-12-10 14:58:45 +01:00
android:contentDescription="@string/profile_picture" />
2019-05-18 14:13:11 +02:00
<ImageView
android:id="@+id/status_account_bot"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="5dp"
android:background="@drawable/bot_background_round_corner"
android:padding="3dp"
android:src="@drawable/ic_bot"
android:visibility="gone" />
<ImageView
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_centerHorizontal="true"
android:visibility="gone"
android:id="@+id/status_account_profile_boost"
2018-12-10 14:58:45 +01:00
android:contentDescription="@string/profile_picture" />
<ImageView
android:id="@+id/status_account_profile_boost_by"
android:layout_height="30dp"
android:layout_width="30dp"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
2018-10-31 19:20:07 +01:00
android:layout_marginTop="20dp"
style="?attr/shapeBorder"
android:visibility="gone"
2018-12-10 14:58:45 +01:00
android:contentDescription="@string/profile_picture" />
</RelativeLayout>
<ImageView
android:layout_gravity="center_horizontal"
android:layout_marginTop="5dp"
android:id="@+id/new_element"
android:visibility="gone"
android:src="@drawable/ic_fiber_new"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2018-12-10 14:58:45 +01:00
android:contentDescription="@string/profile_picture" />
</LinearLayout>
2019-01-29 16:07:39 +01:00
2018-11-12 19:05:42 +01:00
<LinearLayout
android:id="@+id/left_buttons"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"/>
<LinearLayout
2018-10-31 19:20:07 +01:00
android:layout_marginStart="10dp"
android:layout_marginLeft="10dp"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/status_account_displayname"
android:maxLines="1"
2018-11-02 14:42:29 +01:00
android:textStyle="bold"
android:drawablePadding="2dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<LinearLayout
2018-11-01 11:13:02 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:id="@+id/cached_status"
android:visibility="gone"
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@drawable/ic_cached_black"
android:contentDescription="@string/cached_status" />
<TextView
android:id="@+id/status_account_displayname_owner"
android:maxLines="1"
android:drawablePadding="2dp"
android:textStyle="bold"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
2018-09-14 19:12:39 +02:00
<TextView
android:textSize="12sp"
android:maxLines="1"
android:ellipsize="end"
android:layout_width="wrap_content"
android:id="@+id/status_account_username"
android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/status_spoiler_container"
android:layout_width="match_parent"
android:orientation="vertical"
android:visibility="gone"
android:layout_height="wrap_content">
2019-05-18 11:10:30 +02:00
<app.fedilab.android.helper.CustomTextView
android:id="@+id/status_spoiler"
android:layout_marginBottom="10dp"
android:textIsSelectable="true"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<Button
android:id="@+id/status_spoiler_button"
android:textAllCaps="false"
android:drawableLeft="@drawable/ic_remove_red_eye"
android:drawableStart="@drawable/ic_remove_red_eye"
2018-10-31 10:52:23 +01:00
android:gravity="center_vertical"
android:drawablePadding="5dp"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:maxLines="1"
2018-10-31 10:52:23 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-03 14:45:55 +01:00
style="?attr/borderless"
android:text="@string/load_attachment_spoiler" />
</LinearLayout>
<LinearLayout
android:id="@+id/status_content_container"
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_height="wrap_content">
2019-05-18 11:10:30 +02:00
<app.fedilab.android.helper.CustomTextView
android:id="@+id/status_content"
android:textIsSelectable="true"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
2018-11-28 09:44:19 +01:00
<Button
android:id="@+id/status_show_more_content"
android:visibility="gone"
android:textAllCaps="false"
android:drawableLeft="@drawable/ic_more_toot_content"
android:drawableStart="@drawable/ic_more_toot_content"
android:gravity="center_vertical"
android:drawablePadding="5dp"
2018-11-28 11:24:59 +01:00
android:paddingTop="2dp"
android:paddingBottom="2dp"
2018-11-28 09:44:19 +01:00
android:maxLines="1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?attr/borderless"
2018-11-28 11:24:59 +01:00
android:text="@string/display_toot_truncate" />
<LinearLayout
android:id="@+id/status_content_translated_container"
android:visibility="gone"
android:layout_marginBottom="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/status_content_translated"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/yandex_translate"
android:layout_width="match_parent"
android:padding="2dp"
android:gravity="end"
android:text="Powered by Yandex.Translate"
android:layout_height="wrap_content"
tools:ignore="HardcodedText" />
</LinearLayout>
<LinearLayout
android:id="@+id/status_cardview"
2018-10-31 16:13:11 +01:00
android:layout_marginBottom="10dp"
android:visibility="gone"
2018-11-20 07:44:26 +01:00
android:background="@drawable/card_border_light"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-18 11:50:21 +01:00
android:padding="1dp"
android:orientation="horizontal">
<ImageView
android:layout_gravity="center"
android:id="@+id/status_cardview_image"
android:layout_width="80dp"
android:gravity="center"
2018-11-18 11:50:21 +01:00
android:scaleType="centerCrop"
android:layout_height="match_parent"
android:minHeight="80dp"
2018-12-10 14:58:45 +01:00
android:contentDescription="@string/card_view_image" />
<LinearLayout
android:orientation="vertical"
android:layout_width="0dp"
2018-11-18 11:50:21 +01:00
android:layout_marginLeft="10dp"
android:layout_marginStart="10dp"
android:layout_weight="1"
android:layout_height="wrap_content">
<TextView
android:textSize="14sp"
android:maxLines="1"
android:textStyle="bold"
android:id="@+id/status_cardview_title"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:layout_marginTop="5dp"
android:id="@+id/status_cardview_content"
android:layout_width="match_parent"
android:textSize="12sp"
android:maxLines="4"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/status_cardview_url"
android:layout_marginTop="5dp"
android:textSize="12sp"
android:maxLines="1"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
<FrameLayout
android:visibility="gone"
android:layout_gravity="center"
android:id="@+id/status_cardview_video"
2018-11-11 13:39:31 +01:00
android:layout_width="match_parent"
android:layout_height="220dp"
2018-11-07 11:03:32 +01:00
android:layout_marginTop="5dp"
2018-11-11 13:39:31 +01:00
android:layout_marginBottom="10dp"
>
2018-11-07 11:03:32 +01:00
<RelativeLayout
android:id="@+id/webview_preview"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/webview_preview_card"
2018-11-11 13:39:31 +01:00
android:scaleType="centerCrop"
2018-11-07 11:03:32 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent" />
<ImageView
android:layout_centerInParent="true"
android:layout_width="30dp"
2018-11-11 13:57:25 +01:00
android:src="@drawable/video_preview"
2018-11-07 11:03:32 +01:00
android:layout_height="30dp"
2018-12-10 14:58:45 +01:00
android:contentDescription="@string/play_video" />
2018-11-07 11:03:32 +01:00
</RelativeLayout>
<WebView
2018-11-07 11:03:32 +01:00
android:visibility="gone"
android:id="@+id/status_cardview_webview"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout>
<RelativeLayout
android:layout_width="match_parent"
2019-05-06 18:32:38 +02:00
android:layout_height="wrap_content"
>
<RelativeLayout
android:id="@+id/status_horizontal_document_container"
android:visibility="gone"
android:layout_marginBottom="10dp"
android:layout_width="match_parent"
2019-05-06 18:32:38 +02:00
android:layout_height="wrap_content">
<LinearLayout
2019-05-06 18:32:38 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-05-06 18:32:38 +02:00
android:orientation="vertical"
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:orientation="horizontal"
android:baselineAligned="false">
<RelativeLayout
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
2019-05-06 18:32:38 +02:00
>
<ImageView
android:id="@+id/status_prev1_h"
android:layout_width="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:layout_height="match_parent"
/>
<ImageView
android:id="@+id/status_prev1_play_h"
android:visibility="gone"
android:layout_centerInParent="true"
android:layout_width="30dp"
android:src="@drawable/ic_play_arrow"
android:layout_height="30dp"
android:contentDescription="@string/play_video" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/horizontal_second_image"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
2019-05-06 18:32:38 +02:00
android:layout_marginLeft="1dp"
android:layout_marginStart="1dp"
>
<ImageView
android:id="@+id/status_prev2_h"
android:scaleType="fitCenter"
android:layout_width="match_parent"
android:adjustViewBounds="true"
android:layout_height="match_parent"
/>
<ImageView
android:id="@+id/status_prev2_play_h"
android:visibility="gone"
android:layout_centerInParent="true"
android:layout_width="30dp"
android:src="@drawable/ic_play_arrow"
android:layout_height="30dp"
android:contentDescription="@string/play_video" />
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:orientation="horizontal"
android:layout_marginTop="1dp"
android:baselineAligned="false">
<RelativeLayout
android:layout_width="0dp"
android:layout_weight="1"
2018-09-23 11:56:53 +02:00
android:layout_height="match_parent"
2019-05-06 18:32:38 +02:00
>
<ImageView
android:id="@+id/status_prev3_h"
android:layout_width="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:layout_height="match_parent"
/>
<ImageView
android:id="@+id/status_prev3_play_h"
android:visibility="gone"
android:layout_centerInParent="true"
android:layout_width="30dp"
android:src="@drawable/ic_play_arrow"
android:layout_height="30dp"
android:contentDescription="@string/play_video" />
</RelativeLayout>
<RelativeLayout
android:layout_width="0dp"
android:layout_weight="1"
2018-09-23 11:56:53 +02:00
android:layout_height="match_parent"
2019-05-06 18:32:38 +02:00
android:layout_marginLeft="1dp"
android:layout_marginStart="1dp"
>
<ImageView
android:id="@+id/status_prev4_h"
android:layout_width="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:layout_height="match_parent"
/>
<ImageView
android:id="@+id/status_prev4_play_h"
android:visibility="gone"
android:layout_centerInParent="true"
android:layout_width="30dp"
android:src="@drawable/ic_play_arrow"
android:layout_height="30dp"
android:contentDescription="@string/play_video" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>
<ImageView
2019-05-06 18:32:38 +02:00
android:id="@+id/hide_preview_h"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
2019-07-03 17:13:54 +02:00
android:layout_width="34dp"
android:src="@drawable/ic_remove_red_eye_img"
2019-07-03 17:13:54 +02:00
android:layout_height="34dp"
android:padding="5dp"
2018-12-10 14:58:45 +01:00
android:contentDescription="@string/hide_media" />
</RelativeLayout>
<LinearLayout
2019-05-06 18:32:38 +02:00
android:visibility="gone"
android:layout_marginBottom="10dp"
android:id="@+id/status_document_container"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="200dp"
android:baselineAligned="false">
<RelativeLayout
2019-05-06 18:32:38 +02:00
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
>
<ImageView
2019-05-06 18:32:38 +02:00
android:id="@+id/status_prev1"
android:layout_width="match_parent"
android:scaleType="centerCrop"
android:layout_height="match_parent"
2018-12-10 14:58:45 +01:00
/>
<ImageView
2019-05-06 18:32:38 +02:00
android:id="@+id/status_prev1_play"
android:visibility="gone"
android:layout_centerInParent="true"
android:layout_width="30dp"
android:src="@drawable/ic_play_arrow"
android:layout_height="30dp"
2018-12-10 14:58:45 +01:00
android:contentDescription="@string/play_video" />
2019-05-06 18:32:38 +02:00
<ImageView
android:id="@+id/hide_preview"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
2019-07-03 17:13:54 +02:00
android:layout_width="34dp"
2019-05-06 18:32:38 +02:00
android:src="@drawable/ic_remove_red_eye_img"
2019-07-03 17:13:54 +02:00
android:layout_height="34dp"
android:padding="5dp"
2019-05-06 18:32:38 +02:00
android:contentDescription="@string/hide_media" />
</RelativeLayout>
<LinearLayout
2019-05-06 18:32:38 +02:00
android:orientation="vertical"
android:layout_width="0dp"
android:layout_marginLeft="2dp"
android:layout_marginStart="2dp"
android:id="@+id/status_container2"
android:layout_weight="1"
2019-05-06 18:32:38 +02:00
android:layout_height="match_parent">
<RelativeLayout
2019-05-06 18:32:38 +02:00
android:layout_width="match_parent"
android:scaleType="centerCrop"
android:layout_height="0dp"
android:layout_weight="1">
<ImageView
2019-05-06 18:32:38 +02:00
android:id="@+id/status_prev2"
android:layout_width="match_parent"
android:scaleType="centerCrop"
android:layout_height="match_parent"
2018-12-10 14:58:45 +01:00
/>
<ImageView
android:visibility="gone"
2019-05-06 18:32:38 +02:00
android:id="@+id/status_prev2_play"
android:layout_centerInParent="true"
android:layout_width="30dp"
android:src="@drawable/ic_play_arrow"
android:layout_height="30dp"
2019-05-06 18:32:38 +02:00
android:contentDescription="@string/play_video" />
</RelativeLayout>
2019-05-06 18:32:38 +02:00
<LinearLayout
android:layout_weight="1"
android:layout_width="match_parent"
android:orientation="horizontal"
android:layout_marginTop="2dp"
android:id="@+id/status_container3"
android:layout_height="0dp"
android:baselineAligned="false">
<RelativeLayout
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/status_prev3"
android:layout_width="match_parent"
android:scaleType="centerCrop"
android:layout_height="match_parent"
/>
<ImageView
android:id="@+id/status_prev3_play"
android:layout_centerInParent="true"
android:layout_width="30dp"
android:src="@drawable/ic_play_arrow"
android:visibility="gone"
android:layout_height="30dp"
android:contentDescription="@string/play_video"/>
</RelativeLayout>
<RelativeLayout
android:layout_marginLeft="2dp"
android:layout_marginStart="2dp"
android:layout_weight="1"
android:layout_width="0dp"
android:id="@+id/status_prev4_container"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/status_prev4"
android:layout_width="match_parent"
android:scaleType="centerCrop"
android:layout_height="match_parent"
/>
<ImageView
android:id="@+id/status_prev4_play"
android:layout_centerInParent="true"
android:visibility="gone"
android:layout_width="30dp"
android:src="@drawable/ic_play_arrow"
android:layout_height="30dp"
android:contentDescription="@string/play_video"/>
</RelativeLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
2019-05-06 18:32:38 +02:00
<RelativeLayout
android:visibility="gone"
android:id="@+id/status_show_more"
android:layout_width="match_parent"
2019-05-08 09:37:17 +02:00
android:layout_height="match_parent"
android:layout_centerInParent="true"
2019-05-07 19:20:00 +02:00
>
2019-05-06 18:32:38 +02:00
<TextView
2019-05-07 18:10:49 +02:00
android:textSize="20sp"
android:gravity="center"
2019-05-06 18:32:38 +02:00
android:id="@+id/show_more_content"
2019-05-07 19:20:00 +02:00
android:layout_gravity="center"
android:layout_centerInParent="true"
android:padding="12dp"
2019-05-08 09:37:17 +02:00
android:background="@drawable/rounded_label_sensitive"
2019-05-07 19:20:00 +02:00
android:textColor="#ffffffff"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
2019-05-06 18:32:38 +02:00
</RelativeLayout>
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/status_spoiler_mention_container"
android:layout_width="match_parent"
android:orientation="vertical"
android:visibility="gone"
android:layout_height="wrap_content">
<TextView
android:id="@+id/status_mention_spoiler"
android:layout_marginBottom="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
2019-03-24 16:38:12 +01:00
<include
android:layout_width="match_parent"
android:layout_height="wrap_content"
layout="@layout/layout_poll" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp">
<!-- Fedilab Features button -->
<ImageButton
android:id="@+id/fedilab_features"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:background="@color/mastodonC4"
android:contentDescription="@string/app_features"
android:padding="2dp"
android:scaleType="fitCenter"
android:src="@drawable/ic_logo_button"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/status_toot_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:maxLines="1"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/status_toot_app"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:maxLines="1"
android:textColor="?attr/colorAccent"
android:textSize="16sp"
android:textStyle="italic"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/status_toot_date" />
<include layout="@layout/custom_fedilab_features" />
</androidx.constraintlayout.widget.ConstraintLayout>
2019-06-11 11:54:33 +02:00
2019-06-11 19:38:26 +02:00
<androidx.constraintlayout.widget.ConstraintLayout
2019-06-11 13:17:53 +02:00
android:id="@+id/status_action_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-08-24 16:20:04 +02:00
app:layout_constraintBottom_toBottomOf="parent"
2019-06-11 11:54:33 +02:00
android:layout_marginBottom="10dp">
2019-06-16 17:38:15 +02:00
<ImageView
2018-10-31 16:13:11 +01:00
android:id="@+id/status_reply"
2019-06-16 17:38:15 +02:00
android:layout_width="30dp"
android:layout_height="30dp"
android:src="@drawable/ic_reply"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/status_reply_count"
android:layout_width="wrap_content"
2019-06-11 11:54:33 +02:00
android:layout_height="wrap_content"
2019-06-16 17:38:15 +02:00
android:layout_marginStart="2dp"
2019-06-11 11:54:33 +02:00
app:layout_constraintBottom_toBottomOf="parent"
2019-06-16 17:38:15 +02:00
app:layout_constraintStart_toEndOf="@id/status_reply"
2019-06-11 11:54:33 +02:00
app:layout_constraintTop_toTopOf="parent" />
<com.varunest.sparkbutton.SparkButton
android:id="@+id/spark_button_reblog"
android:layout_width="30dp"
android:layout_height="30dp"
2018-12-03 19:19:36 +01:00
android:layout_marginStart="15dp"
android:layout_marginLeft="15dp"
2019-06-11 11:54:33 +02:00
android:contentDescription="@string/reblog"
app:layout_constraintBottom_toBottomOf="parent"
2019-06-16 17:38:15 +02:00
app:layout_constraintStart_toEndOf="@id/status_reply_count"
2019-06-11 11:54:33 +02:00
app:layout_constraintTop_toTopOf="parent"
app:sparkbutton_activeImage="@drawable/ic_repeat_boost"
app:sparkbutton_iconSize="20dp"
app:sparkbutton_inActiveImage="@drawable/ic_repeat" />
<TextView
android:id="@+id/status_reblog_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawablePadding="2dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/spark_button_reblog"
app:layout_constraintTop_toTopOf="parent" />
<com.varunest.sparkbutton.SparkButton
android:id="@+id/spark_button_fav"
android:layout_width="30dp"
android:layout_height="30dp"
2018-12-03 19:19:36 +01:00
android:layout_marginStart="15dp"
2019-06-11 11:54:33 +02:00
android:layout_marginLeft="15dp"
android:contentDescription="@string/favourite"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/status_reblog_count"
app:layout_constraintTop_toTopOf="parent"
app:sparkbutton_activeImage="@drawable/ic_star"
app:sparkbutton_iconSize="20dp"
app:sparkbutton_inActiveImage="@drawable/ic_star_border" />
<TextView
android:id="@+id/status_favorite_count"
android:layout_width="wrap_content"
2019-06-11 11:54:33 +02:00
android:layout_height="wrap_content"
android:drawablePadding="2dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/spark_button_fav"
app:layout_constraintTop_toTopOf="parent" />
2019-01-30 09:50:07 +01:00
<ImageView
android:id="@+id/status_remove"
android:layout_width="20dp"
android:layout_height="20dp"
2019-06-11 11:54:33 +02:00
android:layout_marginStart="15dp"
android:layout_marginLeft="15dp"
android:layout_marginTop="5dp"
2019-01-30 09:50:07 +01:00
android:contentDescription="@string/delete"
android:src="@drawable/ic_clear_toot"
2019-06-11 11:54:33 +02:00
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/status_favorite_count"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/status_pin"
android:layout_width="20dp"
android:layout_height="20dp"
2019-06-11 11:54:33 +02:00
android:layout_gravity="center_vertical"
android:layout_marginStart="20dp"
android:layout_marginLeft="20dp"
2018-12-10 14:58:45 +01:00
android:contentDescription="@string/pin_add"
2019-06-11 11:54:33 +02:00
android:src="@drawable/ic_pin_drop"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/status_remove"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/status_privacy"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_marginEnd="15dp"
android:layout_marginRight="15dp"
android:contentDescription="@string/toot_visibility_tilte"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/status_more"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/status_more"
android:layout_width="25dp"
android:layout_height="25dp"
android:contentDescription="@string/display_toot_truncate"
android:src="@drawable/ic_more_horiz"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2019-06-11 19:38:26 +02:00
</androidx.constraintlayout.widget.ConstraintLayout>
2019-06-11 11:54:33 +02:00
2019-07-03 18:24:07 +02:00
<include
layout="@layout/layout_quick_reply"
2019-06-26 13:21:07 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-07-03 18:24:07 +02:00
android:layout_marginTop="10dp" />
2019-06-26 13:21:07 +02:00
<Button
android:id="@+id/fetch_more"
2019-08-31 15:52:20 +02:00
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-08-31 15:52:20 +02:00
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:maxLines="1"
android:text="@string/fetch_more_toots"
android:textAllCaps="false"
android:textSize="16sp"
android:textStyle="bold"
android:visibility="gone" />
</LinearLayout>