|
|
@@ -136,27 +136,11 @@
|
|
|
app:layout_constraintStart_toEndOf="@id/calendarLayout"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvTitle">
|
|
|
|
|
|
- <com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
- android:id="@+id/swipeWeek"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1">
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/rvWeek"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:scrollbarStyle="insideOverlay"
|
|
|
- android:scrollbars="vertical"
|
|
|
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
|
-
|
|
|
- </com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
-
|
|
|
<TextView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/divider_55px"
|
|
|
android:layout_marginStart="@dimen/divider_20px"
|
|
|
- android:layout_marginTop="@dimen/divider_26px"
|
|
|
+ android:layout_marginTop="@dimen/divider_16px"
|
|
|
android:layout_marginEnd="@dimen/divider_20px"
|
|
|
android:background="@drawable/bg_total_training_duration"
|
|
|
android:gravity="center"
|
|
|
@@ -178,6 +162,32 @@
|
|
|
android:textStyle="bold"
|
|
|
app:drawableStartCompat="@mipmap/icon_duration" />
|
|
|
|
|
|
+ <com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
+ android:id="@+id/swipeWeek"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rvWeek"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:scrollbarStyle="insideOverlay"
|
|
|
+ android:scrollbars="vertical"
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
|
+
|
|
|
+ </com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btnTrainingDaily"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_55px"
|
|
|
+ android:layout_marginStart="@dimen/divider_22px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_18px"
|
|
|
+ android:text="@string/training_daily"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_28px" />
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
|
|
|
|