View with textbox and button.


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.