summaryrefslogtreecommitdiffstats
path: root/res/layout/confirm_cancel_overlay.xml
blob: ae63a3bef1d0a04d7a36834402e8a70d97ab783f (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
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2014 Cyanogen, Inc.
-->
<com.cyngn.theme.widget.ConfirmCancelOverlay
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/confirm_cancel_overlay"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:visibility="gone"
    android:background="@color/apply_overlay_background">

    <com.cyngn.theme.widget.LatoTextView
        android:id="@+id/overlay_title"
        android:layout_width="wrap_content"
        android:layout_height="132dp"
        android:layout_gravity="top|center_horizontal"
        android:gravity="center"
        style="@style/apply_overlay_text_style"
        android:text="@string/apply_theme_overlay_title"/>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center">

        <ImageView
            android:id="@+id/cancel"
            android:layout_width="72dp"
            android:layout_height="72dp"
            android:layout_gravity="center_vertical"
            android:clickable="true"
            android:src="@drawable/ic_apply_cancel"
            android:scaleType="center"
            android:background="@drawable/apply_cancel_bg"/>

        <View
            android:layout_width="2dp"
            android:layout_height="56dp"
            android:layout_gravity="center_vertical"
            android:background="@color/apply_overlay_separator_color"
            android:layout_marginStart="31dp"
            android:layout_marginEnd="31dp"/>

        <ImageView
            android:id="@+id/accept"
            android:layout_width="72dp"
            android:layout_height="72dp"
            android:layout_gravity="center_vertical"
            android:clickable="true"
            android:src="@drawable/ic_apply_apply"
            android:scaleType="center"
            android:background="@drawable/apply_cancel_bg"/>

    </LinearLayout>

    <com.cyngn.theme.widget.LatoTextView
        android:id="@+id/warning_message"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom|center_horizontal"
        android:layout_marginStart="26dp"
        android:layout_marginEnd="26dp"
        android:layout_marginBottom="56dp"
        android:gravity="center"
        android:textColor="@color/apply_overlay_text_color"
        android:textSize="12dp"/>

</com.cyngn.theme.widget.ConfirmCancelOverlay>