Guest User

Untitled

a guest
Aug 5th, 2020
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.54 KB | None | 0 0
  1. <androidx.constraintlayout.widget.ConstraintLayout
  2.    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.  
  8.     <View
  9.        android:id="@+id/word0V"
  10.        android:layout_width="0dp"
  11.        android:layout_height="0dp"
  12.        android:background="@color/violet"
  13.        app:layout_constraintTop_toTopOf="parent"
  14.        app:layout_constraintBottom_toBottomOf="@+id/subTitleTV"
  15.        app:layout_constraintStart_toStartOf="parent"
  16.        app:layout_constraintEnd_toEndOf="parent"/>
  17.  
  18.     <TextView
  19.        android:id="@+id/titleTV"
  20.        android:layout_width="0dp"
  21.        android:layout_height="wrap_content"
  22.        android:layout_marginTop="8dp"
  23.        android:gravity="center"
  24.        android:textSize="20sp"
  25.        android:textColor="@color/white"
  26.        app:layout_constraintEnd_toEndOf="parent"
  27.        app:layout_constraintStart_toStartOf="parent"
  28.        app:layout_constraintTop_toTopOf="parent"
  29.        tools:text="Title on En"/>
  30.  
  31.     <TextView
  32.        android:id="@+id/subTitleTV"
  33.        android:layout_width="0dp"
  34.        android:layout_height="wrap_content"
  35.        android:layout_marginTop="8dp"
  36.        android:gravity="center"
  37.        android:textSize="16sp"
  38.        android:textColor="@color/white"
  39.        app:layout_constraintEnd_toEndOf="parent"
  40.        app:layout_constraintStart_toStartOf="parent"
  41.        app:layout_constraintTop_toBottomOf="@+id/titleTV"
  42.        tools:text="Need 4 level or 60 stars" />
  43.  
  44.     <TextView
  45.        android:id="@+id/textTV"
  46.        android:layout_width="0dp"
  47.        android:layout_height="0dp"
  48.        android:layout_marginStart="16dp"
  49.        android:layout_marginTop="16dp"
  50.        android:layout_marginEnd="16dp"
  51.        android:textSize="14sp"
  52.        app:layout_constraintEnd_toEndOf="parent"
  53.        app:layout_constraintStart_toStartOf="parent"
  54.        app:layout_constraintTop_toBottomOf="@+id/subTitleTV" />
  55.  
  56.     <ImageView
  57.        android:id="@+id/backButtonIV"
  58.        android:layout_width="48dp"
  59.        android:layout_height="48dp"
  60.        android:layout_marginStart="16dp"
  61.        android:layout_marginBottom="16dp"
  62.        android:scaleType="fitXY"
  63.        app:layout_constraintBottom_toBottomOf="parent"
  64.        app:layout_constraintStart_toStartOf="parent"
  65.        app:srcCompat="@drawable/back_rounded" />
  66. </androidx.constraintlayout.widget.ConstraintLayout>
Add Comment
Please, Sign In to add comment