/randroid/res/layout/main.xml
XML | 45 lines | 41 code | 4 blank | 0 comment | 0 complexity | 6f98e58f4d8b3d7c3bb1843b1219515f 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 8 9<LinearLayout 10 android:orientation="horizontal" 11 android:layout_width="wrap_content" 12 android:layout_height="wrap_content" 13 > 14<ImageButton 15 android:id="@+id/speakButton" 16 android:layout_width="wrap_content" 17 android:layout_height="wrap_content" 18 android:padding="10sp" 19 android:src="@drawable/speak_icon" 20 android:text="@string/speak"/> 21<Button 22 android:id="@+id/randomButton" 23 android:layout_width="wrap_content" 24 android:layout_height="fill_parent" 25 android:textSize="18sp" 26 android:text="@string/random" 27 android:padding="10sp" 28 /> 29 <TextView 30 android:id="@+id/titleText" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:textSize="18sp" 34 android:padding="10sp" 35 android:text="@string/xkcd" 36 /> 37</LinearLayout> 38 39 <WebView 40 android:id="@+id/webView" 41 android:layout_width="fill_parent" 42 android:layout_height="fill_parent" 43 /> 44 45</LinearLayout>