/randroid/res/layout/main.xml

http://eyes-free.googlecode.com/ · 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. <LinearLayout
  8. android:orientation="horizontal"
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. >
  12. <ImageButton
  13. android:id="@+id/speakButton"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:padding="10sp"
  17. android:src="@drawable/speak_icon"
  18. android:text="@string/speak"/>
  19. <Button
  20. android:id="@+id/randomButton"
  21. android:layout_width="wrap_content"
  22. android:layout_height="fill_parent"
  23. android:textSize="18sp"
  24. android:text="@string/random"
  25. android:padding="10sp"
  26. />
  27. <TextView
  28. android:id="@+id/titleText"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:textSize="18sp"
  32. android:padding="10sp"
  33. android:text="@string/xkcd"
  34. />
  35. </LinearLayout>
  36. <WebView
  37. android:id="@+id/webView"
  38. android:layout_width="fill_parent"
  39. android:layout_height="fill_parent"
  40. />
  41. </LinearLayout>