olalab

activity_main

Sep 13th, 2017
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 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:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:paddingBottom="@dimen/activity_vertical_margin"
  7. android:paddingLeft="@dimen/activity_horizontal_margin"
  8. android:paddingRight="@dimen/activity_horizontal_margin"
  9. android:paddingTop="@dimen/activity_vertical_margin"
  10. tools:context=".ui.MainActivity">
  11.  
  12. <TextView
  13. android:id="@+id/textWelcome"
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:layout_above="@+id/btnReserveParkingMaps"
  17. android:layout_alignParentLeft="true"
  18. android:layout_alignParentStart="true"
  19. android:layout_marginBottom="15dp"
  20. android:gravity="center"
  21. android:text="@string/text_welcome"
  22. android:textSize="30dp" />
  23.  
  24. <Button
  25. android:id="@+id/btnReserveParkingMaps"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_centerHorizontal="true"
  29. android:layout_centerVertical="true"
  30. android:onClick="gotoReserveParkingMaps"
  31. android:text="@string/button_reserve_parking_lot" />
  32.  
  33. </RelativeLayout>
Add Comment
Please, Sign In to add comment