tt-rss-android/org.fox.ttrss/src/main/res/layout/drawer_header.xml

71 lines
2.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="96dp"
android:orientation="vertical"
2015-02-11 17:07:03 +00:00
android:weightSum="1"
android:clickable="false">
2015-02-11 17:07:03 +00:00
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/imageView"
android:src="@drawable/drawer_header"
android:scaleType="fitXY"
2015-02-12 11:28:03 +00:00
android:tint="?colorPrimaryDark"
2015-02-11 17:07:03 +00:00
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:id="@+id/linearLayout">
<TextView
android:id="@+id/drawer_header_login"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
2015-02-12 11:28:03 +00:00
android:textColor="@android:color/primary_text_dark"
android:text="test"
android:textSize="14sp"
android:textStyle="bold"
/>
<TextView
android:id="@+id/drawer_header_server"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2015-02-12 11:28:03 +00:00
android:textColor="@android:color/primary_text_dark"
android:layout_marginLeft="16dp"
android:layout_marginTop="5dp"
android:text="example.org"
android:textSize="14sp"
android:textStyle="normal"
/>
</LinearLayout>
</RelativeLayout>