diff options
author | Andrew Dolgov <[email protected]> | 2015-06-01 22:39:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-06-01 22:39:33 +0300 |
commit | ac5e981cbc40191538276289a581892c8dc72e9d (patch) | |
tree | 553f7dbb58c9aa725196f2c4fed422928d65a8b8 /org.fox.ttrss/src/main/res/layout | |
parent | 7ffcd894df07465d98b32098c8147def2faf531a (diff) |
add a placeholder account icon to drawer
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rwxr-xr-x | org.fox.ttrss/src/main/res/layout/drawer_header.xml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/drawer_header.xml b/org.fox.ttrss/src/main/res/layout/drawer_header.xml index f87f942b..76094191 100755 --- a/org.fox.ttrss/src/main/res/layout/drawer_header.xml +++ b/org.fox.ttrss/src/main/res/layout/drawer_header.xml @@ -16,13 +16,30 @@ android:tint="?colorPrimaryDark" android:tintMode="multiply" /> + <FrameLayout + android:layout_width="48dp" + android:layout_height="48dp" + android:background="@drawable/circle_bg" + android:layout_centerVertical="true" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" + android:layout_marginRight="16dp" > + + <ImageView + android:layout_width="36dp" + android:layout_height="36dp" + android:src="@drawable/ic_account" + android:layout_gravity="center" /> + </FrameLayout> + <LinearLayout android:layout_width="match_parent" android:layout_height="56dp" android:orientation="vertical" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" - android:layout_alignParentStart="true"> + android:layout_alignParentStart="true" + android:id="@+id/linearLayout"> <TextView android:id="@+id/drawer_header_login" |