Posted By

hongster on 01/26/11


Tagged

view input main button layout android edittext


Versions (?)

View with textbox and button.


 / Published in: Java
 

  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. <EditText android:id="@+id/qr_message"
  8. android:layout_width="fill_parent"
  9. android:layout_height="wrap_content"
  10. android:text="@string/hello" />
  11.  
  12. <Button android:id="@+id/convert"
  13. android:layout_width="fill_parent"
  14. android:layout_height="wrap_content"
  15. android:text="@string/convert_button" />
  16. </LinearLayout>

Report this snippet  

You need to login to post a comment.