Advertisement
delvinkrasniqi

Untitled

Nov 29th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. tools:context=".MainActivity">
  9.  
  10. <EditText
  11. android:id="@+id/editText"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:ems="10"
  15. android:inputType="textPersonName"
  16. android:text="numri" />
  17.  
  18. <EditText
  19. android:id="@+id/editText3"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:ems="10"
  23. android:inputType="textPersonName"
  24. android:text="Name" />
  25.  
  26. <Button
  27. android:id="@+id/button"
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:text="Button"
  31. android:onClick="dergo"/>
  32.  
  33. </LinearLayout>
  34.  
  35. // dyshi
  36.  
  37. <?xml version="1.0" encoding="utf-8"?>
  38. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  39. xmlns:app="http://schemas.android.com/apk/res-auto"
  40. xmlns:tools="http://schemas.android.com/tools"
  41. android:layout_width="match_parent"
  42. android:orientation="vertical"
  43. android:layout_height="match_parent"
  44. tools:context=".Main2Activity">
  45.  
  46. <TextView
  47. android:id="@+id/textView"
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:text="TextView"
  51. tools:layout_editor_absoluteX="88dp"
  52. tools:layout_editor_absoluteY="92dp" />
  53.  
  54. <TextView
  55. android:id="@+id/textView2"
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:text="TextView"
  59. tools:layout_editor_absoluteX="108dp"
  60. tools:layout_editor_absoluteY="159dp" />
  61. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement