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

599 lines
29 KiB
XML
Raw Normal View History

2019-09-06 17:55:14 +02:00
<?xml version="1.0" encoding="utf-8"?><!--
2017-05-05 16:36:04 +02:00
Copyright 2017 Thomas Schneider
2019-05-18 11:10:30 +02:00
This file is a part of Fedilab
2017-05-05 16:36:04 +02:00
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
2017-05-05 16:36:04 +02:00
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,
2017-05-05 16:36:04 +02:00
see <http://www.gnu.org/licenses>.
-->
2019-09-06 17:55:14 +02:00
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-11-15 16:32:25 +01:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2017-08-23 09:56:42 +02:00
xmlns:tools="http://schemas.android.com/tools"
2017-05-05 16:36:04 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2017-08-23 09:56:42 +02:00
android:fitsSystemWindows="true"
2019-05-18 11:10:30 +02:00
tools:context="app.fedilab.android.activities.ShowAccountActivity">
2019-09-06 17:55:14 +02:00
2019-06-11 19:38:26 +02:00
<com.google.android.material.appbar.AppBarLayout
2017-08-23 09:56:42 +02:00
android:id="@+id/appBar"
2017-05-05 16:36:04 +02:00
android:layout_width="match_parent"
2017-05-26 17:20:36 +02:00
android:layout_height="wrap_content"
2019-11-20 16:33:09 +01:00
android:background="@color/cyanea_primary_dark"
2019-11-15 16:32:25 +01:00
android:fitsSystemWindows="true">
2019-09-06 17:55:14 +02:00
2019-06-11 19:38:26 +02:00
<com.google.android.material.appbar.CollapsingToolbarLayout
2017-07-31 19:29:14 +02:00
android:layout_width="match_parent"
2019-11-12 18:49:20 +01:00
2017-10-15 15:09:09 +02:00
android:layout_height="wrap_content"
2017-08-23 09:56:42 +02:00
android:fitsSystemWindows="true"
2017-10-14 10:14:55 +02:00
app:expandedTitleMarginEnd="64dp"
2019-11-15 16:32:25 +01:00
app:expandedTitleMarginStart="48dp"
app:layout_scrollFlags="scroll">
2019-09-06 17:55:14 +02:00
2017-10-15 15:09:09 +02:00
<RelativeLayout
2017-08-23 09:56:42 +02:00
android:layout_width="match_parent"
2017-10-15 15:09:09 +02:00
android:layout_height="wrap_content">
2019-08-02 18:06:30 +02:00
<androidx.constraintlayout.widget.ConstraintLayout
2017-10-15 15:09:09 +02:00
android:id="@+id/top_banner"
android:layout_width="match_parent"
2019-08-02 18:06:30 +02:00
android:layout_height="wrap_content">
2017-10-15 15:09:09 +02:00
<ImageView
android:id="@+id/banner_pp"
android:layout_width="match_parent"
2019-08-02 18:06:30 +02:00
android:layout_height="@dimen/layout_height_header"
android:contentDescription="@string/profile_banner"
2017-10-15 15:09:09 +02:00
android:scaleType="centerCrop"
2019-08-05 10:59:21 +02:00
android:src="@drawable/default_banner"
2017-10-15 15:09:09 +02:00
app:layout_collapseMode="parallax"
2019-08-02 18:06:30 +02:00
app:layout_constraintTop_toTopOf="parent" />
2017-12-02 12:23:38 +01:00
<ImageView
2017-11-03 19:12:34 +01:00
android:id="@+id/account_pp"
2019-11-15 16:32:25 +01:00
style="@style/Widget.AppCompat.Button.Colored"
2019-08-02 18:06:30 +02:00
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_margin="10dp"
2019-11-08 18:58:12 +01:00
android:background="@drawable/account_pp_border"
2019-08-02 18:06:30 +02:00
android:contentDescription="@string/profile_picture"
2019-08-02 20:52:05 +02:00
android:padding="2dp"
2019-08-02 18:06:30 +02:00
app:layout_constraintBottom_toBottomOf="@id/banner_pp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/banner_pp"
app:layout_scrollFlags="scroll" />
2019-08-02 13:41:08 +02:00
2019-08-04 10:00:21 +02:00
<ImageButton
2017-11-03 19:12:34 +01:00
android:id="@+id/account_follow"
2019-11-15 16:32:25 +01:00
style="@style/Widget.AppCompat.Button.Colored"
2019-08-04 10:00:21 +02:00
android:layout_width="45dp"
android:layout_height="45dp"
2019-08-02 18:06:30 +02:00
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
2019-11-15 16:32:25 +01:00
android:contentDescription="@string/make_an_action"
2019-08-04 10:00:21 +02:00
android:scaleType="fitCenter"
2019-08-02 18:06:30 +02:00
android:visibility="gone"
app:layout_constraintStart_toEndOf="@id/account_pp"
2019-11-15 16:32:25 +01:00
app:layout_constraintTop_toBottomOf="@id/banner_pp" />
2019-08-02 18:06:30 +02:00
2019-08-04 10:00:21 +02:00
<ImageButton
2017-11-03 19:12:34 +01:00
android:id="@+id/header_edit_profile"
2019-11-15 16:32:25 +01:00
style="@style/Widget.AppCompat.Button.Colored"
2019-08-04 10:00:21 +02:00
android:layout_width="45dp"
android:layout_height="45dp"
2019-08-02 18:06:30 +02:00
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
2019-11-15 16:32:25 +01:00
android:contentDescription="@string/edit_profile"
2019-08-04 10:00:21 +02:00
android:scaleType="fitCenter"
2019-11-15 16:32:25 +01:00
android:src="@drawable/ic_edit"
2017-11-03 19:12:34 +01:00
android:visibility="gone"
2019-08-02 18:06:30 +02:00
app:layout_constraintStart_toEndOf="@id/account_pp"
2019-11-15 16:32:25 +01:00
app:layout_constraintTop_toBottomOf="@id/banner_pp" />
2019-09-12 19:15:14 +02:00
<ImageButton
android:id="@+id/account_personal_note"
2019-11-15 16:32:25 +01:00
style="@style/Widget.AppCompat.Button.Colored"
2019-09-12 19:15:14 +02:00
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
2019-11-15 16:32:25 +01:00
android:contentDescription="@string/action_add_notes"
2019-09-12 19:15:14 +02:00
android:scaleType="fitCenter"
2019-11-15 16:32:25 +01:00
android:src="@drawable/ic_note"
2019-09-12 19:15:14 +02:00
android:visibility="gone"
app:layout_constraintStart_toEndOf="@id/account_follow"
2019-11-15 16:32:25 +01:00
app:layout_constraintTop_toBottomOf="@id/banner_pp" />
<ImageButton
android:id="@+id/account_notification"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:contentDescription="@string/set_notify"
android:scaleType="fitCenter"
android:src="@drawable/ic_baseline_notifications_account_none"
android:visibility="gone"
app:layout_constraintStart_toEndOf="@id/account_personal_note"
app:layout_constraintTop_toBottomOf="@id/banner_pp" />
2019-08-05 09:12:58 +02:00
<View
2019-08-04 18:09:35 +02:00
android:layout_width="match_parent"
2019-08-05 09:12:58 +02:00
android:layout_height="50dp"
android:alpha="0.4"
2019-08-04 18:09:35 +02:00
android:background="@color/black"
2019-08-05 09:12:58 +02:00
app:layout_constraintTop_toTopOf="parent" />
2019-08-04 18:09:35 +02:00
2019-11-09 18:07:33 +01:00
<ImageView
2019-08-05 09:12:58 +02:00
android:id="@+id/action_back"
2019-11-09 18:07:33 +01:00
android:layout_width="30dp"
android:layout_height="30dp"
2019-08-05 09:12:58 +02:00
android:layout_alignParentStart="true"
2019-11-15 16:32:25 +01:00
android:layout_marginStart="5dp"
2019-11-09 18:07:33 +01:00
android:layout_marginTop="10dp"
2019-08-05 09:12:58 +02:00
android:layout_marginEnd="10dp"
android:contentDescription="@string/go_back"
android:src="@drawable/ic_back"
2019-11-09 18:07:33 +01:00
android:tint="@color/white"
2019-08-05 09:12:58 +02:00
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2019-08-04 18:09:35 +02:00
2019-11-09 18:07:33 +01:00
<ImageView
2019-08-05 09:12:58 +02:00
android:id="@+id/account_menu"
2019-11-09 18:07:33 +01:00
android:layout_width="30dp"
android:layout_height="30dp"
2019-08-05 09:12:58 +02:00
android:layout_alignParentEnd="true"
2019-11-09 18:07:33 +01:00
android:layout_marginTop="10dp"
2019-08-05 09:12:58 +02:00
android:layout_marginEnd="10dp"
android:contentDescription="@string/open_menu"
android:src="@drawable/ic_more_vert"
2019-11-09 18:07:33 +01:00
android:tint="@color/white"
2019-08-05 09:12:58 +02:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2019-08-02 18:06:30 +02:00
</androidx.constraintlayout.widget.ConstraintLayout>
2017-07-31 20:18:14 +02:00
<LinearLayout
2017-10-15 15:09:09 +02:00
android:id="@+id/main_header_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_below="@+id/top_banner"
2017-10-15 15:09:09 +02:00
android:gravity="center"
2019-11-15 16:32:25 +01:00
android:orientation="vertical"
android:paddingTop="8dp"
app:layout_scrollFlags="scroll|enterAlways">
2019-09-06 17:55:14 +02:00
2019-12-17 21:30:15 +01:00
<androidx.constraintlayout.widget.ConstraintLayout
2017-08-23 09:56:42 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-12-17 21:30:15 +01:00
android:layout_marginTop="5dp">
2019-09-06 17:55:14 +02:00
2017-10-15 15:09:09 +02:00
<LinearLayout
2019-12-17 21:30:15 +01:00
android:id="@+id/names_container"
android:layout_width="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
2017-10-15 15:09:09 +02:00
android:layout_gravity="center_horizontal"
android:gravity="center_horizontal"
2019-11-15 16:32:25 +01:00
android:orientation="vertical"
2019-12-17 21:30:15 +01:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
2019-09-06 17:55:14 +02:00
2017-10-15 15:09:09 +02:00
<TextView
android:id="@+id/account_dn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-05-16 11:32:09 +02:00
android:singleLine="true"
2019-11-15 16:32:25 +01:00
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textColor="?colorAccent"
android:textSize="18sp" />
2019-09-06 17:55:14 +02:00
2018-10-22 16:18:11 +02:00
<TextView
android:id="@+id/account_un"
2017-10-15 15:09:09 +02:00
android:layout_width="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
2020-05-16 11:32:09 +02:00
android:singleLine="true"
2019-11-15 16:32:25 +01:00
android:textSize="16sp" />
2019-09-06 17:55:14 +02:00
2018-10-22 16:18:11 +02:00
<TextView
2019-11-15 16:32:25 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2018-10-22 16:18:11 +02:00
android:layout_marginTop="5dp"
android:background="@drawable/red_border"
android:text="Peertube"
2019-11-15 16:32:25 +01:00
android:textColor="@color/red_1"
android:visibility="gone"
2019-11-09 18:07:33 +01:00
tools:ignore="HardcodedText" />
2019-09-06 17:55:14 +02:00
2018-12-22 11:08:04 +01:00
<TextView
2019-11-15 16:32:25 +01:00
android:id="@+id/account_bot"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2018-12-22 11:08:04 +01:00
android:layout_marginTop="5dp"
android:background="@drawable/blue_border"
android:text="@string/bot"
2019-11-15 16:32:25 +01:00
android:textColor="@color/mastodonC4"
android:visibility="gone" />
2019-09-06 17:55:14 +02:00
<TextView
android:id="@+id/temp_mute"
2019-11-15 16:32:25 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:textColor="@color/red"
2019-11-15 16:32:25 +01:00
android:visibility="gone" />
2019-09-06 17:55:14 +02:00
<TextView
2019-11-15 16:32:25 +01:00
android:id="@+id/account_moved"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="5dp"
android:drawablePadding="4dp"
android:gravity="center"
2019-11-15 16:32:25 +01:00
android:textSize="16sp"
android:visibility="gone" />
2017-10-15 15:09:09 +02:00
</LinearLayout>
2019-12-17 21:30:15 +01:00
<ImageView
android:id="@+id/identity_proofs_indicator"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_marginStart="10dp"
2019-12-18 09:26:21 +01:00
android:contentDescription="@string/identity_proofs"
2019-12-17 21:30:15 +01:00
android:padding="8dp"
android:scaleType="fitCenter"
android:src="@drawable/ic_verified_user"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@id/names_container"
app:layout_constraintStart_toEndOf="@id/names_container"
app:layout_constraintTop_toTopOf="@id/names_container" />
</androidx.constraintlayout.widget.ConstraintLayout>
2019-09-06 17:55:14 +02:00
2017-10-15 15:09:09 +02:00
<TextView
android:id="@+id/account_note"
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-15 15:09:09 +02:00
android:layout_marginTop="5dp"
android:gravity="center"
2020-05-16 20:00:45 +02:00
android:padding="10dp"
android:textIsSelectable="true" />
2019-11-16 10:20:10 +01:00
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
2019-11-16 10:20:10 +01:00
android:fillViewport="true"
android:scrollbars="none">
2019-09-06 17:55:14 +02:00
2019-11-16 10:20:10 +01:00
<LinearLayout
android:layout_width="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
2019-11-16 10:20:10 +01:00
android:gravity="center_horizontal"
android:orientation="horizontal">
<TextView
android:id="@+id/instance_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginEnd="3dp"
android:background="@drawable/blue_border"
2020-05-16 11:32:09 +02:00
android:singleLine="true"
2019-11-16 10:20:10 +01:00
android:textColor="@color/mastodonC4"
android:visibility="gone" />
<TextView
android:id="@+id/account_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginEnd="3dp"
android:background="@drawable/blue_border"
2020-05-16 11:32:09 +02:00
android:singleLine="true"
2020-05-16 20:00:45 +02:00
android:textColor="@color/mastodonC4"
android:visibility="gone" />
2019-11-16 10:20:10 +01:00
<TextView
android:id="@+id/account_followed_by"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginEnd="3dp"
android:background="@drawable/green_border"
2020-05-16 11:32:09 +02:00
android:singleLine="true"
2019-11-16 10:20:10 +01:00
android:text="@string/followed_by"
android:textColor="@color/verified_text"
android:visibility="gone" />
<TextView
android:id="@+id/account_follow_request"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginEnd="3dp"
android:background="@drawable/blue_border"
2020-05-16 11:32:09 +02:00
android:singleLine="true"
2019-11-16 10:20:10 +01:00
android:text="@string/request_sent"
android:textColor="@color/mastodonC4"
android:visibility="gone" />
</LinearLayout>
</HorizontalScrollView>
<!-- Fields container -->
<LinearLayout
android:id="@+id/fields_container"
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:orientation="vertical"
android:visibility="gone">
<!-- Fields 1 to 4 -->
<LinearLayout
android:id="@+id/field1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:orientation="horizontal"
android:visibility="gone">
2019-09-06 17:55:14 +02:00
<TextView
android:id="@+id/label1"
2019-11-15 16:32:25 +01:00
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center"
2019-11-15 16:32:25 +01:00
android:layout_weight="1"
android:gravity="center"
2019-11-15 16:32:25 +01:00
android:minHeight="20dp"
android:padding="5dp"
2018-09-28 07:31:07 +02:00
android:paddingTop="10dp"
android:paddingBottom="10dp"
2019-11-15 16:32:25 +01:00
android:textSize="16sp" />
2019-09-06 17:55:14 +02:00
2018-09-27 19:33:22 +02:00
<LinearLayout
2019-11-15 16:32:25 +01:00
android:id="@+id/value1BG"
android:layout_width="0dp"
2018-09-27 19:33:22 +02:00
android:layout_height="match_parent"
2019-11-15 16:32:25 +01:00
android:layout_weight="2"
2018-09-27 19:33:22 +02:00
android:orientation="vertical">
2019-09-06 17:55:14 +02:00
2018-09-27 19:33:22 +02:00
<TextView
android:id="@+id/value1"
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-09-27 19:33:22 +02:00
android:layout_gravity="center"
android:gravity="center"
2018-09-28 07:31:07 +02:00
android:paddingTop="10dp"
2020-05-16 20:00:45 +02:00
android:paddingBottom="10dp"
android:textIsSelectable="true" />
2018-09-27 19:33:22 +02:00
</LinearLayout>
</LinearLayout>
2019-09-06 17:55:14 +02:00
<LinearLayout
android:id="@+id/field2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:orientation="horizontal"
android:visibility="gone">
2019-09-06 17:55:14 +02:00
<TextView
android:id="@+id/label2"
android:layout_width="0dp"
2019-11-15 16:32:25 +01:00
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="1"
2019-11-15 16:32:25 +01:00
android:gravity="center"
android:minHeight="20dp"
android:padding="10dp"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:textSize="16sp" />
2019-09-06 17:55:14 +02:00
2018-09-27 19:33:22 +02:00
<LinearLayout
2019-11-15 16:32:25 +01:00
android:id="@+id/value2BG"
android:layout_width="0dp"
2018-09-27 19:33:22 +02:00
android:layout_height="match_parent"
2019-11-15 16:32:25 +01:00
android:layout_weight="2"
2018-09-27 19:33:22 +02:00
android:orientation="vertical">
2019-09-06 17:55:14 +02:00
2018-09-27 19:33:22 +02:00
<TextView
android:id="@+id/value2"
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-09-27 19:33:22 +02:00
android:layout_gravity="center"
android:gravity="center"
2018-09-28 07:31:07 +02:00
android:paddingTop="10dp"
2020-05-16 20:00:45 +02:00
android:paddingBottom="10dp"
android:textIsSelectable="true" />
2018-09-27 19:33:22 +02:00
</LinearLayout>
</LinearLayout>
2019-09-06 17:55:14 +02:00
<LinearLayout
android:id="@+id/field3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:orientation="horizontal"
android:visibility="gone">
2019-09-06 17:55:14 +02:00
<TextView
android:id="@+id/label3"
android:layout_width="0dp"
2019-11-15 16:32:25 +01:00
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="1"
2019-11-15 16:32:25 +01:00
android:gravity="center"
android:minHeight="20dp"
android:padding="10dp"
2018-09-27 19:33:22 +02:00
android:paddingTop="5dp"
android:paddingBottom="5dp"
2019-11-15 16:32:25 +01:00
android:textSize="16sp" />
2019-09-06 17:55:14 +02:00
2018-09-27 19:33:22 +02:00
<LinearLayout
2019-11-15 16:32:25 +01:00
android:id="@+id/value3BG"
android:layout_width="0dp"
2018-09-27 19:33:22 +02:00
android:layout_height="match_parent"
2019-11-15 16:32:25 +01:00
android:layout_weight="2"
2018-09-27 19:33:22 +02:00
android:orientation="vertical">
2019-09-06 17:55:14 +02:00
2018-09-27 19:33:22 +02:00
<TextView
android:id="@+id/value3"
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-09-27 19:33:22 +02:00
android:layout_gravity="center"
android:gravity="center"
2018-09-28 07:31:07 +02:00
android:paddingTop="10dp"
2020-05-16 20:00:45 +02:00
android:paddingBottom="10dp"
android:textIsSelectable="true" />
2018-09-27 19:33:22 +02:00
</LinearLayout>
</LinearLayout>
2019-09-06 17:55:14 +02:00
<LinearLayout
android:id="@+id/field4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:orientation="horizontal"
android:visibility="gone">
2019-09-06 17:55:14 +02:00
<TextView
android:id="@+id/label4"
2019-11-15 16:32:25 +01:00
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center"
2019-11-15 16:32:25 +01:00
android:layout_weight="1"
android:gravity="center"
2019-11-15 16:32:25 +01:00
android:minHeight="20dp"
android:padding="10dp"
2018-09-27 19:33:22 +02:00
android:paddingTop="5dp"
android:paddingBottom="5dp"
2019-11-15 16:32:25 +01:00
android:textSize="16sp" />
2019-09-06 17:55:14 +02:00
2018-09-27 19:33:22 +02:00
<LinearLayout
2019-11-15 16:32:25 +01:00
android:id="@+id/value4BG"
android:layout_width="0dp"
2018-09-27 19:33:22 +02:00
android:layout_height="match_parent"
2019-11-15 16:32:25 +01:00
android:layout_weight="2"
2018-09-27 19:33:22 +02:00
android:orientation="vertical">
2019-09-06 17:55:14 +02:00
2018-09-27 19:33:22 +02:00
<TextView
android:id="@+id/value4"
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-09-27 19:33:22 +02:00
android:layout_gravity="center"
android:gravity="center"
2018-09-28 07:31:07 +02:00
android:paddingTop="10dp"
2020-05-16 20:00:45 +02:00
android:paddingBottom="10dp"
android:textIsSelectable="true" />
2018-09-27 19:33:22 +02:00
</LinearLayout>
</LinearLayout>
</LinearLayout>
<!-- End Fields container -->
2017-07-31 20:18:14 +02:00
</LinearLayout>
2017-10-15 15:09:09 +02:00
</RelativeLayout>
2017-10-14 10:14:55 +02:00
2019-06-11 19:38:26 +02:00
</com.google.android.material.appbar.CollapsingToolbarLayout>
2017-10-15 15:09:09 +02:00
2019-06-11 19:38:26 +02:00
<androidx.appcompat.widget.Toolbar
2017-10-15 15:09:09 +02:00
android:id="@+id/toolbar"
2017-10-14 11:09:12 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-15 15:09:09 +02:00
android:minHeight="?attr/actionBarSize"
app:layout_collapseMode="pin"
2020-05-16 20:00:45 +02:00
app:theme="@style/ThemeOverlay.AppCompat.Light">
2019-09-06 17:55:14 +02:00
2017-10-15 15:09:09 +02:00
<LinearLayout
android:id="@+id/toolbar_content"
2017-10-14 11:09:12 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:animationCache="true"
android:orientation="horizontal"
android:visibility="gone">
2019-09-06 17:55:14 +02:00
2017-10-15 15:09:09 +02:00
<ImageView
android:id="@+id/pp_actionBar"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center_vertical"
android:layout_marginEnd="10dp"
2019-11-15 16:32:25 +01:00
android:contentDescription="@string/profile_picture"
android:gravity="center_vertical" />
2019-09-06 17:55:14 +02:00
2017-10-15 15:09:09 +02:00
<TextView
android:id="@+id/show_account_title"
2017-10-30 13:26:22 +01:00
android:layout_width="0dp"
2017-10-15 15:09:09 +02:00
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_gravity="center_vertical"
android:layout_marginStart="5dp"
android:layout_weight="1"
2020-05-16 11:32:09 +02:00
android:singleLine="true"
2019-11-15 16:32:25 +01:00
android:textSize="14sp" />
2019-09-06 17:55:14 +02:00
2019-11-09 18:07:33 +01:00
<ImageView
2019-08-14 18:55:45 +02:00
android:id="@+id/reload_tabs"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
2019-11-15 16:32:25 +01:00
android:contentDescription="@string/refresh"
2019-08-14 18:55:45 +02:00
android:gravity="center"
2019-11-15 16:32:25 +01:00
android:src="@drawable/ic_refresh"
android:tint="?attr/iconColorMenu" />
2019-09-06 17:55:14 +02:00
2019-11-09 18:07:33 +01:00
<ImageView
2017-10-30 13:26:22 +01:00
android:id="@+id/action_more"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
2019-11-15 16:32:25 +01:00
android:contentDescription="@string/display_toot_truncate"
2017-10-30 13:26:22 +01:00
android:gravity="center"
2019-11-15 16:32:25 +01:00
android:src="@drawable/ic_more_vert"
android:tint="?attr/iconColorMenu" />
2017-10-15 15:09:09 +02:00
</LinearLayout>
2019-09-06 17:55:14 +02:00
<TextView
android:id="@+id/warning_message"
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
2019-11-15 16:32:25 +01:00
android:gravity="center"
android:text="@string/disclaimer_full"
2019-11-15 16:32:25 +01:00
android:textColor="@color/dark_text"
android:visibility="gone" />
2019-06-11 19:38:26 +02:00
</androidx.appcompat.widget.Toolbar>
2019-09-06 17:55:14 +02:00
2019-06-11 19:38:26 +02:00
<com.google.android.material.tabs.TabLayout
2017-10-14 10:14:55 +02:00
android:id="@+id/account_tabLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-12 18:49:20 +01:00
android:background="?backgroundColor"
2019-11-15 16:32:25 +01:00
app:tabGravity="fill"
2017-10-14 10:14:55 +02:00
app:tabMode="fixed"
2019-11-15 16:32:25 +01:00
app:tabSelectedTextColor="?colorAccent" />
2019-06-11 19:38:26 +02:00
</com.google.android.material.appbar.AppBarLayout>
2017-10-14 11:09:12 +02:00
2019-06-11 19:38:26 +02:00
<androidx.viewpager.widget.ViewPager
2017-08-23 09:56:42 +02:00
android:id="@+id/account_viewpager"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-06 17:55:14 +02:00
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
2017-08-23 09:56:42 +02:00
2017-11-03 19:12:34 +01:00
2019-06-11 19:38:26 +02:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>