Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.65 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/white"
  8.    android:orientation="vertical"
  9.    tools:context=".MainActivity">
  10.  
  11.  
  12.     <!--====================start of toolbar=====================================-->
  13.  
  14.  
  15.     <RelativeLayout
  16.        android:id="@+id/app_toolbar"
  17.        android:layout_width="match_parent"
  18.        android:layout_marginTop="10dp"
  19.        android:layout_height="66dp"
  20.        android:background="@color/white">
  21.  
  22.  
  23.         <RelativeLayout
  24.            android:id="@+id/img_menu"
  25.            android:layout_width="wrap_content"
  26.            android:layout_height="wrap_content"
  27.            android:layout_alignParentStart="true"
  28.            android:layout_centerVertical="true"
  29.            android:background="?attr/selectableItemBackgroundBorderless">
  30.  
  31.             <ImageView
  32.                android:layout_width="wrap_content"
  33.                android:layout_height="wrap_content"
  34.                android:layout_centerVertical="true"
  35.                android:layout_marginLeft="30dp"
  36.                android:src="@drawable/ic_settings" />
  37.  
  38.         </RelativeLayout>
  39.  
  40.  
  41.         <RelativeLayout
  42.            android:id="@+id/image_gift_icon"
  43.            android:layout_width="wrap_content"
  44.            android:layout_height="wrap_content"
  45.            android:layout_toStartOf="@id/image_premium_icon"
  46.            android:background="?attr/selectableItemBackgroundBorderless">
  47.  
  48.             <ImageView
  49.                android:id="@+id/giftID"
  50.                android:layout_width="60dp"
  51.                android:layout_height="60dp"
  52.                android:layout_centerVertical="true"
  53.                android:layout_marginRight="25dp"
  54.                android:src="@drawable/gift" />
  55.  
  56.         </RelativeLayout>
  57.  
  58.  
  59.         <RelativeLayout
  60.            android:id="@+id/image_premium_icon"
  61.            android:layout_width="wrap_content"
  62.            android:layout_height="wrap_content"
  63.            android:layout_alignParentEnd="true"
  64.            android:background="?attr/selectableItemBackgroundBorderless">
  65.  
  66.             <ImageView
  67.                android:id="@+id/premiumID"
  68.                android:layout_width="60dp"
  69.                android:layout_height="60dp"
  70.                android:layout_centerVertical="true"
  71.                android:layout_marginRight="30dp"
  72.                android:src="@drawable/premium" />
  73.  
  74.         </RelativeLayout>
  75.  
  76.  
  77.     </RelativeLayout>
  78.  
  79.     <!--====================end of toolbar=====================================-->
  80.  
  81.  
  82.     <!--====================Start banner area =====================================-->
  83.  
  84.     <RelativeLayout
  85.        android:layout_below="@id/app_toolbar"
  86.        android:layout_marginEnd="30dp"
  87.        android:layout_marginStart="30dp"
  88.        android:layout_width="match_parent"
  89.        android:layout_height="wrap_content">
  90.  
  91.         <RelativeLayout
  92.            android:id="@+id/shop_showcase"
  93.            android:layout_width="match_parent"
  94.            android:layout_height="wrap_content"/>
  95.  
  96.     </RelativeLayout>
  97.  
  98.  
  99.  
  100.     <!--====================end banner area=====================================-->
  101.  
  102.  
  103.  
  104.     <RelativeLayout
  105.        android:id="@+id/touchBlurLayoutID"
  106.        android:clickable="true"
  107.        android:focusable="true"
  108.        android:layout_above="@id/lensBlurLayoutID"
  109.        android:layout_alignParentRight="true"
  110.        android:layout_marginBottom="40dp"
  111.        android:layout_marginEnd="40dp"
  112.        android:layout_width="wrap_content"
  113.        android:layout_height="wrap_content">
  114.  
  115.         <ImageView
  116.            android:id="@+id/touchBlurID"
  117.            android:layout_width="70dp"
  118.            android:layout_height="70dp"
  119.            android:src="@drawable/ic_touch_blur"/>
  120.  
  121.     </RelativeLayout>
  122.  
  123.     <RelativeLayout
  124.        android:id="@+id/lensBlurLayoutID"
  125.        android:clickable="true"
  126.        android:focusable="true"
  127.        android:layout_alignParentBottom="true"
  128.        android:layout_alignParentRight="true"
  129.        android:layout_marginBottom="60dp"
  130.        android:layout_marginEnd="40dp"
  131.        android:layout_width="wrap_content"
  132.        android:layout_height="wrap_content">
  133.  
  134.  
  135.  
  136.         <ImageView
  137.            android:id="@+id/lensBlurID"
  138.            android:layout_width="70dp"
  139.            android:layout_height="70dp"
  140.            android:src="@drawable/ic_lens_blur"/>
  141.  
  142.     </RelativeLayout>
  143.  
  144.  
  145.  
  146.  
  147. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement