diff --git a/app/src/main/java/com/ray650128/iosclockwidget/IOSClockView.kt b/app/src/main/java/com/ray650128/iosclockwidget/IOSClockView.kt index 0b1f7f5..0c00bad 100644 --- a/app/src/main/java/com/ray650128/iosclockwidget/IOSClockView.kt +++ b/app/src/main/java/com/ray650128/iosclockwidget/IOSClockView.kt @@ -202,7 +202,7 @@ class IOSClockView: View { canvas?.rotate(angleMinute, centerX, centerY) val rectMinute = RectF( centerX - (width * 0.02f) / 2, - centerY - radius + 20f, + centerY - radius + 40f, centerX + (width * 0.02f) / 2, centerY - radius / 6 ) @@ -214,7 +214,7 @@ class IOSClockView: View { val rectMinute2 = RectF( centerX - (width * 0.01f) / 2, - centerY - radius + 20f, + centerY - radius + 40f, centerX + (width * 0.01f) / 2, centerY ) @@ -237,7 +237,7 @@ class IOSClockView: View { canvas?.rotate(angleSecond, centerX, centerY) val rectSecond = RectF( centerX - (width * 0.005f) / 2, - centerY - radius + 20, + centerY - radius + 25f, centerX + (width * 0.005f) / 2, centerY + radius / 6 ) diff --git a/app/src/main/res/drawable/img_hour_hand.xml b/app/src/main/res/drawable/img_hour_hand.xml index 76d6964..f4d1d6a 100644 --- a/app/src/main/res/drawable/img_hour_hand.xml +++ b/app/src/main/res/drawable/img_hour_hand.xml @@ -1,6 +1,6 @@ @@ -8,7 +8,7 @@ + android:left="2.5dp" + android:right="2.5dp"> + android:width="20dp" + android:height="20dp" + android:top="90dp"> diff --git a/app/src/main/res/drawable/img_minute_hand.xml b/app/src/main/res/drawable/img_minute_hand.xml index df03742..427ff45 100644 --- a/app/src/main/res/drawable/img_minute_hand.xml +++ b/app/src/main/res/drawable/img_minute_hand.xml @@ -1,15 +1,15 @@ + android:width="20dp" + android:height="285dp"> @@ -19,20 +19,20 @@ + android:left="2.5dp" + android:right="2.5dp"> + android:width="20dp" + android:height="20dp" + android:top="132.5dp">