source: trunk/TagTracker/res/layout/main.xml @ 4

Last change on this file since 4 was 4, checked in by remons, 13 years ago

Added custom button
Added "drawable" folder
Added Menu

File size: 1.2 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3    android:id="@+id/Screen"
4    android:layout_width="fill_parent"
5    android:layout_height="fill_parent" >
6
7    <TextView
8        android:id="@+id/text"
9        android:layout_width="fill_parent"
10        android:layout_height="wrap_content"
11        android:layout_alignParentLeft="true"
12        android:layout_alignParentTop="true" />
13
14    <ToggleButton
15        android:id="@+id/status"
16        style="@style/ToggleButton"
17        android:layout_width="match_parent"
18        android:layout_height="200dp"
19        android:layout_marginLeft="20dp"
20        android:layout_marginRight="20dp"
21        android:layout_alignParentLeft="true"
22        android:layout_centerVertical="true"
23        android:onClick="onToggleClicked"
24        android:textOff="START"
25        android:textOn="STOP" />
26
27    <Button
28        android:id="@+id/zend"
29        android:layout_width="match_parent"
30        android:layout_height="wrap_content"
31        android:layout_alignParentBottom="true"
32        android:layout_alignParentLeft="true"
33        android:text="Verzenden" />
34
35</RelativeLayout>
Note: See TracBrowser for help on using the repository browser.