修正指針方向
This commit is contained in:
parent
ec1a7f8830
commit
c22bee5665
@ -10,7 +10,7 @@
|
||||
<item
|
||||
android:width="5dp"
|
||||
android:height="75dp"
|
||||
android:top="75dp"
|
||||
android:top="0dp"
|
||||
android:left="2.5dp"
|
||||
android:right="2.5dp">
|
||||
<shape android:shape="rectangle">
|
||||
@ -21,7 +21,7 @@
|
||||
<item
|
||||
android:width="7.5dp"
|
||||
android:height="50dp"
|
||||
android:top="100dp"
|
||||
android:top="0dp"
|
||||
android:left="1.25dp"
|
||||
android:right="1.25dp">
|
||||
<shape android:shape="rectangle">
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<item
|
||||
android:width="5dp"
|
||||
android:height="125dp"
|
||||
android:top="125dp"
|
||||
android:top="0dp"
|
||||
android:left="2.5dp"
|
||||
android:right="2.5dp">
|
||||
<shape android:shape="rectangle">
|
||||
@ -21,7 +21,7 @@
|
||||
<item
|
||||
android:width="7.5dp"
|
||||
android:height="100dp"
|
||||
android:top="150dp"
|
||||
android:top="0dp"
|
||||
android:left="1.25dp"
|
||||
android:right="1.25dp">
|
||||
<shape android:shape="rectangle">
|
||||
|
||||
@ -22,5 +22,12 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="5dp" />
|
||||
android:layout_marginBottom="5dp"
|
||||
android:shadowColor="#000000"
|
||||
android:shadowDx="1"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="4"
|
||||
android:text="時鐘"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp" />
|
||||
</RelativeLayout>
|
||||
@ -1,22 +0,0 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/Widget.IOSClockWidget.AppWidget.Container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/transparent"
|
||||
android:theme="@style/Theme.IOSClockWidget.AppWidgetContainer">
|
||||
|
||||
<com.ray650128.iosclockwidget.IOSClockView
|
||||
android:id="@+id/IOSClockView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/appwidget_text"
|
||||
android:layout_alignParentTop="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/appwidget_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="TextView" />
|
||||
</RelativeLayout>
|
||||
@ -1,6 +1,6 @@
|
||||
<resources>
|
||||
<string name="app_name">iOS Clock Widget</string>
|
||||
<string name="appwidget_text">EXAMPLE</string>
|
||||
<string name="add_widget">Add widget</string>
|
||||
<string name="app_widget_description">This is an app widget description</string>
|
||||
<string name="appwidget_text">時鐘</string>
|
||||
<string name="add_widget">iOS 小時鐘</string>
|
||||
<string name="app_widget_description">iOS 風格小時鐘 Widget</string>
|
||||
</resources>
|
||||
Loading…
Reference in New Issue
Block a user