mynotification.xml 2.7 KB
Newer Older
Giacomo Lavermicocca's avatar
Giacomo Lavermicocca committed
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
4
    android:layout_height="wrap_content"
5
    android:background="@color/colorPrimary"
Giacomo Lavermicocca's avatar
Giacomo Lavermicocca committed
6
    android:gravity="center"
7
    android:orientation="vertical"
8
    android:weightSum="100">
Giacomo Lavermicocca's avatar
Giacomo Lavermicocca committed
9

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
    <TextView
        android:id="@+id/text_response"

        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:text="ABCDEFGHILMNOPQRTU"
        android:textAppearance="?android:attr/textAppearanceLargeInverse" />

    <ProgressBar
        android:id="@+id/progress_bar"
        style="?android:attr/progressBarStyleHorizontal"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:indeterminateOnly="true" />

27
    <RelativeLayout
28
        android:id="@+id/layout"
29 30 31
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">

32 33 34 35 36 37
        <Button
            android:id="@+id/garage_cancello"
            android:layout_width="60dp"
            android:layout_height="40dp"
            android:text="GA-PO" />

38 39
        <Button
            android:id="@+id/last_command"
40 41 42 43
            android:layout_width="60dp"
            android:layout_height="40dp"
            android:layout_toEndOf="@id/garage_cancello"
            android:layout_toRightOf="@id/garage_cancello"
44
            android:text="\???" />
45

46 47
        <Button
            android:id="@+id/open_close_portone"
48 49 50 51 52
            android:layout_width="60dp"
            android:layout_height="40dp"
            android:layout_toEndOf="@id/last_command"
            android:layout_toRightOf="@id/last_command"
            android:text="PORTONE" />
53 54 55

        <Button
            android:id="@+id/open_close_garage"
56 57 58 59 60
            android:layout_width="60dp"
            android:layout_height="40dp"
            android:layout_toEndOf="@id/open_close_portone"
            android:layout_toRightOf="@id/open_close_portone"
            android:text="GARAGE" />
61

62 63
        <Button
            android:id="@+id/open_close_cancello"
64 65 66 67 68
            android:layout_width="60dp"
            android:layout_height="40dp"
            android:layout_toEndOf="@id/open_close_garage"
            android:layout_toRightOf="@id/open_close_garage"
            android:text="CANCELLO" />
69

70 71 72 73 74 75 76
        <Button
            android:id="@+id/brightness"
            android:layout_width="60dp"
            android:layout_height="40dp"
            android:layout_toEndOf="@id/open_close_cancello"
            android:layout_toRightOf="@id/open_close_cancello"
            android:text="LUCE" />
Giacomo Lavermicocca's avatar
Giacomo Lavermicocca committed
77

78
    </RelativeLayout>
Giacomo Lavermicocca's avatar
Giacomo Lavermicocca committed
79 80

</LinearLayout>