Advertisement
Guest User

Untitled

a guest
Mar 13th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.25 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.    android:layout_width="match_parent"
  5.    android:layout_height="wrap_content">
  6.  
  7.     <FrameLayout
  8.        android:id="@+id/frameLayout3"
  9.        android:layout_width="0dp"
  10.        android:layout_height="259dp"
  11.        android:layout_marginEnd="8dp"
  12.        android:layout_marginStart="8dp"
  13.        android:background="@android:color/black"
  14.        app:layout_constraintEnd_toEndOf="parent"
  15.        app:layout_constraintHorizontal_bias="0.0"
  16.        app:layout_constraintStart_toEndOf="@+id/imageView"
  17.        app:layout_constraintTop_toTopOf="parent"/>
  18.  
  19.     <ImageView
  20.        android:id="@+id/imageView"
  21.        android:layout_width="0dp"
  22.        android:layout_height="0dp"
  23.        android:src="@android:drawable/ic_menu_add"
  24.        app:layout_constraintBottom_toBottomOf="@+id/frameLayout3"
  25.        app:layout_constraintDimensionRatio="1:1"
  26.        app:layout_constraintStart_toStartOf="parent"
  27.        app:layout_constraintTop_toTopOf="parent"
  28.        app:layout_constraintWidth_percent="0.3"/>
  29.  
  30. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement