|
|
|
@ -6,17 +6,76 @@
@@ -6,17 +6,76 @@
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
tools:context=".ui.calendar.CalendarFragment"> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/text_home" |
|
|
|
|
android:id="@+id/tv_result" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="center" |
|
|
|
|
android:padding="15dp" /> |
|
|
|
|
|
|
|
|
|
<com.necer.view.WeekBar |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
android:layout_marginEnd="8dp" |
|
|
|
|
android:textAlignment="center" |
|
|
|
|
android:textSize="20sp" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
android:layout_alignParentBottom="true" |
|
|
|
|
android:textColor="#666666" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.necer.calendar.Miui10Calendar |
|
|
|
|
android:id="@+id/miui10Calendar" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
app:showNumberBackground="true" |
|
|
|
|
app:solarTextBold="true"> |
|
|
|
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:background="@android:color/darker_gray"> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginLeft="15dp" |
|
|
|
|
android:layout_marginTop="10dp" |
|
|
|
|
android:layout_marginRight="15dp" |
|
|
|
|
android:layout_marginBottom="15dp" |
|
|
|
|
android:background="@drawable/bg_miui10" |
|
|
|
|
android:orientation="vertical" |
|
|
|
|
android:padding="15dp"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_data" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:text="" |
|
|
|
|
android:textColor="#333333" |
|
|
|
|
android:textSize="13sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_desc" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="10dp" |
|
|
|
|
android:text="" |
|
|
|
|
android:textColor="#666666" |
|
|
|
|
android:textSize="12sp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
</androidx.core.widget.NestedScrollView> |
|
|
|
|
|
|
|
|
|
</com.necer.calendar.Miui10Calendar> |
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |