|
@@ -35,7 +35,85 @@
|
|
|
app:layout_constraintHorizontal_weight="1.5"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toLeftOf="@id/weekLayout"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tvTitle" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tvTitle">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/leftImage"
|
|
|
+ android:layout_width="@dimen/divider_35px"
|
|
|
+ android:layout_height="@dimen/divider_35px"
|
|
|
+ android:layout_marginStart="@dimen/divider_79px"
|
|
|
+ android:layout_marginTop="@dimen/divider_26px"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tvDate"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/divider_31px"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_18px"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/rightImage"
|
|
|
+ android:layout_width="@dimen/divider_35px"
|
|
|
+ android:layout_height="@dimen/divider_35px"
|
|
|
+ android:layout_marginTop="@dimen/divider_26px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_79px"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/weekLayoutLeft"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tvDate">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ style="@style/data_monitor_week_text"
|
|
|
+ android:text="@string/sunday" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ style="@style/data_monitor_week_text"
|
|
|
+ android:text="@string/monday" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ style="@style/data_monitor_week_text"
|
|
|
+ android:text="@string/tuesday" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ style="@style/data_monitor_week_text"
|
|
|
+ android:text="@string/wednesday" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ style="@style/data_monitor_week_text"
|
|
|
+ android:text="@string/thursday" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ style="@style/data_monitor_week_text"
|
|
|
+ android:text="@string/friday" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ style="@style/data_monitor_week_text"
|
|
|
+ android:text="@string/saturday" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rvDate"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/weekLayoutLeft" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/weekLayout"
|