10 lines
3.1 KiB
XML
10 lines
3.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<merge xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="?attr/colorBackgroundPrimary" android:padding="16dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:baselineAligned="false" android:animateLayoutChanges="true">
|
||
|
<ImageView android:id="@+id/server_discovery_item_image" android:background="@drawable/rounded_rectangle_4dp_radius" android:layout_width="40dp" android:layout_height="40dp" android:src="@drawable/bg_server_discovery_header" android:scaleType="centerCrop" android:importantForAccessibility="no" android:layout_marginEnd="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toStartOf="@+id/server_discovery_item_barrier" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_bias="0" style="@style/res_2131952448_uikit_imageview"/>
|
||
|
<androidx.constraintlayout.widget.Barrier android:id="@+id/server_discovery_item_barrier" android:layout_width="wrap_content" android:layout_height="wrap_content" app:barrierDirection="6" app:constraint_referenced_ids="server_discovery_item_image"/>
|
||
|
<TextView android:id="@+id/server_discovery_item_title" android:layout_width="0dp" app:layout_constraintBottom_toTopOf="@+id/server_discovery_item_description" app:layout_constraintEnd_toEndOf="0" app:layout_constraintHorizontal_bias="0" app:layout_constraintStart_toEndOf="@+id/server_discovery_item_barrier" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952563_uikit_textview_h1"/>
|
||
|
<TextView android:id="@+id/server_discovery_item_description" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="4dp" app:layout_constraintBottom_toTopOf="@+id/server_discovery_item_count_container" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toEndOf="@+id/server_discovery_item_barrier" app:layout_constraintTop_toBottomOf="@+id/server_discovery_item_title" style="@style/res_2131952572_uikit_textview_medium"/>
|
||
|
<include android:id="@+id/server_discovery_item_count_container" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="8dp" app:layout_constraintBottom_toTopOf="@+id/server_discovery_item_button" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toEndOf="@+id/server_discovery_item_barrier" app:layout_constraintTop_toBottomOf="@+id/server_discovery_item_description" layout="@layout/view_server_member_count"/>
|
||
|
<com.google.android.material.button.MaterialButton android:id="@+id/server_discovery_item_button" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:text="@string/join" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintHorizontal_bias="1" app:layout_constraintStart_toEndOf="@+id/server_discovery_item_barrier" app:layout_constraintTop_toBottomOf="@+id/server_discovery_item_count_container" style="@style/res_2131952458_uikit_material_button_green"/>
|
||
|
</merge>
|