Advertisement
mhnds

Untitled

Oct 23rd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context="com.example.mehdi.rqcodeexercise.MainActivity">
  9.  
  10.  
  11. <TextView
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:text="Hello World!" />
  15.  
  16. <EditText
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:layout_marginTop="50dp"
  20. android:hint="Enter Text"
  21. android:id="@+id/txtInput" />
  22.  
  23. <Button
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_centerHorizontal= "true"
  27. android:layout_marginTop="100dp"
  28. android:text="CREATE BARCODE"
  29. android:id="@+id/btnCreateBarcode"
  30. />
  31.  
  32. <view
  33. android:layout_width="match_parent"
  34. android:layout_height="match_parent"
  35. android:layout_marginTop="155dp"
  36. android:id="@+id/imgBarcode"/>
  37.  
  38. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement