summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/layout_reactions.xml
blob: 46e4b1a0adacbf3133183034a62fc8bbe7c55b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/status_reactions"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:layout_marginTop="10dp"
    android:layout_marginBottom="10dp"
    android:orientation="horizontal"
    android:paddingBottom="10dp"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@id/content">

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/reactions_view"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1" />

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/status_add_custom_emoji"
        android:layout_width="30dp"
        android:layout_height="30dp"
        android:layout_marginStart="10dp"
        android:layout_marginEnd="5dp"
        android:contentDescription="@string/add_reaction"
        android:src="@drawable/ic_baseline_emoji_emotions_24"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:tint="?attr/iconColor" />

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/status_emoji"
        android:layout_width="30dp"
        android:layout_height="30dp"
        android:layout_marginStart="10dp"
        android:layout_marginEnd="5dp"
        android:contentDescription="@string/add_reaction"
        android:src="@drawable/ic_baseline_add_reaction_24"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:tint="?attr/iconColor" />

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:visibility="gone">

        <app.fedilab.android.helper.FedilabAutoCompleteTextView
            android:id="@+id/fake_edittext"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:importantForAutofill="noExcludeDescendants"
            android:inputType="text" />
    </LinearLayout>
</androidx.appcompat.widget.LinearLayoutCompat>