tuttelikz

activity_main.xml [v14+] with Circular

Oct 1st, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.40 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.iptea.audio22.MainActivity"
  8.    android:background="@drawable/loss_blur">
  9.  
  10.     <TextView
  11.        android:id="@+id/instruction_text"
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="wrap_content"
  14.        android:layout_centerHorizontal="true"
  15.        android:text="@string/instruction_text"
  16.        app:layout_constraintTop_toTopOf="parent"
  17.        android:layout_marginTop="50dp"
  18.        android:textColor="#ffffff"
  19.        android:textSize="22sp"
  20.        tools:layout_constraintRight_creator="1"
  21.        tools:layout_constraintLeft_creator="1" />
  22.  
  23.     <com.sdsmdg.harjot.crollerTest.Croller
  24.        android:id="@+id/croller"
  25.        app:indicator_width="0"
  26.        android:layout_width="170dp"
  27.        android:layout_height="170dp"
  28.        android:layout_centerHorizontal="true"
  29.        android:layout_centerVertical="true"
  30.        app:label=""
  31.        app:back_circle_color="#EDEDED"
  32.        app:is_continuous="true"
  33.        app:main_circle_color="#fbd88f"
  34.        app:max="100"
  35.        app:progress_primary_color="#42f4d4"
  36.        app:progress_secondary_color="#b3ecff"
  37.        app:start_offset="0" />
  38.  
  39.     <com.skyfishjy.library.RippleBackground
  40.        android:id="@+id/contents"
  41.        app:rb_color="#fbd88f"
  42.        app:rb_radius="50dp"
  43.        app:rb_rippleAmount="4"
  44.        app:rb_duration="3000"
  45.        app:rb_scale="6"
  46.        android:layout_width="match_parent"
  47.        android:layout_height="match_parent"
  48.        android:layout_centerHorizontal="true"
  49.        android:layout_centerVertical="true">
  50.         <de.hdodenhof.circleimageview.CircleImageView
  51.            xmlns:app="http://schemas.android.com/apk/res-auto"
  52.            android:layout_width="100dp"
  53.            android:layout_height="100dp"
  54.            android:layout_centerInParent="true"
  55.            android:id="@+id/centerImage"
  56.            android:src="@drawable/a1" />
  57.     </com.skyfishjy.library.RippleBackground>
  58.  
  59.     <com.hanks.htextview.fade.FadeTextView
  60.        android:layout_width="wrap_content"
  61.        android:layout_height="wrap_content"
  62.        android:layout_centerHorizontal="true"
  63.        android:layout_marginTop="450dp"
  64.        app:layout_constraintTop_toTopOf="parent"
  65.        tools:layout_constraintRight_creator="1"
  66.        tools:layout_constraintLeft_creator="1"
  67.        android:id="@+id/animatedText"
  68.        android:textColor="#fff"
  69.        android:textSize="22sp"
  70.        android:fontFamily="roboto_light_italic"
  71.        app:animationDuration="1500"/>
  72.  
  73.     <com.hanks.htextview.fade.FadeTextView
  74.        android:layout_width="wrap_content"
  75.        android:layout_height="wrap_content"
  76.        android:layout_centerHorizontal="true"
  77.        android:layout_marginTop="480dp"
  78.        app:layout_constraintTop_toTopOf="parent"
  79.        tools:layout_constraintRight_creator="1"
  80.        tools:layout_constraintLeft_creator="1"
  81.        android:id="@+id/animatedText2"
  82.        android:textColor="#fff"
  83.        android:textSize="22sp"
  84.        android:fontFamily="roboto_light_italic"
  85.        app:animationDuration="1500"/>
  86.  
  87. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment