Created
June 27, 2020 21:03
-
-
Save utsmannn/18ac6687e6b541778a537575f3cfb5c8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/bottom_sheet" | |
android:layout_width="match_parent" | |
android:layout_height="100dp" | |
android:background="@android:color/white" | |
android:padding="12dp" | |
app:behavior_hideable="true" | |
app:behavior_peekHeight="100dp" | |
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> | |
<TextView | |
android:id="@+id/text_title" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:textStyle="bold" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<TextView | |
android:id="@+id/text_address" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
app:layout_constraintTop_toBottomOf="@+id/text_title" /> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment