Browse Source

Merge branch 'developer' of https://gitlab.com/Arisono/SkWeiChat-Baidu into developer

Bitliker 9 years ago
parent
commit
79148a0d81

+ 2 - 2
WeiChat/src/main/java/com/xzjmyk/pm/activity/view/CalendarView.java

@@ -429,7 +429,7 @@ public class    CalendarView extends View implements View.OnTouchListener {
             weekPaint = new Paint();
             weekPaint = new Paint();
             weekPaint.setColor(textColor);
             weekPaint.setColor(textColor);
             weekPaint.setAntiAlias(true);
             weekPaint.setAntiAlias(true);
-            float weekTextSize = weekHeight * 0.6f;
+            float weekTextSize = weekHeight * 0.5f;
             weekPaint.setTextSize(weekTextSize);
             weekPaint.setTextSize(weekTextSize);
             //weekPaint.setTypeface(Typeface.DEFAULT_BOLD);
             //weekPaint.setTypeface(Typeface.DEFAULT_BOLD);
             datePaint = new Paint();
             datePaint = new Paint();
@@ -442,7 +442,7 @@ public class    CalendarView extends View implements View.OnTouchListener {
             circlePaint.setFilterBitmap(true);
             circlePaint.setFilterBitmap(true);
             circlePaint.setStyle(Paint.Style.STROKE);//空心
             circlePaint.setStyle(Paint.Style.STROKE);//空心
             circlePaint.setStrokeWidth(3);
             circlePaint.setStrokeWidth(3);
-            float cellTextSize = cellHeight * 0.5f;
+            float cellTextSize = cellHeight * 0.35f;
             datePaint.setTextSize(cellTextSize);
             datePaint.setTextSize(cellTextSize);
             //datePaint.setTypeface(Typeface.DEFAULT_BOLD);
             //datePaint.setTypeface(Typeface.DEFAULT_BOLD);
             boxPath = new Path();
             boxPath = new Path();

+ 4 - 4
WeiChat/src/main/res/layout/activity_oa.xml

@@ -156,8 +156,8 @@
                 android:layout_height="match_parent"
                 android:layout_height="match_parent"
                 android:layout_weight="1"
                 android:layout_weight="1"
                 android:gravity="center"
                 android:gravity="center"
-                android:text="下属工作日"
-                android:textSize="20dp" />
+                android:text="下属工作日"
+                android:textSize="16dp" />
 
 
             <TextView
             <TextView
                 android:id="@+id/my_log"
                 android:id="@+id/my_log"
@@ -165,9 +165,9 @@
                 android:layout_height="match_parent"
                 android:layout_height="match_parent"
                 android:layout_weight="1"
                 android:layout_weight="1"
                 android:gravity="center"
                 android:gravity="center"
-                android:text="我的工作日"
+                android:text="我的工作日"
                 android:textCursorDrawable="@color/yellow_home"
                 android:textCursorDrawable="@color/yellow_home"
-                android:textSize="20dp" />
+                android:textSize="16dp" />
         </LinearLayout>
         </LinearLayout>
 
 
         <LinearLayout
         <LinearLayout