52 lines
1.7 KiB
XML
52 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<data>
|
|
<variable
|
|
name="client"
|
|
type="be.mygod.vpnhotspot.RepeaterFragment.Client"/>
|
|
</data>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="8dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="8dp">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:src="@{client.icon}"
|
|
android:tint="?android:attr/textColorPrimary"
|
|
tools:src="@drawable/ic_device_network_wifi"/>
|
|
|
|
<Space
|
|
android:layout_width="16dp"
|
|
android:layout_height="0dp"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@{client.title}"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
|
android:textIsSelectable="true"
|
|
tools:text="192.168.49.123, 01:23:45:ab:cd:ef"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@{client.description}"
|
|
tools:text="Connected to p2p0"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</layout>
|