blob: f06ab2012760ff77e827b9b05b2c83142cba80b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?xml version="1.0" encoding="utf-8"?>
<!-- Saved-device row: phone glyph + "host:port" label, with the platform
touch ripple. Bound by an ArrayAdapter via R.id.device_label. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:minHeight="56dp"
android:paddingHorizontal="@dimen/space_sm"
android:paddingVertical="@dimen/space_md"
android:background="?android:attr/selectableItemBackground">
<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_device"
android:contentDescription="@null"/>
<TextView
android:id="@+id/device_label"
style="@style/DeviceLabel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="@dimen/space_md"/>
</LinearLayout>
|