SHARE
TWEET

Untitled

a guest Nov 12th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.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=".DetailActivity">
  8.  
  9.     <TextView
  10.         android:id="@+id/zodiacSignTextView"
  11.         android:layout_width="wrap_content"
  12.         android:layout_height="wrap_content"
  13.         android:layout_marginStart="0dp"
  14.         android:layout_marginEnd="16dp"
  15.         app:layout_constraintEnd_toStartOf="@+id/zodiacSignImage"
  16.         app:layout_constraintTop_toTopOf="@+id/zodiacSignImage"
  17.         app:layout_constraintStart_toStartOf="parent"
  18.         />
  19.  
  20.     <ImageView
  21.         android:id="@+id/zodiacSignImage"
  22.         android:layout_width="wrap_content"
  23.         android:layout_height="wrap_content"
  24.         app:layout_constraintBottom_toTopOf="parent"
  25.         app:layout_constraintEnd_toStartOf="parent"
  26.         app:layout_constraintStart_toStartOf="parent"
  27.         app:layout_constraintStart_toEndOf="@+id/zodiacSignTextView"
  28.         app:layout_constraintTop_toTopOf="parent"
  29.         android:src="@drawable/capricorn"
  30.         />
  31.     <androidx.constraintlayout.widget.Barrier
  32.         android:id="@+id/barrier"
  33.         android:layout_width="wrap_content"
  34.         android:layout_height="wrap_content"
  35.         app:barrierDirection="bottom"
  36.         app:constraint_referenced_ids="zodiacSignTextView,zodiacSignImage"
  37.         />
  38.     <TextView
  39.         android:layout_width="wrap_content"
  40.         android:layout_height="wrap_content"
  41.         android:id="@+id/forecastTV"
  42.         android:textSize="16dp"
  43.         android:layout_marginTop="32dp"
  44.         app:layout_constraintStart_toStartOf="@id/zodiacSignTextView"
  45.         app:layout_constraintTop_toBottomOf="@+id/barrier"
  46.         />
  47.    
  48. </androidx.constraintlayout.widget.ConstraintLayout>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top