activity_main.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="@android:color/white"
  9. tools:fragmentActivity=".MainActivity">
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:gravity="bottom"
  13. android:layout_height="match_parent"
  14. android:orientation="horizontal">
  15. <Button
  16. android:id="@+id/button_sign_up"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:text="Sign Up"/>
  20. <!--<Button-->
  21. <!--android:id="@+id/button_test"-->
  22. <!--android:layout_width="wrap_content"-->
  23. <!--android:layout_height="wrap_content"-->
  24. <!--android:text="Test"/>-->
  25. <Space
  26. android:layout_width="0dp"
  27. android:layout_weight="1"
  28. android:layout_height="wrap_content"/>
  29. <Button
  30. android:id="@+id/button_clear"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:text="Clear Data"/>
  34. </LinearLayout>
  35. <LinearLayout
  36. android:id="@+id/container"
  37. android:layout_width="match_parent"
  38. android:layout_height="match_parent"
  39. android:orientation="vertical">
  40. </LinearLayout>
  41. <ImageView
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:src="@drawable/splash_logo"
  45. app:layout_constraintBottom_toBottomOf="parent"
  46. app:layout_constraintEnd_toEndOf="parent"
  47. app:layout_constraintStart_toStartOf="parent"
  48. app:layout_constraintTop_toTopOf="parent"/>
  49. </android.support.constraint.ConstraintLayout>