| | |
| | | |
| | | <include |
| | | android:id="@+id/hdl_top_bar_layout" |
| | | layout="@layout/hdl_toolbar_top_view_b"/> |
| | | layout="@layout/hdl_toolbar_top_view_b" /> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@+id/hdl_top_bar_layout" |
| | | android:orientation="vertical"> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_version" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:text="@string/app_code" |
| | | /> |
| | | android:text="@string/app_code" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_gateway_subID" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="100" |
| | | android:hint="请输入网关子网号" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_gateway_deviceID" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="0" |
| | | android:hint="请输入网关设备号" /> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="重新搜索设备" /> |
| | | |
| | | <Button |
| | | android:id="@+id/btn_searchScene" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="场景功能" /> |
| | | |
| | | <Button |
| | | android:id="@+id/btn_getlocal" |
| | | android:layout_width="wrap_content" |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="开启串口" /> |
| | | |
| | | <Button |
| | | android:id="@+id/btn_close" |
| | | android:layout_width="wrap_content" |
| | |
| | | android:text="关闭串口" /> |
| | | |
| | | |
| | | |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp"> |
| | | <Button |
| | | android:id="@+id/btn_setting" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="修改子网号设备号" /> |
| | | <Button |
| | | android:id="@+id/btn_add_device" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="手动添加设备" /> |
| | | <Button |
| | | android:id="@+id/btn_sendtest" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="发送测试" /> |
| | | <Button |
| | | android:id="@+id/btn_mcu" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="MCU" |
| | | android:visibility="gone" |
| | | /> |
| | | |
| | | <Button |
| | | android:id="@+id/btn_ZigBee" |
| | | <LinearLayout |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="ZigBee" |
| | | android:visibility="gone" |
| | | /> |
| | | </LinearLayout> |
| | | android:layout_marginTop="10dp"> |
| | | |
| | | <Button |
| | | android:id="@+id/btn_setting" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="修改子网号设备号" /> |
| | | |
| | | <Button |
| | | android:id="@+id/btn_add_device" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="手动添加设备" /> |
| | | |
| | | <Button |
| | | android:id="@+id/btn_sendtest" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="发送测试" /> |
| | | |
| | | <Button |
| | | android:id="@+id/btn_mcu" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="MCU" |
| | | android:visibility="gone" /> |
| | | |
| | | <Button |
| | | android:id="@+id/btn_ZigBee" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="ZigBee" |
| | | android:visibility="gone" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <TextView |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" /> |
| | | |
| | | <android.support.v7.widget.RecyclerView |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/listView_devices" |
| | | android:layout_marginTop="20dp" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"> |
| | | android:layout_height="match_parent" |
| | | android:layout_marginTop="20dp"> |
| | | |
| | | </android.support.v7.widget.RecyclerView> |
| | | </androidx.recyclerview.widget.RecyclerView> |
| | | |
| | | </LinearLayout> |
| | | |