MyBlogShare

Contoh Tampilan Splash Screen

Jul 2nd, 2021
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.85 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.   tools:context="com.example.android.myapplication.MainActivity">
  8.  
  9.     <RelativeLayout
  10.       android:layout_width="match_parent"
  11.       android:layout_height="match_parent"
  12.       android:background="#3681a1">
  13.  
  14.         <ImageView
  15.           android:layout_width="200px"
  16.           android:layout_height="200px"
  17.           android:src="@drawable/logo"
  18.           android:id="@+id/imageView"
  19.  
  20.           android:layout_alignParentTop="true"
  21.           android:layout_centerHorizontal="true"
  22.           android:layout_marginTop="151dp" />
  23.  
  24.         <TextView
  25.           android:layout_width="match_parent"
  26.           android:layout_height="wrap_content"
  27.           android:text="My Blog Share"
  28.           android:textAlignment="center"
  29.           android:textStyle="bold"
  30.           android:fontFamily="casual"
  31.           android:textSize="30dp"
  32.           android:textColor="#fff"
  33.           android:layout_marginTop="20dp"
  34.           android:id="@+id/textView"
  35.           android:layout_below="@+id/imageView"
  36.           android:layout_alignParentStart="true" />
  37.  
  38.         <TextView
  39.           android:layout_width="match_parent"
  40.           android:layout_height="wrap_content"
  41.           android:text="APPLICATION"
  42.           android:textAlignment="center"
  43.           android:textColor="#fff"
  44.           android:textStyle="bold"
  45.           android:textSize="17dp"
  46.           android:fontFamily=""
  47.           android:layout_below="@+id/textView"
  48.           android:layout_alignParentStart="true" />
  49.  
  50.     </RelativeLayout>
  51.  
  52. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment