Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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:id="@+id/placeDetailsLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@android:color/transparent"
- android:visibility="gone"
- app:behavior_hideable="true"
- app:behavior_peekHeight="56dp"
- app:layout_behavior="@string/bottom_sheet_behavior"
- tools:visibility="visible">
- <View
- android:id="@+id/shadow"
- android:layout_width="match_parent"
- android:layout_height="8dp"
- android:background="@drawable/top_shadow" />
- <android.support.constraint.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- app:layout_constraintTop_toBottomOf="@id/shadow">
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/placeName"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingBottom="@dimen/vt_space_medium"
- android:paddingTop="@dimen/vt_space_medium"
- tools:text="Brainstation23" />
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/placeAddress"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/secondaryText"
- app:layout_constraintTop_toBottomOf="@id/placeName"
- tools:text="Address" />
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/phoneNumber"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/secondaryText"
- app:layout_constraintTop_toBottomOf="@id/placeAddress" />
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/website"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/secondaryText"
- app:layout_constraintTop_toBottomOf="@id/phoneNumber" />
- <android.support.v7.widget.AppCompatButton
- android:id="@+id/close"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/vt_space"
- android:background="@android:drawable/btn_default"
- android:text="Close"
- android:textColor="@color/white"
- app:backgroundTint="@color/colorPrimary"
- app:layout_constraintTop_toBottomOf="@id/website" />
- </android.support.constraint.ConstraintLayout>
- </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement