/trunk/Examples/android/simple/res/layout/main.xml
XML | 25 lines | 25 code | 0 blank | 0 comment | 0 complexity | 6d2275b875cab6f7fa63288aa9732fbe MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
- <Button
- android:id="@+id/RunButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Run..."
- android:onClick="onRunButtonClick"
- />
- <ScrollView
- android:id="@+id/Scroller"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
- <TextView
- android:id="@+id/OutputText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- />
- </ScrollView>
- </LinearLayout>