Guest User

activity_splash_screen

a guest
Feb 12th, 2018
1,512
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.09 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="fill_parent"
  5. android:layout_height="match_parent"
  6.  
  7. android:paddingBottom="@dimen/activity_vertical_margin"
  8. android:paddingLeft="@dimen/activity_horizontal_margin"
  9. android:paddingRight="@dimen/activity_horizontal_margin"
  10. android:paddingTop="@dimen/activity_vertical_margin"
  11. android:id="@+id/splash"
  12. android:scaleType = "centerCrop"
  13. tools:context=".SplashScreenActivity"
  14. android:background="@drawable/ic_bg">
  15. <LinearLayout android:orientation="vertical"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:layout_centerVertical="true"
  19. android:layout_centerHorizontal="true">
  20. <ImageView
  21. android:id="@+id/spimg"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24.  
  25. android:layout_gravity="center_horizontal"
  26. android:layout_marginTop="@dimen/activity_vertical_margin"
  27. android:background="@drawable/home"/>
  28. <TextView android:layout_width="match_parent"
  29. android:layout_height="match_parent"
  30. android:text="LOKADIN"
  31. android:textAlignment="center"
  32. android:textStyle="bold"
  33. android:layout_marginTop="12dp"
  34. android:layout_marginBottom="16dp"
  35.  
  36. android:textColor="#ffffff"
  37. android:lineSpacingMultiplier="1.5"
  38. android:textSize="25dp" />
  39. <TextView android:layout_width="match_parent"
  40. android:layout_height="match_parent"
  41. android:text="KOTA BANDUNG"
  42. android:textAlignment="center"
  43. android:textColor="#ffffff"
  44. android:textSize="23dp"
  45. android:layout_marginBottom="12dp"
  46. android:lineSpacingMultiplier="1.5" />
  47. <LinearLayout
  48. android:id="@+id/linlaHeaderProgress"
  49. android:layout_width="match_parent"
  50. android:layout_height="50dp"
  51. android:gravity="center"
  52. android:orientation="vertical"
  53. android:paddingTop="10dp"
  54. android:paddingBottom="10dp">
  55.  
  56. <ProgressBar
  57. android:id="@+id/pbHeaderProgress"
  58. android:layout_width="wrap_content"
  59. android:layout_centerVertical="true"
  60.  
  61. android:layout_height="wrap_content" >
  62. </ProgressBar>
  63. </LinearLayout>
  64. </LinearLayout>
  65. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment