tuttelikz

activity_main.xml [v13+] without Circular Seekbar

Oct 1st, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.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.    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.     <SeekBar
  24.        android:id="@+id/frequency"
  25.        android:layout_width="match_parent"
  26.        android:layout_height="wrap_content"
  27.        android:layout_centerHorizontal="true"
  28.        android:layout_marginTop="100dp"
  29.        app:layout_constraintTop_toTopOf="parent"
  30.        tools:layout_constraintRight_creator="1"
  31.        tools:layout_constraintLeft_creator="1" />
  32.  
  33.     <com.skyfishjy.library.RippleBackground
  34.        android:id="@+id/contents"
  35.        app:rb_color="#fbd88f"
  36.        app:rb_radius="50dp"
  37.        app:rb_rippleAmount="4"
  38.        app:rb_duration="3000"
  39.        app:rb_scale="6"
  40.        android:layout_width="match_parent"
  41.        android:layout_height="match_parent"
  42.        android:layout_centerHorizontal="true"
  43.        android:layout_centerVertical="true">
  44.         <de.hdodenhof.circleimageview.CircleImageView
  45.            xmlns:app="http://schemas.android.com/apk/res-auto"
  46.            android:layout_width="100dp"
  47.            android:layout_height="100dp"
  48.            android:layout_centerInParent="true"
  49.            android:id="@+id/centerImage"
  50.            android:src="@drawable/a1" />
  51.     </com.skyfishjy.library.RippleBackground>
  52.  
  53.     <com.hanks.htextview.fade.FadeTextView
  54.        android:layout_width="wrap_content"
  55.        android:layout_height="wrap_content"
  56.        android:layout_centerHorizontal="true"
  57.        android:layout_marginTop="400dp"
  58.        app:layout_constraintTop_toTopOf="parent"
  59.        tools:layout_constraintRight_creator="1"
  60.        tools:layout_constraintLeft_creator="1"
  61.        android:id="@+id/animatedText"
  62.        android:textColor="#fff"
  63.        android:textSize="22sp"
  64.        android:fontFamily="roboto_light_italic"
  65.        app:animationDuration="1500"/>
  66.  
  67. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment