3
3
xmlns : app =" http://schemas.android.com/apk/res-auto" >
4
4
5
5
<data >
6
- <import type =" com.whyranoid.presentation.model.UiState" />
7
- <import type =" android.view.View" />
6
+
7
+ <import type =" com.whyranoid.presentation.model.UiState" />
8
+
9
+ <import type =" android.view.View" />
8
10
9
11
<variable
10
12
name =" vm"
32
34
</com .google.android.material.appbar.AppBarLayout>
33
35
34
36
<androidx .constraintlayout.widget.ConstraintLayout
37
+ android : id =" @+id/map_fragment_layout"
35
38
android : layout_width =" match_parent"
36
39
android : layout_height =" 0dp"
37
40
app : layout_constraintBottom_toTopOf =" @id/running_history_item"
38
41
app : layout_constraintTop_toBottomOf =" @id/tool_bar" >
39
42
40
- <fragment xmlns : app = " http://schemas.android.com/apk/res-auto "
43
+ <fragment
41
44
android : id =" @+id/map_fragment"
42
45
android : name =" com.naver.maps.map.MapFragment"
43
46
android : layout_width =" match_parent"
82
85
app : layout_constraintEnd_toEndOf =" parent"
83
86
app : layout_constraintStart_toEndOf =" @id/btn_positive" />
84
87
85
- <FrameLayout
86
- android : id =" @+id/frame_progress_running"
87
- android : layout_width =" match_parent"
88
- android : layout_height =" match_parent"
89
- android : background =" @color/black"
90
- android : alpha =" 0.8"
91
- android : translationZ =" @{vm.runningFinishDataState instanceof UiState.Success ? 0f : 10f }"
92
- android : visibility =" @{vm.runningFinishDataState instanceof UiState.Success ? View.GONE : View.VISIBLE }" >
93
-
94
- <com .google.android.material.progressindicator.CircularProgressIndicator
95
- android : id =" @+id/progressindicator_running"
96
- android : layout_width =" wrap_content"
97
- android : layout_height =" wrap_content"
98
- android : layout_gravity =" center"
99
- android : contentDescription =" @string/running_finish_progress_description"
100
- android : indeterminate =" true"
101
- android : visibility =" @{vm.runningFinishDataState instanceof UiState.Success ? View.GONE : View.VISIBLE }"
102
- app : indicatorColor =" ?attr/colorOnPrimary" />
103
-
104
- </FrameLayout >
105
-
106
88
</androidx .constraintlayout.widget.ConstraintLayout>
107
89
</layout >
0 commit comments