TheNameOfRose

startlayout

Feb 20th, 2020
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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. tools:context=".StartActivity"
  8. android:background="@color/colorPrimaryDark">
  9.  
  10. <TextView
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:layout_centerInParent="true"
  14. android:text="Welcome to Lapit Chat App"
  15. android:textColor="@android:color/white"
  16. android:textSize="24sp"
  17. android:id="@+id/welcome"/>
  18.  
  19. <Button
  20. android:id="@+id/log_in_button"
  21. android:layout_width="200dp"
  22. android:layout_height="wrap_content"
  23. android:layout_below="@+id/welcome"
  24. android:layout_centerHorizontal="true"
  25. android:layout_marginTop="39dp"
  26. android:backgroundTint="@color/colorAccent"
  27. android:text="@string/already_have_account" />
  28.  
  29. <Button
  30. android:id="@+id/start_reg_button"
  31. android:layout_width="200dp"
  32. android:layout_height="wrap_content"
  33. android:layout_below="@id/log_in_button"
  34. android:layout_centerHorizontal="true"
  35. android:backgroundTint="@android:color/white"
  36. android:text="@string/need_a_new_account" />
  37.  
  38.  
  39. </RelativeLayout>
  40.  
  41. <!-- android:layout_marginBottom="170dp"-->
  42. <!-- android:layout_marginBottom="235dp"-->
Advertisement
Add Comment
Please, Sign In to add comment