summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/drawer_status_notification.xml
diff options
context:
space:
mode:
authorThomas <tschneider.ac@gmail.com>2022-05-21 17:45:23 +0200
committerThomas <tschneider.ac@gmail.com>2022-05-21 17:45:23 +0200
commit658685b2c72571d93bc3120e12d36044178a8907 (patch)
treee3e273a3e3a6d196e6c9f6f608238baeb527316d /app/src/main/res/layout/drawer_status_notification.xml
parentc2d3ae8e40e565af810f68f163b3aaf012368042 (diff)
comment #77 - Start for grouping similar notifications
Diffstat (limited to 'app/src/main/res/layout/drawer_status_notification.xml')
-rw-r--r--app/src/main/res/layout/drawer_status_notification.xml34
1 files changed, 31 insertions, 3 deletions
diff --git a/app/src/main/res/layout/drawer_status_notification.xml b/app/src/main/res/layout/drawer_status_notification.xml
index 8c1baa6ea..b298de540 100644
--- a/app/src/main/res/layout/drawer_status_notification.xml
+++ b/app/src/main/res/layout/drawer_status_notification.xml
@@ -14,20 +14,48 @@
You should have received a copy of the GNU General Public License along with Fedilab; if not,
see <http://www.gnu.org/licenses>
-->
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/card_status_container"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
<include
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:layout_constraintTop_toTopOf="parent"
android:id="@+id/status"
layout="@layout/drawer_status" />
+ <androidx.appcompat.widget.LinearLayoutCompat
+ android:id="@+id/other_accounts"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignBottom="@+id/status"
+ android:orientation="horizontal"
+ android:visibility="gone"
+ app:layout_constraintTop_toBottomOf="@+id/status">
+
+ <androidx.appcompat.widget.AppCompatTextView
+ android:id="@+id/type_of_concat"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ <HorizontalScrollView
+ android:id="@+id/related_accounts"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+ </androidx.appcompat.widget.LinearLayoutCompat>
+
<RelativeLayout
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
android:id="@+id/container_transparent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
android:elevation="5dp"
android:visibility="gone" />
-</FrameLayout> \ No newline at end of file
+</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file