41 lines
1.5 KiB
XML
41 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingBottom="5dp"
|
|
android:paddingTop="5dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:background="@color/lightgray"
|
|
android:orientation="horizontal">
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginEnd="10dp"
|
|
android:maxWidth="20dp"
|
|
android:maxHeight="20dp"
|
|
android:adjustViewBounds="true"
|
|
android:src="@drawable/login" />
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:id="@+id/text1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:textColor="@color/black"
|
|
android:text="Name" />
|
|
<TextView
|
|
android:id="@+id/text2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:textColor="@color/gray"
|
|
android:text="Username" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|