mirror of
https://github.com/overte-org/overte.git
synced 2025-08-28 15:46:04 +02:00
69 lines
No EOL
3 KiB
XML
69 lines
No EOL
3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true">
|
|
|
|
<ImageView
|
|
android:id="@+id/userImage"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
|
app:layout_constraintStart_toStartOf="parent"/>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
|
app:layout_constraintStart_toEndOf="@id/userImage"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:id="@+id/userName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/raleway"
|
|
android:textColor="@color/menuOption"/>
|
|
<LinearLayout android:id="@+id/userOnlineInfo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:id="@+id/userOnline"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/online"
|
|
android:fontFamily="@font/raleway"
|
|
android:textColor="@color/hifiAquamarine" />
|
|
<TextView
|
|
android:id="@+id/userLocation"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="3dp"
|
|
android:fontFamily="@font/raleway_italic"
|
|
android:textColor="@color/menuOption"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<RelativeLayout android:id="@+id/userFav"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
android:layout_marginEnd="5.5dp">
|
|
<ImageView android:id="@+id/userFavImage"
|
|
android:layout_width="27dp"
|
|
android:layout_height="27dp"
|
|
android:src="@drawable/ic_star"
|
|
android:tint="@color/starUnselectedTint"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginEnd="0dp" />
|
|
</RelativeLayout>
|
|
|
|
</android.support.constraint.ConstraintLayout> |