/trunk/Examples/android/simple/res/layout/main.xml

# · XML · 25 lines · 25 code · 0 blank · 0 comment · 0 complexity · 6d2275b875cab6f7fa63288aa9732fbe 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. <Button
  8. android:id="@+id/RunButton"
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. android:text="Run..."
  12. android:onClick="onRunButtonClick"
  13. />
  14. <ScrollView
  15. android:id="@+id/Scroller"
  16. android:layout_width="fill_parent"
  17. android:layout_height="fill_parent"
  18. >
  19. <TextView
  20. android:id="@+id/OutputText"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. />
  24. </ScrollView>
  25. </LinearLayout>