123456789101112131415161718192021222324 |
- <?xml version="1.0" encoding="UTF-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">"
- <TextView
- android:id="@+id/text"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Hello Android from NetBeans"/>
- <Button
- android:id="@+id/start"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/text"
- android:text="Start/Stop service"/>
- <Button
- android:id="@+id/upload"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/text"
- android:layout_toRightOf="@+id/start"
- android:text="Upload data"/>
- </RelativeLayout>
|