Parcourir la source

打卡界面修改

zengjiebin il y a 7 ans
Parent
commit
cbfc293e9f
1 fichiers modifiés avec 21 ajouts et 15 suppressions
  1. 21 15
      app/src/main/res/layout/header_sign_card_record.xml

+ 21 - 15
app/src/main/res/layout/header_sign_card_record.xml

@@ -14,24 +14,30 @@
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:background="#FFE866"
-            app:calendar_height="46dp"
-            app:current_day_lunar_text_color="#ffffff"
-            app:current_day_text_color="#ffffff"
-            app:current_month_lunar_text_color="#999999"
+            app:calendar_padding="10dp"
+            app:current_month_lunar_text_color="#CFCFCF"
             app:current_month_text_color="#333333"
-            app:day_text_size="12sp"
-            app:lunar_text_size="12sp"
+            app:max_year="2020"
             app:min_year="2018"
-            app:month_view="com.sheep.gamegroup.view.customview.CalendarMonthView"
-            app:month_view_scrollable="true"
-            app:month_view_show_mode="mode_all"
-            app:scheme_lunar_text_color="#ffffff"
-            app:scheme_month_text_color="#ffffff"
+            app:month_view="com.haibin.calendarviewproject.custom.CustomMonthView"
+            app:month_view_show_mode="mode_fix"
+            app:other_month_lunar_text_color="#e1e1e1"
+            app:other_month_text_color="#e1e1e1"
+            app:scheme_text="√"
+            app:scheme_text_color="#333"
+            app:scheme_theme_color="#128c4b"
+            app:selected_lunar_text_color="#fff"
+            app:selected_text_color="#fff"
+            app:selected_theme_color="#046cea"
             app:week_background="#FFE866"
-            app:week_bar_view="com.haibin.calendarview.WeekBar"
-            app:week_start_with="mon"
-            app:week_text_color="#111" />
-
+            app:week_start_with="sun"
+            app:week_text_color="#046cea"
+            app:week_view="com.haibin.calendarviewproject.custom.CustomWeekView"
+            app:year_view_day_text_color="#333333"
+            app:year_view_day_text_size="9sp"
+            app:year_view_month_text_color="#ff0000"
+            app:year_view_month_text_size="20sp"
+            app:year_view_scheme_color="#f17706" />
         <LinearLayout
             android:layout_width="match_parent"
             android:layout_height="40dp"