Advertisement
ZazoTazo

Details Activity

Jul 31st, 2019
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.70 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=".DetailsActivity">
  8.  
  9.     <ImageView
  10.        android:id="@+id/descImage"
  11.        android:layout_width="wrap_content"
  12.        android:layout_height="wrap_content"
  13.        android:layout_marginTop="52dp"
  14.        app:layout_constraintEnd_toEndOf="parent"
  15.        app:layout_constraintStart_toStartOf="parent"
  16.        app:layout_constraintTop_toTopOf="parent"
  17.        app:srcCompat="@drawable/ic_launcher_background"
  18.        android:contentDescription="@string/todo" />
  19.  
  20.     <TextView
  21.        android:id="@+id/descName"
  22.        android:layout_width="wrap_content"
  23.        android:layout_height="wrap_content"
  24.        android:layout_marginTop="52dp"
  25.        app:layout_constraintEnd_toEndOf="parent"
  26.        app:layout_constraintStart_toStartOf="parent"
  27.        app:layout_constraintTop_toBottomOf="@+id/descImage" />
  28.  
  29.     <TextView
  30.        android:id="@+id/descPrice"
  31.        android:layout_width="wrap_content"
  32.        android:layout_height="wrap_content"
  33.        android:layout_marginBottom="8dp"
  34.        android:layout_marginTop="8dp"
  35.        app:layout_constraintBottom_toBottomOf="parent"
  36.        app:layout_constraintEnd_toEndOf="parent"
  37.        app:layout_constraintStart_toStartOf="parent"
  38.        app:layout_constraintTop_toBottomOf="@+id/descName"
  39.        app:layout_constraintVertical_bias="0.151" />
  40. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement