tuttelikz

Activity_main [v9+]

Oct 1st, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.72 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.    xmlns:htext="http://schemas.android.com/apk/res-auto"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    tools:context="com.example.iptea.audio22.MainActivity"
  9.    android:background="@drawable/loss_blur"
  10.    >
  11.  
  12.     <SeekBar
  13.        android:id="@+id/frequency"
  14.        android:layout_width="266dp"
  15.        android:layout_height="33dp"
  16.        android:progressDrawable="@android:color/transparent"
  17.        android:layout_marginLeft="20dp"
  18.        android:layout_marginRight="20dp"
  19.        android:layout_marginTop="152dp"
  20.        app:layout_constraintLeft_toLeftOf="parent"
  21.        app:layout_constraintRight_toRightOf="parent"
  22.        app:layout_constraintTop_toTopOf="parent"
  23.        android:layout_marginStart="20dp"
  24.        android:layout_marginEnd="20dp"
  25.  
  26.  
  27.  
  28.        />
  29. <!--
  30.    <Button
  31.        android:id="@+id/button"
  32.        android:layout_width="150dp"
  33.        android:layout_height="70dp"
  34.        android:layout_marginLeft="20dp"
  35.  
  36.        android:layout_marginRight="20dp"
  37.        android:layout_marginTop="344dp"
  38.        android:text="Start"
  39.        app:layout_constraintLeft_toLeftOf="parent"
  40.        app:layout_constraintRight_toRightOf="parent"
  41.        app:layout_constraintTop_toTopOf="parent"
  42.        android:layout_marginStart="20dp"
  43.        android:layout_marginEnd="20dp" />
  44. -->
  45.  
  46.     <!--
  47.  
  48.    android:layout_marginRight="20dp"
  49.        android:layout_marginLeft="20dp"
  50.        tools:layout_editor_absoluteX="8dp"
  51.        tools:layout_editor_absoluteY="314dp" -->
  52.  
  53.  
  54.     <TextView
  55.        android:id="@+id/textView"
  56.        android:layout_width="wrap_content"
  57.        android:layout_height="wrap_content"
  58.        android:text="Press until you stop hearing"
  59.        app:layout_constraintRight_toRightOf="parent"
  60.        app:layout_constraintLeft_toLeftOf="parent"
  61.        app:layout_constraintTop_toTopOf="parent"
  62.        android:layout_marginTop="50dp"
  63.        android:layout_marginRight="20dp"
  64.        android:layout_marginLeft="20dp"
  65.        android:textColor="#ffffff"
  66.        android:textSize="25sp"
  67.        android:layout_marginStart="20dp"
  68.        android:layout_marginEnd="20dp" />
  69.  
  70.         <!--tools:layout_editor_absoluteX="153dp"
  71.        tools:layout_editor_absoluteY="47dp"
  72.        -->
  73.  
  74.  
  75.  
  76.         <!--android:layout_marginRight="20dp"
  77.        android:layout_marginLeft="20dp"
  78.        tools:layout_editor_absoluteX="8dp"
  79.        tools:layout_editor_absoluteY="414dp"
  80.        -->
  81.  
  82. <!--
  83.    <TextView
  84.        android:id="@+id/textView2"
  85.        android:layout_width="wrap_content"
  86.        android:layout_height="wrap_content"
  87.        android:text="Progress"
  88.        app:layout_constraintRight_toRightOf="parent"
  89.        app:layout_constraintLeft_toLeftOf="parent"
  90.        app:layout_constraintTop_toTopOf="parent"
  91.        android:layout_marginTop="250dp"
  92.        android:layout_marginRight="20dp"
  93.        android:layout_marginLeft="20dp"
  94.        android:textColor="#ffffff"
  95.        android:textSize="25sp"
  96.        android:layout_marginStart="20dp"
  97.        android:layout_marginEnd="20dp" />
  98.    -->
  99.  
  100.     <TextView
  101.        android:id="@+id/textView4"
  102.        android:layout_width="wrap_content"
  103.        android:layout_height="wrap_content"
  104.        android:layout_marginLeft="20dp"
  105.        android:layout_marginRight="20dp"
  106.        android:layout_marginTop="400dp"
  107.        android:text=""
  108.        app:layout_constraintLeft_toLeftOf="parent"
  109.        app:layout_constraintRight_toRightOf="parent"
  110.        app:layout_constraintTop_toTopOf="parent"
  111.        android:textColor="#ffffff"
  112.        android:textSize="25sp"
  113.        android:fontFamily="roboto_light_italic"
  114.        android:layout_marginStart="20dp"
  115.        android:layout_marginEnd="20dp" />
  116.  
  117.    <!--
  118.    <ImageView
  119.        android:id="@+id/imageView"
  120.        android:layout_width="wrap_content"
  121.        android:layout_height="wrap_content"
  122.        app:srcCompat="@drawable/a1"
  123.  
  124.        app:layout_constraintLeft_toLeftOf="parent"
  125.        app:layout_constraintRight_toRightOf="parent"
  126.        app:layout_constraintTop_toTopOf="parent"
  127.  
  128.        android:layout_marginLeft="20dp"
  129.        android:layout_marginRight="20dp"
  130.        android:layout_marginTop="344dp"/>
  131. -->
  132.  
  133. <!--
  134.    <com.hanks.htextview.fade.FadeTextView
  135.        android:id="@+id/fadetext"
  136.        android:layout_width="240dp"
  137.        android:layout_height="150dp"
  138.        android:gravity="left"
  139.        android:letterSpacing="0.08"
  140.        android:lineSpacingMultiplier="1.3"
  141.        android:text="This is FadeTextView"
  142.        android:textColor="#fff"
  143.        android:textSize="20sp"
  144.        app:animationDuration="1500" />
  145.    -->
  146.  
  147.  
  148.     <!--android:layout_width="240dp"
  149.    android:layout_height="150dp"
  150.    android:gravity="left"-->
  151.  
  152.  
  153.     <com.skyfishjy.library.RippleBackground
  154.        xmlns:android="http://schemas.android.com/apk/res/android"
  155.        xmlns:app="http://schemas.android.com/apk/res-auto"
  156.        android:layout_width="match_parent"
  157.        android:layout_height="match_parent"
  158.        android:id="@+id/contents"
  159.        app:rb_color="#fbd88f"
  160.        app:rb_radius="50dp"
  161.        app:rb_rippleAmount="4"
  162.        app:rb_duration="3000"
  163.        app:rb_scale="6">
  164.  
  165.         <de.hdodenhof.circleimageview.CircleImageView
  166.            xmlns:app="http://schemas.android.com/apk/res-auto"
  167.            android:id="@+id/centerImage"
  168.            android:layout_width="100dp"
  169.            android:layout_height="100dp"
  170.            android:layout_centerInParent="true"
  171.            android:src="@drawable/a1"
  172.            />
  173.  
  174.  
  175. <!--
  176.    <com.skyfishjy.library.RippleBackground
  177.        xmlns:android="http://schemas.android.com/apk/res/android"
  178.        xmlns:app="http://schemas.android.com/apk/res-auto"
  179.  
  180.        android:layout_width="match_parent"
  181.        android:layout_height="match_parent"
  182.        app:layout_constraintLeft_toLeftOf="parent"
  183.        app:layout_constraintRight_toRightOf="parent"
  184.        app:layout_constraintTop_toTopOf="parent"
  185.        android:layout_marginLeft="20dp"
  186.        android:layout_marginRight="20dp"
  187.        android:layout_marginTop="200dp"
  188.  
  189.        android:id="@+id/contents"
  190.        app:rb_color="#fbd88f"
  191.        app:rb_radius="50dp"
  192.        app:rb_rippleAmount="4"
  193.        app:rb_duration="3000"
  194.        app:rb_scale="6"
  195.        android:layout_marginStart="20dp"
  196.        android:layout_marginEnd="20dp">
  197.  
  198.        <de.hdodenhof.circleimageview.CircleImageView
  199.            xmlns:app="http://schemas.android.com/apk/res-auto"
  200.            android:id="@+id/centerImage"
  201.            android:layout_width="100dp"
  202.            android:layout_height="100dp"
  203.            android:src="@drawable/a1"
  204.            app:civ_border_color="#FFFFFF"
  205.            app:civ_border_width="2dp"
  206.            />
  207. -->
  208.         <!--
  209.        app:civ_border_width="2dp"
  210.            app:civ_border_color="#FF000000"
  211.        <ImageView
  212.            android:layout_width="100dp"
  213.            android:layout_height="100dp"
  214.            android:layout_centerInParent="true"
  215.            android:id="@+id/centerImage"
  216.            android:src="@drawable/a1"
  217.            />-->
  218.     </com.skyfishjy.library.RippleBackground>
  219.  
  220.  
  221.  
  222.  
  223.  
  224.     <!--
  225.    tools:layout_editor_absoluteY="8dp"
  226.        tools:layout_editor_absoluteX="8dp">
  227.  
  228.    tools:layout_editor_absoluteX="161dp"
  229.    tools:layout_editor_absoluteY="218dp"
  230.  
  231.    tools:layout_editor_absoluteX="128dp"
  232.        tools:layout_editor_absoluteY="152dp"
  233.    -->
  234.  
  235.  
  236.  
  237. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment