Blame view

footsafety/app/src/main/res/layout/bluetooth_device_row.xml 1.34 KB
f7a13682   “wangming”   项目初始化
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
  <?xml version="1.0" encoding="utf-8"?>
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent">
  
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:padding="5dp"
          android:orientation="horizontal">
  
          <TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textSize="20sp"
              android:layout_marginLeft="10dp"
              android:textColor="@color/textcolor"
              android:id="@+id/name"/>
  
          <ImageView
              android:layout_width="10dp"
              android:layout_height="10dp"
              android:id="@+id/pairedPrinter"/>
  
          <TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:textSize="15sp"
              android:gravity="end"
              android:layout_marginLeft="10dp"
              android:id="@+id/pairStatus"/>
  
      </LinearLayout>
  
      <View
          android:layout_width="match_parent"
          android:background="@color/textcolor"
          android:layout_marginLeft="5dp"
          android:layout_marginRight="5dp"
          android:layout_height="1dp"/>
  </LinearLayout>