mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-04-11 10:42:26 +02:00
46 lines
1.6 KiB
XML
46 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/image"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_gravity="center"
|
|
tools:srcCompat="@drawable/bg_circle"
|
|
android:layout_marginStart="8dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
style="?android:attr/dropDownItemStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
tools:text="Jan Kowalski" />
|
|
|
|
<TextView
|
|
android:id="@+id/type"
|
|
style="?android:attr/dropDownItemStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textSize="13sp"
|
|
tools:text="Jan Kowalski" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |