commit ea7154f2c891300f0e465fd8d2da66372ae3bd2e Author: n8fr8 nathan@freitas.net Date: Fri Jun 29 11:41:13 2012 -0400
small cleanup to main layout and notify icons --- res/drawable/tornotification.png | Bin 779 -> 978 bytes res/drawable/tornotificationon.png | Bin 826 -> 1073 bytes res/layout/layout_main.xml | 8 ++++---- 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/res/drawable/tornotification.png b/res/drawable/tornotification.png index 068c3b9..ecb5cce 100644 Binary files a/res/drawable/tornotification.png and b/res/drawable/tornotification.png differ diff --git a/res/drawable/tornotificationon.png b/res/drawable/tornotificationon.png index 68e8a34..0b62f10 100644 Binary files a/res/drawable/tornotificationon.png and b/res/drawable/tornotificationon.png differ diff --git a/res/layout/layout_main.xml b/res/layout/layout_main.xml index 36ba9a7..db167e3 100644 --- a/res/layout/layout_main.xml +++ b/res/layout/layout_main.xml @@ -16,8 +16,8 @@ <ImageView android:id="@+id/radioModeImage" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="3px" - android:layout_marginRight="3px" + android:layout_marginTop="3dp" + android:layout_marginRight="3dp" android:gravity="right" android:layout_toRightOf="@+id/radioModeLabel" android:layout_alignParentRight="true" @@ -28,7 +28,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/powered_by" - android:layout_marginTop="8px" + android:layout_marginTop="8dp" android:layout_marginRight="0px" android:gravity="right" android:layout_toLeftOf="@+id/radioModeImage" @@ -45,6 +45,7 @@ android:layout_marginTop="40dp" android:layout_weight="1" android:src="@drawable/toroff" + android:contentDescription="activate button" android:layout_gravity="center_horizontal" /> <TextView android:id="@+id/lblStatus" @@ -55,7 +56,6 @@ android:layout_height="wrap_content" android:textColor="#ffffff" - android:layout_below="@id/imgStatus" /> </LinearLayout>
tor-commits@lists.torproject.org