aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/activity_contact_details.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_contact_details.xml
parent1262a7cba7727e642f567723606d4c648342952a (diff)
make use of different dimensions for different screen sizes
Diffstat (limited to 'src/main/res/layout/activity_contact_details.xml')
-rw-r--r--src/main/res/layout/activity_contact_details.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml
index 21635208..5ecca25e 100644
--- a/src/main/res/layout/activity_contact_details.xml
+++ b/src/main/res/layout/activity_contact_details.xml
@@ -12,9 +12,12 @@
<RelativeLayout
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:padding="16dp" >
+ android:padding="@dimen/infocard_padding" >
<QuickContactBadge
android:id="@+id/details_contact_badge"
@@ -96,11 +99,14 @@
android:id="@+id/details_contact_keys"
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:divider="?android:dividerHorizontal"
android:orientation="vertical"
- android:padding="8dp"
+ android:padding="@dimen/infocard_padding"
android:showDividers="middle" >
</LinearLayout>
</LinearLayout>