Advertisement
DevBooting

Untitled

Jul 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.41 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="192dp"
  6.    android:layout_height="wrap_content"
  7.    tools:layout_editor_absoluteY="81dp">
  8.  
  9.     <android.support.v7.widget.CardView
  10.        android:layout_width="0dp"
  11.        android:layout_height="200dp"
  12.        android:layout_marginBottom="5dp"
  13.        android:layout_marginEnd="5dp"
  14.        android:layout_marginLeft="5dp"
  15.        android:layout_marginRight="5dp"
  16.        android:layout_marginStart="5dp"
  17.        android:layout_marginTop="5dp"
  18.        app:cardElevation="5dp"
  19.        app:layout_constraintBottom_toBottomOf="parent"
  20.        app:layout_constraintEnd_toEndOf="parent"
  21.        app:layout_constraintStart_toStartOf="parent"
  22.        app:layout_constraintTop_toTopOf="parent">
  23.  
  24.         <android.support.constraint.ConstraintLayout
  25.            android:layout_width="match_parent"
  26.            android:layout_height="match_parent">
  27.  
  28.             <ImageView
  29.                android:id="@+id/imageView"
  30.                android:layout_width="0dp"
  31.                android:layout_height="134dp"
  32.                android:layout_marginEnd="8dp"
  33.                android:layout_marginLeft="8dp"
  34.                android:layout_marginRight="8dp"
  35.                android:layout_marginStart="8dp"
  36.                android:layout_marginTop="8dp"
  37.                app:layout_constraintEnd_toEndOf="parent"
  38.                app:layout_constraintStart_toStartOf="parent"
  39.                app:layout_constraintTop_toTopOf="parent"
  40.                app:srcCompat="?android:attr/accessibilityFocusedDrawable" />
  41.  
  42.             <TextView
  43.                android:id="@+id/title_item"
  44.                android:layout_width="0dp"
  45.                android:layout_height="wrap_content"
  46.                android:layout_marginEnd="8dp"
  47.                android:layout_marginLeft="8dp"
  48.                android:layout_marginRight="8dp"
  49.                android:layout_marginStart="8dp"
  50.                android:layout_marginTop="8dp"
  51.                android:gravity="center"
  52.                android:text="O Universo"
  53.                android:textStyle="bold"
  54.                app:layout_constraintEnd_toEndOf="parent"
  55.                app:layout_constraintStart_toStartOf="parent"
  56.                app:layout_constraintTop_toBottomOf="@+id/imageView" />
  57.  
  58.             <TextView
  59.                android:id="@+id/textView5"
  60.                android:layout_width="wrap_content"
  61.                android:layout_height="wrap_content"
  62.                android:layout_marginBottom="8dp"
  63.                android:layout_marginEnd="8dp"
  64.                android:layout_marginLeft="8dp"
  65.                android:layout_marginRight="8dp"
  66.                android:layout_marginStart="8dp"
  67.                android:text="R$ 132 Reais"
  68.                android:textColor="@android:color/holo_green_dark"
  69.                app:layout_constraintBottom_toBottomOf="parent"
  70.                app:layout_constraintEnd_toEndOf="parent"
  71.                app:layout_constraintStart_toStartOf="parent"
  72.                app:layout_constraintTop_toBottomOf="@+id/title_item" />
  73.  
  74.         </android.support.constraint.ConstraintLayout>
  75.     </android.support.v7.widget.CardView>
  76.  
  77. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement