[tor-commits] [orbot/master] Centre the text in the wizard
n8fr8 at torproject.org
n8fr8 at torproject.org
Mon Oct 1 07:41:26 UTC 2012
commit 855892e1361327931fb7143ae483685b284e6e17
Author: Sathyanarayanan Gunasekaran <gsathya.ceg at gmail.com>
Date: Sun Sep 30 23:12:17 2012 +0530
Centre the text in the wizard
---
res/layout/layout_wizard_permissions.xml | 34 +++++++++++++++-------------
res/layout/scrollingtext_buttons_view.xml | 32 +++++++++++++-------------
2 files changed, 34 insertions(+), 32 deletions(-)
diff --git a/res/layout/layout_wizard_permissions.xml b/res/layout/layout_wizard_permissions.xml
index 31721de..b61a1f8 100644
--- a/res/layout/layout_wizard_permissions.xml
+++ b/res/layout/layout_wizard_permissions.xml
@@ -18,23 +18,25 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
- android:paddingLeft="20sp" >
+ android:paddingLeft="20sp"
+ android:paddingTop="10sp" >
+
</ImageView>
- <TextView
- android:textColor="#FFFFFF"
- android:textSize="10pt"
- android:layout_toRightOf="@id/orbot_image"
- android:gravity="center_vertical"
- android:layout_height="fill_parent"
- android:id="@+id/WizardTextTitle"
- android:layout_width="wrap_content"
- android:fadingEdge="vertical"
- android:text="TITLE"
- android:singleLine="true"
- android:layout_centerInParent="true"
- android:paddingLeft="5sp"
- >
- </TextView>
+
+ <TextView
+ android:id="@+id/WizardTextTitle"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentTop="true"
+ android:layout_centerHorizontal="true"
+ android:fadingEdge="vertical"
+ android:gravity="center_vertical"
+ android:paddingLeft="5sp"
+ android:singleLine="true"
+ android:text="TITLE"
+ android:textColor="#FFFFFF"
+ android:textSize="10pt" />
+
</RelativeLayout>
<TableLayout android:id="@+id/TableLayout01" android:stretchColumns="*" android:layout_height="fill_parent" android:layout_width="wrap_content">
diff --git a/res/layout/scrollingtext_buttons_view.xml b/res/layout/scrollingtext_buttons_view.xml
index 3c1dbb4..9a879b7 100644
--- a/res/layout/scrollingtext_buttons_view.xml
+++ b/res/layout/scrollingtext_buttons_view.xml
@@ -17,28 +17,28 @@
android:id="@+id/orbot_image"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
- android:paddingLeft="20sp"
+ android:paddingLeft="40sp"
android:src="@drawable/warning"
android:gravity="center_vertical"
>
</ImageView>
- <TextView
- android:textColor="#FFFFFF"
- android:textSize="20dp"
- android:layout_toRightOf="@id/orbot_image"
- android:gravity="center_vertical"
- android:layout_height="fill_parent"
- android:id="@+id/WizardTextTitle"
- android:layout_width="wrap_content"
- android:fadingEdge="vertical"
- android:text="TITLE"
- android:singleLine="true"
- android:layout_centerInParent="true"
- android:paddingLeft="5sp"
- >
- </TextView>
+
+ <TextView
+ android:id="@+id/WizardTextTitle"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentTop="true"
+ android:layout_centerHorizontal="true"
+ android:fadingEdge="vertical"
+ android:gravity="center_vertical"
+ android:paddingLeft="5sp"
+ android:singleLine="true"
+ android:text="TITLE"
+ android:textColor="#FFFFFF"
+ android:textSize="20dp" />
+
</RelativeLayout>
<TableLayout android:id="@+id/TableLayout01" android:stretchColumns="*" android:layout_height="fill_parent" android:layout_width="wrap_content" >
More information about the tor-commits
mailing list