Created
April 17, 2018 16:15
-
-
Save Audhil/3fdf32e2d9870820114f040d7a9d0d6a to your computer and use it in GitHub Desktop.
AlertDialogs with Extn funcs blog_6
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"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<android.support.constraint.ConstraintLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@android:color/transparent"> | |
<ImageView | |
android:id="@+id/close_icon" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:clickable="true" | |
android:contentDescription="@string/close" | |
android:focusable="true" | |
android:padding="20dp" | |
app:srcCompat="@drawable/ic_close_white_24dp" /> | |
<ImageView | |
android:id="@+id/done_icon" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:clickable="true" | |
android:contentDescription="@string/close" | |
android:focusable="true" | |
android:padding="20dp" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:srcCompat="@drawable/ic_done_white_24dp" /> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="300dp" | |
android:background="@android:color/white" | |
app:layout_constraintTop_toBottomOf="@+id/done_icon"> | |
<android.support.design.widget.TextInputLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:padding="20dp"> | |
<android.support.design.widget.TextInputEditText | |
android:id="@+id/notes_etxt_view" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@null" | |
android:gravity="top" | |
android:hint="@string/add_note" | |
android:maxLines="10" | |
android:padding="10dp" /> | |
</android.support.design.widget.TextInputLayout> | |
</RelativeLayout> | |
</android.support.constraint.ConstraintLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment