MyBlogShare

Tampilan Animasi Loading Android

Jul 12th, 2021
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.33 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="#fff"
  8.    tools:context=".MainActivity">
  9.  
  10.     <ImageView
  11.        android:layout_width="120dp"
  12.        android:layout_height="120dp"
  13.        android:layout_alignParentTop="true"
  14.        android:layout_centerHorizontal="true"
  15.        android:layout_marginTop="96dp"
  16.        android:id="@+id/logo"
  17.        android:src="@drawable/logo" />
  18.    
  19.     <TextView
  20.        android:layout_width="match_parent"
  21.        android:layout_height="wrap_content"
  22.        android:text="Welcome To My Blog Share"
  23.        android:textAlignment="center"
  24.        android:layout_below="@+id/logo"
  25.        android:id="@+id/textView"
  26.        android:gravity="center_horizontal"
  27.        android:textSize="20dp"
  28.        android:textStyle="bold"
  29.        android:layout_marginTop="10dp"/>
  30.  
  31.     <ProgressBar
  32.        android:id="@+id/loading"
  33.        android:layout_width="match_parent"
  34.        android:layout_height="75dp"
  35.        android:layout_marginTop="200dp"
  36.        android:layout_below="@+id/textView"/>
  37.  
  38. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment