summaryrefslogtreecommitdiff
path: root/core/src/main/res/layout/popup_bubble_view.xml
blob: 6b2e16f99468fc411fec9a7ddf67b6a9ffeaf266 (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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:padding="16dp">

    <TextView
            android:layout_width="match_parent"
            android:textColor="?attr/colorOnSecondary"
            android:layout_height="wrap_content"
            android:lines="3"
            android:id="@+id/balloon_message"/>

    <LinearLayout
            android:orientation="horizontal"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="8dp"
            android:gravity="end">

        <Button
                style="@style/Widget.MaterialComponents.Button.TextButton"
                android:textColor="?attr/colorOnSecondary"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/no"
                android:id="@+id/balloon_button_negative"/>

        <Button
                style="@style/Widget.MaterialComponents.Button.TextButton"
                android:textColor="?attr/colorOnSecondary"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/yes"
                android:id="@+id/balloon_button_positive"/>

    </LinearLayout>
</LinearLayout>