aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/activity_edit_account.xml
diff options
context:
space:
mode:
authorDaniel Gultsch <inputmice@siacs.eu>2015-01-13 11:52:41 +0100
committerDaniel Gultsch <inputmice@siacs.eu>2015-01-13 11:52:41 +0100
commit7d2a9624b56c0222e54a77b2b8b071ae9adde561 (patch)
treef24a9970bf9568ee1085795944f89bc0d403b737 /src/main/res/layout/activity_edit_account.xml
parent1262a7cba7727e642f567723606d4c648342952a (diff)
make use of different dimensions for different screen sizes
Diffstat (limited to 'src/main/res/layout/activity_edit_account.xml')
-rw-r--r--src/main/res/layout/activity_edit_account.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml
index 36987072..0093f032 100644
--- a/src/main/res/layout/activity_edit_account.xml
+++ b/src/main/res/layout/activity_edit_account.xml
@@ -20,10 +20,13 @@
android:id="@+id/editor"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_margin="8dp"
+ android:layout_marginLeft="@dimen/activity_horizontal_margin"
+ android:layout_marginRight="@dimen/activity_horizontal_margin"
+ android:layout_marginTop="@dimen/activity_vertical_margin"
+ android:layout_marginBottom="@dimen/activity_vertical_margin"
android:background="@drawable/infocard_border"
android:orientation="vertical"
- android:padding="16dp">
+ android:padding="@dimen/infocard_padding">
<ImageView android:id="@+id/avater"
android:layout_width="72dp"
android:layout_height="72dp"
@@ -106,10 +109,13 @@
android:id="@+id/stats"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:layout_margin="8dp"
+ android:layout_marginLeft="@dimen/activity_horizontal_margin"
+ android:layout_marginRight="@dimen/activity_horizontal_margin"
+ android:layout_marginTop="@dimen/activity_vertical_margin"
+ android:layout_marginBottom="@dimen/activity_vertical_margin"
android:background="@drawable/infocard_border"
android:orientation="vertical"
- android:padding="16dp"
+ android:padding="@dimen/infocard_padding"
android:visibility="gone" >
<TableLayout