/documentation/examples/nihaoworld/res/layout/main.xml
XML | 31 lines | 26 code | 5 blank | 0 comment | 0 complexity | 5efa96f6dbaeb9a919b246f7ccef2516 MD5 | raw file
1<?xml version="1.0" encoding="utf-8"?> 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:orientation="vertical" 4 android:layout_width="fill_parent" 5 android:layout_height="fill_parent" 6 > 7<TextView 8 android:layout_width="fill_parent" 9 android:layout_height="wrap_content" 10 android:textSize="20sp" 11 android:text="@string/instructions" 12 /> 13 14 <Spinner android:id="@+id/list" 15 android:layout_width="wrap_content" 16 android:layout_height="wrap_content" 17 android:layout_marginTop ="40px" 18 android:entries="@array/languages" 19 /> 20 21 22 <Button android:id="@+id/sayhello" 23 android:layout_width="wrap_content" 24 android:layout_height="wrap_content" 25 android:layout_alignParentRight="true" 26 android:layout_marginTop ="60px" 27 android:textSize="30sp" 28 android:text="Speak" /> 29 30 31</LinearLayout>