1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .constraintlayout.widget.ConstraintLayout
3
- xmlns : android =" http://schemas.android.com/apk/res/android " android : layout_width = " match_parent "
4
- android : layout_height = " match_parent " >
2
+ <merge xmlns : android = " http://schemas.android.com/apk/res/android "
3
+ xmlns : app =" http://schemas.android.com/apk/res-auto "
4
+ >
5
5
6
- </androidx .constraintlayout.widget.ConstraintLayout>
6
+ <ImageView
7
+ android : id =" @+id/back"
8
+ android : layout_width =" wrap_content"
9
+ android : layout_height =" match_parent"
10
+ app : layout_constraintBottom_toBottomOf =" parent"
11
+ app : layout_constraintStart_toStartOf =" parent"
12
+ app : layout_constraintTop_toTopOf =" parent"
13
+ android : layout_centerVertical =" true"
14
+ android : background =" ?attr/selectableItemBackgroundBorderless"
15
+ android : padding =" @dimen/standard_gap"
16
+ app : srcCompat =" ?attr/custom_selector_back" />
17
+
18
+
19
+ <TextView
20
+ android : id =" @+id/title"
21
+ android : layout_width =" wrap_content"
22
+ android : layout_height =" wrap_content"
23
+ app : layout_constraintStart_toEndOf =" @id/back"
24
+ app : layout_constraintTop_toTopOf =" parent"
25
+ app : layout_constraintBottom_toBottomOf =" parent"
26
+ android : layout_marginHorizontal =" @dimen/standard_gap"
27
+ android : ellipsize =" end"
28
+ android : maxLines =" 1"
29
+ android : text =" @string/custom_selector_title"
30
+ style =" @style/TextAppearance.AppCompat.Widget.ActionBar.Title" />
31
+
32
+ <ImageView
33
+ android : id =" @+id/done"
34
+ app : layout_constraintEnd_toEndOf =" parent"
35
+ app : layout_constraintTop_toTopOf =" parent"
36
+ android : layout_width =" wrap_content"
37
+ android : layout_height =" match_parent"
38
+ android : layout_centerVertical =" true"
39
+ android : clickable =" true"
40
+ android : focusable =" true"
41
+ android : padding =" @dimen/standard_gap"
42
+ app : srcCompat =" ?attr/custom_selector_done" />
43
+
44
+ </merge >
0 commit comments