Advertisement
Ammar02

Untitled

Feb 23rd, 2018
508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.42 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3.     xmlns:android="http://schemas.android.com/apk/res/android"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     xmlns:app="http://schemas.android.com/apk/res-auto"
  6.     android:layout_width="match_parent"
  7.     android:layout_height="match_parent"
  8.     android:background="@drawable/gradient"
  9.     tools:context="com.blogspot.rzwei.dzikirpagipetang.MainActivity">
  10.  
  11.     <LinearLayout
  12.         android:id="@+id/linear"
  13.         android:layout_width="wrap_content"
  14.         android:layout_height="wrap_content"
  15.         android:orientation="vertical">
  16.  
  17.         <TextView
  18.             android:layout_width="wrap_content"
  19.             android:layout_height="wrap_content"
  20.             android:fontFamily="casual"
  21.             android:padding="16dp"
  22.             android:text="Dzikir Pagi Dan Petang"
  23.             android:textSize="20sp" />
  24.  
  25.         <TextView
  26.             android:layout_width="wrap_content"
  27.             android:layout_height="wrap_content"
  28.             android:fontFamily="casual"
  29.             android:text="Imam Ibnul Qayyim رحماللة berkata :Waktunya antara shubuh hingga terbit matahari dan 'Ashar hingga terbenam matahari "
  30.             android:paddingLeft="16dp"/>
  31.     </LinearLayout>
  32.  
  33.     <android.support.v7.widget.CardView
  34.         android:id="@+id/crpagi"
  35.         android:layout_marginTop="20dp"
  36.         android:layout_marginLeft="16dp"
  37.         android:layout_marginRight="16dp"
  38.         android:layout_width="match_parent"
  39.         android:layout_height="100dp"
  40.         android:layout_below="@+id/linear"
  41.         android:padding="16dp"
  42.         app:cardCornerRadius="20dp"
  43.         android:background="@drawable/pagi">
  44.  
  45.         <RelativeLayout
  46.             android:layout_width="match_parent"
  47.             android:layout_height="match_parent"
  48.             android:background="@drawable/pagi"></RelativeLayout>
  49.  
  50.         <TextView
  51.             android:layout_width="wrap_content"
  52.             android:layout_height="wrap_content"
  53.             android:fontFamily="serif"
  54.             android:text="Dzikir Pagi"
  55.             android:textAlignment="center"
  56.             android:textSize="30dp"
  57.             android:gravity="center"
  58.             android:textColor="@color/hitam"
  59.             android:layout_gravity="center"/>
  60.     </android.support.v7.widget.CardView>
  61.  
  62.     <android.support.v7.widget.CardView
  63.         android:id="@+id/crpetang"
  64.         android:layout_marginTop="100dp"
  65.         android:layout_marginLeft="16dp"
  66.         android:layout_marginRight="16dp"
  67.         android:layout_width="match_parent"
  68.         android:layout_height="100dp"
  69.         android:layout_below="@+id/crpagi"
  70.         android:padding="16dp"
  71.         app:cardCornerRadius="20dp"
  72.         android:background="@drawable/pagi">
  73.  
  74.         <RelativeLayout
  75.             android:layout_width="match_parent"
  76.             android:layout_height="match_parent"
  77.             android:background="@drawable/petang"></RelativeLayout>
  78.  
  79.         <TextView
  80.             android:layout_width="wrap_content"
  81.             android:layout_height="wrap_content"
  82.             android:fontFamily="serif"
  83.             android:text="Dzikir Petang"
  84.             android:textAlignment="center"
  85.             android:textSize="30dp"
  86.             android:gravity="center"
  87.             android:textColor="@color/hitam"
  88.             android:layout_gravity="center"/>
  89.     </android.support.v7.widget.CardView>
  90.  
  91.  
  92. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement