Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (67 sloc) 3.15 KB
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="16dp"
android:paddingTop="20dp"
android:paddingRight="16dp"
android:paddingBottom="20dp">
<android.support.v7.widget.AppCompatImageView
android:id="@+id/imageViewPlaceIcon"
android:layout_width="56dp"
android:layout_height="56dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@tools:sample/avatars" />
<android.support.v7.widget.AppCompatTextView
android:id="@+id/textViewPlaceName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintLeft_toRightOf="@+id/imageViewPlaceIcon"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="@tools:sample/full_names" />
<android.support.v7.widget.AppCompatRatingBar
android:id="@+id/ratingBarPlace"
style="@style/Widget.AppCompat.RatingBar.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintLeft_toRightOf="@+id/imageViewPlaceIcon"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textViewPlaceName"
tools:rating="3" />
<android.support.v7.widget.AppCompatTextView
android:id="@+id/textViewPriceLevel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintLeft_toRightOf="@+id/imageViewPlaceIcon"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ratingBarPlace"
tools:text="$$$$" />
<android.support.v7.widget.AppCompatImageButton
android:id="@+id/btnMoreOptions"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:background="?android:attr/selectableItemBackground"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toRightOf="@+id/ratingBarPlace"
app:layout_constraintHorizontal_bias="1"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_more" />
</android.support.constraint.ConstraintLayout>
You can’t perform that action at this time.