Created
October 31, 2020 21:05
-
-
Save FrancescoBonizzi/eda49984d0e1ba3b5412b782c0204c78 to your computer and use it in GitHub Desktop.
This file contains 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"?> | |
<LinearLayout 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:orientation="vertical" | |
app:behavior_hideable="true" | |
app:behavior_peekHeight="0dp" | |
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> | |
<TextView | |
android:id="@+id/txtDialogTitle" | |
style="@style/BottomDiaologTitleStyle" | |
tools:text="Article detail" /> | |
<View style="@style/BottomDialogButtonsSeparator" /> | |
<TextView | |
android:id="@+id/btnEditArticle" | |
style="@style/ButtonDialogButtonText" | |
android:background="@drawable/bottom_dialog_rounded_corner_button_middle" | |
android:text="@string/edit" /> | |
<View style="@style/BottomDialogButtonsSeparator" /> | |
<TextView | |
android:id="@+id/btnDeleteArticle" | |
style="@style/ButtonDialogButtonText" | |
android:background="@drawable/bottom_dialog_rounded_corner_button_end" | |
android:text="@string/delete" | |
android:textColor="@color/colorError" /> | |
<TextView | |
android:id="@+id/btnCancelDialog" | |
style="@style/ButtonDialogButtonText" | |
android:layout_marginTop="10dp" | |
android:layout_marginBottom="20dp" | |
android:background="@drawable/bottom_dialog_rounded_corner_button_very_last" | |
android:text="@string/cancel" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment