activity_login.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent" android:layout_height="match_parent"
  4. android:padding="16dp"
  5. android:fitsSystemWindows="true"
  6. android:background="@color/redd"
  7. >
  8. <LinearLayout
  9. android:orientation="vertical"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:paddingTop="56dp"
  13. android:paddingLeft="24dp"
  14. android:paddingRight="24dp"
  15. android:weightSum="1"
  16. android:id="@+id/linearLayout">
  17. <TextView
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:id="@+id/info"
  21. android:layout_alignParentLeft="true"
  22. android:layout_alignParentTop="true"
  23. android:textSize="18sp"
  24. />
  25. </LinearLayout>
  26. <com.facebook.login.widget.LoginButton
  27. android:id="@+id/login_button"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_marginBottom="77dp"
  31. android:layout_alignParentBottom="true"
  32. android:layout_centerHorizontal="true" />
  33. <ImageView
  34. android:id="@+id/imageView"
  35. android:layout_width="wrap_content"
  36. android:layout_height="match_parent"
  37. android:layout_gravity="center_horizontal"
  38. android:adjustViewBounds="true"
  39. android:cropToPadding="false"
  40. android:src="@drawable/com_facebook_button_icon"
  41. android:layout_marginBottom="57dp"
  42. android:layout_alignParentBottom="true"
  43. android:layout_alignParentStart="true" />
  44. </RelativeLayout>