|
97 | 97 | app:layout_constraintStart_toStartOf="parent"
|
98 | 98 | app:layout_constraintTop_toBottomOf="@id/tv_runner_count_unit" />
|
99 | 99 |
|
| 100 | + <com.airbnb.lottie.LottieAnimationView |
| 101 | + android:id="@+id/lottie_anim_running_start" |
| 102 | + android:layout_width="0dp" |
| 103 | + android:layout_height="0dp" |
| 104 | + app:layout_constraintBottom_toTopOf="@+id/card_view_start_running" |
| 105 | + app:layout_constraintEnd_toEndOf="parent" |
| 106 | + app:layout_constraintStart_toStartOf="parent" |
| 107 | + app:layout_constraintTop_toBottomOf="@id/tv_runner_count_suffix" |
| 108 | + app:lottie_autoPlay="true" |
| 109 | + app:lottie_loop="true" |
| 110 | + app:lottie_rawRes="@raw/runing_tab_animation" /> |
| 111 | + |
100 | 112 | <androidx.cardview.widget.CardView
|
| 113 | + android:id="@+id/card_view_start_running" |
101 | 114 | enableWithNetworkState="@{vm.networkState}"
|
102 | 115 | android:layout_width="0dp"
|
103 |
| - android:layout_height="0dp" |
| 116 | + android:layout_height="wrap_content" |
104 | 117 | android:onClick="@{() -> vm.onStartButtonClicked()}"
|
105 | 118 | app:cardBackgroundColor="@color/mogakrun_primary_light"
|
106 |
| - app:cardCornerRadius="999dp" |
| 119 | + app:cardCornerRadius="20dp" |
107 | 120 | app:layout_constraintBottom_toBottomOf="parent"
|
108 |
| - app:layout_constraintDimensionRatio="1:1" |
109 | 121 | app:layout_constraintEnd_toEndOf="@id/width_end"
|
110 | 122 | app:layout_constraintStart_toStartOf="@id/width_start"
|
111 | 123 | app:layout_constraintTop_toBottomOf="@id/tv_runner_count_suffix">
|
112 | 124 |
|
113 |
| - <androidx.constraintlayout.widget.ConstraintLayout |
114 |
| - android:layout_width="match_parent" |
115 |
| - android:layout_height="match_parent" |
116 |
| - android:orientation="vertical"> |
117 |
| - |
118 |
| - <androidx.constraintlayout.widget.Guideline |
119 |
| - android:id="@+id/guide_running_start" |
120 |
| - android:layout_width="match_parent" |
121 |
| - android:layout_height="0dp" |
122 |
| - android:orientation="horizontal" |
123 |
| - app:layout_constraintGuide_percent="0.66" /> |
124 |
| - |
125 |
| - <com.airbnb.lottie.LottieAnimationView |
126 |
| - android:id="@+id/lottie_anim_running_start" |
127 |
| - android:layout_width="0dp" |
128 |
| - android:layout_height="0dp" |
129 |
| - app:layout_constraintBottom_toBottomOf="@id/guide_running_start" |
130 |
| - app:layout_constraintEnd_toEndOf="parent" |
131 |
| - app:layout_constraintStart_toStartOf="parent" |
132 |
| - app:layout_constraintTop_toTopOf="parent" |
133 |
| - app:lottie_autoPlay="true" |
134 |
| - app:lottie_loop="true" |
135 |
| - app:lottie_rawRes="@raw/runing_tab_animation" /> |
136 |
| - |
137 |
| - <TextView |
138 |
| - style="@style/MoGakRunText.Regular.Large" |
139 |
| - android:layout_width="wrap_content" |
140 |
| - android:layout_height="wrap_content" |
141 |
| - android:layout_marginTop="5dp" |
142 |
| - android:gravity="center" |
143 |
| - android:text="@string/runner_start_button_text" |
144 |
| - android:textColor="?attr/colorOnPrimary" |
145 |
| - app:layout_constraintEnd_toEndOf="parent" |
146 |
| - app:layout_constraintStart_toStartOf="parent" |
147 |
| - app:layout_constraintTop_toBottomOf="@id/guide_running_start" /> |
148 |
| - |
149 |
| - </androidx.constraintlayout.widget.ConstraintLayout> |
150 |
| - |
| 125 | + <TextView |
| 126 | + style="@style/MoGakRunText.Regular.Large" |
| 127 | + android:layout_width="wrap_content" |
| 128 | + android:layout_height="wrap_content" |
| 129 | + android:layout_gravity="center" |
| 130 | + android:text="@string/runner_start_button_text" |
| 131 | + android:textColor="?attr/colorOnPrimary" |
| 132 | + android:textAppearance="@style/MoGakRunText.Bold.Large" |
| 133 | + android:paddingVertical="16dp"/> |
151 | 134 |
|
152 | 135 | </androidx.cardview.widget.CardView>
|
153 | 136 |
|
|
0 commit comments