Steampunk watch face layout changes

This commit is contained in:
Andrew Warrington 2017-12-11 07:15:57 +01:00
parent 42aa552017
commit c453eababb
3 changed files with 17 additions and 19 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 645 KiB

After

Width:  |  Height:  |  Size: 98 KiB

View file

@ -86,7 +86,7 @@
<LinearLayout <LinearLayout
android:layout_width="0px" android:layout_width="0px"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="0.2" android:layout_weight="0.14"
android:orientation="horizontal"> android:orientation="horizontal">
@ -96,13 +96,12 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center" android:layout_gravity="center"
android:gravity="center" android:gravity="center"
android:paddingEnd="10dp" android:paddingTop="7dp"
android:paddingTop="6dp" android:rotation="-28"
android:rotation="-25"
android:text="--g" android:text="--g"
android:textAlignment="center" android:textAlignment="center"
android:textColor="@color/black_86p" android:textColor="@color/black_86p"
android:textSize="13sp" android:textSize="12sp"
android:textStyle="bold" /> android:textStyle="bold" />
</LinearLayout> </LinearLayout>
@ -110,7 +109,7 @@
<LinearLayout <LinearLayout
android:layout_width="0px" android:layout_width="0px"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="0.2" android:layout_weight="0.26"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
@ -119,7 +118,8 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center" android:layout_gravity="center"
android:gravity="center" android:gravity="center"
android:paddingBottom="12dp" android:paddingBottom="14dp"
android:rotation="-2"
android:text="-.--U/h" android:text="-.--U/h"
android:textAlignment="center" android:textAlignment="center"
android:textColor="@color/black_86p" android:textColor="@color/black_86p"
@ -140,7 +140,6 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center" android:layout_gravity="center"
android:gravity="center" android:gravity="center"
android:paddingStart="10dp"
android:paddingTop="6dp" android:paddingTop="6dp"
android:rotation="28" android:rotation="28"
android:text="0.00U" android:text="0.00U"
@ -242,7 +241,7 @@
android:gravity="center" android:gravity="center"
android:paddingEnd="8dp" android:paddingEnd="8dp"
android:paddingTop="8dp" android:paddingTop="8dp"
android:rotation="-21" android:rotation="-24"
android:text="-'" android:text="-'"
android:textAlignment="center" android:textAlignment="center"
android:textColor="@color/black_86p" android:textColor="@color/black_86p"
@ -300,7 +299,7 @@
android:gravity="center" android:gravity="center"
android:paddingStart="10dp" android:paddingStart="10dp"
android:paddingTop="8dp" android:paddingTop="8dp"
android:rotation="21" android:rotation="24"
android:text="-'" android:text="-'"
android:textAlignment="center" android:textAlignment="center"
android:textColor="@color/black_86p" android:textColor="@color/black_86p"
@ -349,7 +348,7 @@
android:layout_height="0px" android:layout_height="0px"
android:layout_weight="0.3" android:layout_weight="0.3"
android:orientation="vertical" android:orientation="vertical"
android:rotation="60" android:rotation="0"
android:src="@drawable/steampunk_hour_hand" /> android:src="@drawable/steampunk_hour_hand" />
</LinearLayout> </LinearLayout>

View file

@ -86,7 +86,7 @@
<LinearLayout <LinearLayout
android:layout_width="0px" android:layout_width="0px"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="0.2" android:layout_weight="0.14"
android:orientation="horizontal"> android:orientation="horizontal">
@ -96,13 +96,12 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center" android:layout_gravity="center"
android:gravity="center" android:gravity="center"
android:paddingEnd="10dp" android:paddingTop="7dp"
android:paddingTop="6dp"
android:rotation="-28" android:rotation="-28"
android:text="--g" android:text="--g"
android:textAlignment="center" android:textAlignment="center"
android:textColor="@color/black_86p" android:textColor="@color/black_86p"
android:textSize="13sp" android:textSize="12sp"
android:textStyle="bold" /> android:textStyle="bold" />
</LinearLayout> </LinearLayout>
@ -110,7 +109,7 @@
<LinearLayout <LinearLayout
android:layout_width="0px" android:layout_width="0px"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="0.2" android:layout_weight="0.26"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
@ -119,7 +118,8 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center" android:layout_gravity="center"
android:gravity="center" android:gravity="center"
android:paddingBottom="12dp" android:paddingBottom="14dp"
android:rotation="-2"
android:text="-.--U/h" android:text="-.--U/h"
android:textAlignment="center" android:textAlignment="center"
android:textColor="@color/black_86p" android:textColor="@color/black_86p"
@ -140,7 +140,6 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center" android:layout_gravity="center"
android:gravity="center" android:gravity="center"
android:paddingStart="10dp"
android:paddingTop="6dp" android:paddingTop="6dp"
android:rotation="28" android:rotation="28"
android:text="0.00U" android:text="0.00U"
@ -349,7 +348,7 @@
android:layout_height="0px" android:layout_height="0px"
android:layout_weight="0.3" android:layout_weight="0.3"
android:orientation="vertical" android:orientation="vertical"
android:rotation="60" android:rotation="0"
android:src="@drawable/steampunk_hour_hand" /> android:src="@drawable/steampunk_hour_hand" />
</LinearLayout> </LinearLayout>