1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
4
4
xmlns : tools =" http://schemas.android.com/tools"
5
5
android : layout_width =" match_parent"
6
6
android : layout_height =" match_parent"
7
+ android : orientation =" vertical"
7
8
android : padding =" 20dp"
8
9
tools : context =" .MainActivity" >
9
10
12
13
android : layout_width =" match_parent"
13
14
android : layout_height =" wrap_content"
14
15
android : drawableRight =" @drawable/ic_remove_red_eye_black_24dp"
16
+ android : hint =" @string/clickTheDrawables"
17
+ android : inputType =" text"
18
+ android : textAlignment =" center"
19
+ app : layout_constraintBottom_toBottomOf =" parent"
20
+ app : layout_constraintLeft_toLeftOf =" parent"
21
+ app : layout_constraintRight_toRightOf =" parent"
22
+ app : layout_constraintTop_toTopOf =" parent" />
23
+ <com .mindorks.editdrawabletext.EditDrawableText
24
+ android : id =" @+id/drawable_editText_left"
25
+ android : layout_width =" match_parent"
26
+ android : layout_marginTop =" 10dp"
27
+ android : layout_height =" wrap_content"
15
28
android : drawableLeft =" @drawable/ic_remove_red_eye_black_24dp"
16
29
android : hint =" @string/clickTheDrawables"
17
30
android : inputType =" text"
21
34
app : layout_constraintRight_toRightOf =" parent"
22
35
app : layout_constraintTop_toTopOf =" parent" />
23
36
24
- </RelativeLayout >
37
+ </LinearLayout >
0 commit comments