Advertisement
wildanfuady

activity_splash_screen.xml

Feb 8th, 2020
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 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. android:background="@color/colorPrimary"
  8. tools:context=".SplashScreenActivity">
  9.  
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:orientation="vertical"
  14. android:gravity="center"
  15. android:layout_centerInParent="true">
  16.  
  17. <ImageView
  18. android:id="@+id/logo"
  19. android:layout_width="80dp"
  20. android:layout_height="80dp"
  21. android:src="@drawable/ic_school_black_24dp"/>
  22.  
  23. <TextView
  24. android:id="@+id/app_label"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:text="SEKOLAHKU"
  28. android:textSize="50sp"
  29. android:textStyle="bold"
  30. android:textColor="@android:color/white"/>
  31.  
  32. </LinearLayout>
  33.  
  34. <ProgressBar
  35. android:id="@+id/progressbar"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:layout_alignParentBottom="true"
  39. style="?android:attr/progressBarStyleHorizontal"/>
  40.  
  41. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement