|
|
@@ -0,0 +1,50 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_key"
|
|
|
+ android:layout_width="@dimen/init_key_iv_width"
|
|
|
+ android:layout_height="@dimen/init_key_iv_height"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:background="@drawable/dock_key_selector" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_new_device"
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_below="@+id/iv_key"
|
|
|
+ android:layout_alignLeft="@+id/iv_key"
|
|
|
+ android:layout_alignRight="@+id/iv_key"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:background="@drawable/common_btn_red_bg"
|
|
|
+ app:i18nKey='@{"new_device"}'
|
|
|
+ android:textSize="@dimen/iscs_text_xs"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_new_device_mac"
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_below="@+id/tv_new_device"
|
|
|
+ android:layout_alignLeft="@+id/iv_key"
|
|
|
+ android:layout_alignRight="@+id/iv_key"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:background="@drawable/common_btn_green_bg"
|
|
|
+ android:textSize="@dimen/iscs_text_xs"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:text="AA:BB:CC:DD:EE:FF" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/v_buckle_status"
|
|
|
+ android:layout_width="@dimen/common_status_circle_small"
|
|
|
+ android:layout_height="@dimen/common_status_circle_small"
|
|
|
+ android:layout_toRightOf="@+id/iv_key"
|
|
|
+ android:background="@drawable/common_status_circle"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </RelativeLayout>
|
|
|
+</layout>
|