diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-04 17:38:41 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-04 17:38:41 +0100 |
commit | cd5a56e8e795e76f9cc775e2d213fafc1155c2e7 (patch) | |
tree | 87bec67e9206e994ffbe611c998de50d670355fd /src/main/res/layout | |
parent | b824e55277cf4a4a9042dc0fe30d0cc8939445dc (diff) |
show avatar in editaccount
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/activity_edit_account.xml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml index 97289628c..fa39ed5ec 100644 --- a/src/main/res/layout/activity_edit_account.xml +++ b/src/main/res/layout/activity_edit_account.xml @@ -15,15 +15,24 @@ android:layout_height="wrap_content" android:orientation="vertical" > - <LinearLayout + <RelativeLayout android:id="@+id/editor" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="8dp" android:background="@drawable/infocard_border" android:orientation="vertical" - android:padding="16dp" > - + android:padding="16dp"> + <ImageView android:id="@+id/avater" + android:layout_width="72dp" + android:layout_height="72dp" + android:layout_alignParentTop="true" + android:layout_marginRight="16dp"/> + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_toRightOf="@+id/avater"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -88,7 +97,8 @@ android:textColor="@color/primarytext" android:textColorHint="@color/secondarytext" android:textSize="?attr/TextSizeBody" /> - </LinearLayout> + </LinearLayout> + </RelativeLayout> <LinearLayout android:id="@+id/stats" |