Advertisement
Guest User

Untitled

a guest
May 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.05 KB | None | 0 0
  1. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:app="http://schemas.android.com/apk/res-auto"
  3.    xmlns:attrs="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/gosteeBackgroundColor"
  8.    tools:context=".Controllers.Main2Activity">
  9.  
  10.     <include
  11.        android:id="@+id/include2"
  12.        layout="@layout/bar_for_main2_layout"
  13.        android:layout_width="match_parent"
  14.        android:layout_height="?attr/actionBarSize"
  15.        app:layout_constraintTop_toTopOf="parent"
  16.        tools:ignore="MissingConstraints" />
  17.  
  18.  
  19.     <android.support.v4.widget.NestedScrollView
  20.        android:layout_width="match_parent"
  21.        android:layout_height="0dp"
  22.        android:fillViewport="true"
  23.        app:layout_constraintBottom_toTopOf="@+id/btnCreateQR"
  24.        app:layout_constraintTop_toBottomOf="@+id/include2"
  25.        tools:ignore="MissingConstraints"
  26.        tools:layout_editor_absoluteX="8dp">
  27.  
  28.         <LinearLayout
  29.            android:layout_width="match_parent"
  30.            android:layout_height="wrap_content"
  31.            android:orientation="vertical">
  32.  
  33.                 <android.support.constraint.ConstraintLayout
  34.                    android:id="@+id/constraintLayoutCards"
  35.                    android:layout_width="match_parent"
  36.                    android:layout_height="wrap_content"
  37.                    android:visibility="visible"
  38.                    tools:context=".MainActivity"
  39.                    tools:layout_editor_absoluteY="56dp">
  40.  
  41.                     <android.support.v4.view.ViewPager
  42.                        android:id="@+id/viewPager"
  43.                        android:layout_width="match_parent"
  44.                        android:layout_height="match_parent"
  45.                        android:layout_gravity="bottom"
  46.                        android:clipToPadding="false"
  47.                        android:overScrollMode="never"
  48.                        android:paddingEnd="@dimen/card_padding"
  49.                        android:paddingLeft="@dimen/card_padding"
  50.                        android:paddingRight="@dimen/card_padding"
  51.                        android:paddingStart="@dimen/card_padding"
  52.                        attrs:layout_constraintEnd_toEndOf="parent"
  53.                        attrs:layout_constraintStart_toStartOf="parent"
  54.                        attrs:layout_constraintTop_toTopOf="parent" />
  55.  
  56.                     <com.rd.PageIndicatorView
  57.                        android:id="@+id/pageIndicatorView"
  58.                        android:layout_width="wrap_content"
  59.                        android:layout_height="wrap_content"
  60.                        android:layout_marginTop="250dp"
  61.                        attrs:layout_constraintEnd_toEndOf="parent"
  62.                        attrs:layout_constraintStart_toStartOf="parent"
  63.                        attrs:layout_constraintTop_toTopOf="parent"
  64.                        attrs:piv_animationType="scale"
  65.                        attrs:piv_dynamicCount="true"
  66.                        attrs:piv_interactiveAnimation="true"
  67.                        attrs:piv_selectedColor="@color/gray_300"
  68.                        attrs:piv_unselectedColor="@color/gray_50" />
  69.  
  70.  
  71.                 </android.support.constraint.ConstraintLayout>
  72.         </LinearLayout>
  73.     </android.support.v4.widget.NestedScrollView>
  74.  
  75.     <TextView
  76.        android:id="@+id/tvNoneCards"
  77.        android:layout_width="wrap_content"
  78.        android:layout_height="wrap_content"
  79.        android:layout_marginBottom="8dp"
  80.        android:layout_marginEnd="8dp"
  81.        android:layout_marginStart="8dp"
  82.        android:layout_marginTop="8dp"
  83.        android:text="TextView"
  84.        android:visibility="invisible"
  85.        app:layout_constraintBottom_toBottomOf="parent"
  86.        app:layout_constraintEnd_toEndOf="parent"
  87.        app:layout_constraintStart_toStartOf="parent"
  88.        app:layout_constraintTop_toTopOf="parent" />
  89.  
  90.  
  91.     <ImageView
  92.        android:id="@+id/imageView"
  93.        android:layout_width="match_parent"
  94.        android:layout_height="wrap_content"
  95.        android:layout_marginBottom="20dp"
  96.        app:layout_constraintBottom_toBottomOf="parent"
  97.        app:layout_constraintEnd_toEndOf="parent"
  98.        app:layout_constraintStart_toStartOf="parent"
  99.        attrs:srcCompat="@drawable/white_circle"
  100.        tools:ignore="MissingConstraints" />
  101.  
  102.     <Button
  103.        android:id="@+id/btnCreateQR"
  104.        android:layout_width="match_parent"
  105.        android:layout_height="wrap_content"
  106.        android:background="@color/colorOrange"
  107.        android:onClick="createQRCode"
  108.        android:text="СДЕЛАТЬ ОТМЕТКУ"
  109.        android:textColor="@android:color/white"
  110.        android:textStyle="bold"
  111.        app:layout_constraintBottom_toBottomOf="parent"
  112.        tools:ignore="MissingConstraints"
  113.        tools:layout_editor_absoluteX="0dp" />
  114.  
  115. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement