summaryrefslogtreecommitdiff
path: root/client/Piztor/res/layout/activity_login.xml
diff options
context:
space:
mode:
authorGoblin911 <[email protected]>2013-08-28 16:32:26 +0800
committerGoblin911 <[email protected]>2013-08-28 16:32:26 +0800
commit68ed59a88f2409f632c3731c0e5dc246713676a2 (patch)
treec0f7ba850655ed4ce0e95a5a7815541cbe24f4c9 /client/Piztor/res/layout/activity_login.xml
parent0a8315a94d8ed1252f3f96d4ca41ddc632c3bc98 (diff)
Fixed screen-rotation bug
Diffstat (limited to 'client/Piztor/res/layout/activity_login.xml')
-rw-r--r--client/Piztor/res/layout/activity_login.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/Piztor/res/layout/activity_login.xml b/client/Piztor/res/layout/activity_login.xml
index b1f2f5b..670a3dc 100644
--- a/client/Piztor/res/layout/activity_login.xml
+++ b/client/Piztor/res/layout/activity_login.xml
@@ -17,7 +17,7 @@
<ImageView
android:id="@+id/main_headbar_img"
android:layout_width="180dp"
- android:layout_height="240dp"
+ android:layout_height="190dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/title_logo" />
</LinearLayout>
@@ -27,7 +27,7 @@
android:id="@+id/user_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="220.0dip"
+ android:layout_marginTop="200.0dip"
android:layout_marginLeft="28.0dip"
android:layout_marginRight="28.0dip">
<EditText
@@ -39,7 +39,7 @@
android:paddingLeft="12.0dip"
android:layout_width="fill_parent"
android:layout_height="44.0dip"
- android:hint="account" android:maxLines="1"
+ android:hint="@string/username" android:maxLines="1"
android:maxLength="16"/>
<View
android:background="#ffc0c3c4"
@@ -57,7 +57,7 @@
android:paddingLeft="12.0dip"
android:layout_width="fill_parent"
android:layout_height="44.0dip"
- android:hint="password"
+ android:hint="@string/password"
android:maxLines="1"
android:maxLength="16"
android:inputType="textPassword" />
@@ -72,9 +72,9 @@
android:paddingTop="5.0dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="28.0dip"
+ android:layout_marginLeft="70.0dip"
+ android:layout_marginRight="70.0dip"
android:layout_marginTop="12.0dip"
- android:layout_marginRight="28.0dip"
android:text="login"
android:layout_below="@id/user_layout" />