tuttelikz

Activity_main [v12+]

Oct 1st, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.65 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout 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.     <SeekBar
  11.         android:id="@+id/frequency"
  12.         android:layout_width="0dp"
  13.         android:layout_height="33dp"
  14.         android:progressDrawable="@android:color/transparent"
  15.         android:layout_marginLeft="59dp"
  16.         android:layout_marginRight="59dp"
  17.         android:layout_marginTop="152dp"
  18.         app:layout_constraintLeft_toLeftOf="parent"
  19.         app:layout_constraintRight_toRightOf="parent"
  20.         app:layout_constraintTop_toTopOf="parent"
  21.         android:layout_marginStart="59dp"
  22.         android:layout_marginEnd="59dp"
  23.         tools:layout_constraintRight_creator="1"
  24.         tools:layout_constraintLeft_creator="1" />
  25.  
  26.     <TextView
  27.         android:id="@+id/textView"
  28.         android:layout_width="wrap_content"
  29.         android:layout_height="wrap_content"
  30.         android:text="Press until you stop hearing"
  31.         app:layout_constraintRight_toRightOf="parent"
  32.         app:layout_constraintLeft_toLeftOf="parent"
  33.         app:layout_constraintTop_toTopOf="parent"
  34.         android:layout_marginTop="50dp"
  35.         android:textColor="#ffffff"
  36.         android:textSize="25sp"
  37.         tools:layout_constraintRight_creator="1"
  38.         tools:layout_constraintLeft_creator="1" />
  39.  
  40. <!--
  41.     <TextView
  42.         android:id="@+id/textView4"
  43.         android:layout_width="wrap_content"
  44.         android:layout_height="wrap_content"
  45.         android:layout_marginTop="400dp"
  46.         android:text=""
  47.         app:layout_constraintLeft_toLeftOf="parent"
  48.         app:layout_constraintRight_toRightOf="parent"
  49.         app:layout_constraintTop_toTopOf="parent"
  50.         android:textColor="#ffffff"
  51.         android:textSize="25sp"
  52.         android:fontFamily="roboto_light_italic"
  53.         tools:layout_constraintRight_creator="1"
  54.         tools:layout_constraintLeft_creator="1" />
  55. -->
  56.  
  57.  
  58.     <com.skyfishjy.library.RippleBackground
  59.         xmlns:android="http://schemas.android.com/apk/res/android"
  60.         xmlns:app="http://schemas.android.com/apk/res-auto"
  61.  
  62.         android:id="@+id/contents"
  63.         app:rb_color="#fbd88f"
  64.         app:rb_radius="50dp"
  65.         app:rb_rippleAmount="4"
  66.         app:rb_duration="3000"
  67.         app:rb_scale="6"
  68.         android:layout_width="0dp"
  69.         app:layout_constraintStart_toStartOf="parent"
  70.         app:layout_constraintEnd_toEndOf="parent"
  71.         android:layout_height="0dp"
  72.         app:layout_constraintTop_toTopOf="parent"
  73.         app:layout_constraintBottom_toBottomOf="parent"
  74.         tools:layout_editor_absoluteX="0dp">
  75.         <de.hdodenhof.circleimageview.CircleImageView
  76.             xmlns:app="http://schemas.android.com/apk/res-auto"
  77.             android:layout_width="100dp"
  78.             android:layout_height="100dp"
  79.             android:layout_centerInParent="true"
  80.             android:id="@+id/centerImage"
  81.             android:src="@drawable/a1" />
  82.     </com.skyfishjy.library.RippleBackground>
  83.  
  84.     <!--android:layout_width="0dp"
  85.         android:layout_height="0dp"-->
  86.  
  87.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  88.         xmlns:tools="http://schemas.android.com/tools"
  89.         android:layout_width="0dp"
  90.         app:layout_constraintStart_toStartOf="parent"
  91.         app:layout_constraintEnd_toEndOf="parent"
  92.         android:layout_height="0dp"
  93.         app:layout_constraintTop_toTopOf="parent"
  94.         app:layout_constraintBottom_toBottomOf="parent"
  95.         android:orientation="vertical"
  96.         android:layout_margin="10dp"
  97.         tools:context=".MainActivity">
  98.  
  99.  
  100.         <com.hanks.htextview.fade.FadeTextView
  101.             android:id="@+id/animatedText"
  102.             android:layout_width="wrap_content"
  103.             android:layout_height="wrap_content"
  104.             android:layout_marginTop="400dp"
  105.             app:layout_constraintTop_toTopOf="parent"
  106.             android:gravity="center_horizontal"
  107.             android:layout_gravity="center_horizontal"
  108.             android:letterSpacing="0.08"
  109.             android:lineSpacingMultiplier="1.3"
  110.             android:text=""
  111.             android:textColor="#fff"
  112.             android:textSize="20sp"
  113.             android:fontFamily="roboto_light_italic"
  114.             app:animationDuration="1500"/>
  115.  
  116.     </LinearLayout>
  117.  
  118.  
  119.  
  120.  
  121. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment