Blame view

Blinker/res/layout/set_device_activity.xml 1.42 KB
Imanol-Mikel Barba Sabariego authored
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
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:orientation="vertical"
              android:background="@color/background"
        >

    <!--Simple header for our list-->
    <RelativeLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:background="@color/background_header"
            >
        <TextView
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:paddingBottom="10dp"
                android:layout_centerInParent="true"
                android:gravity="center"
                android:text="@string/heading_set_device"
                android:textStyle="bold"
                />
        <Button
                android:layout_alignParentRight="true"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/label_scan"
                android:onClick="onScanDeviceClick"/>

    </RelativeLayout>

    <!--The actual device list-->
    <ListView
            android:id="@+id/device_list_view"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            />


</LinearLayout>