| | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/color_normal_background" |
| | | android:background="?attr/detailPageBackgroundColor" |
| | | android:orientation="vertical"> |
| | | |
| | | <com.android.app_base.widget.ExtendTitleBar |
| | | android:id="@+id/titleBar" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | app:title="@{viewModel.beanLiveData.id!=0?viewModel.beanLiveData.name:`添加设备`}" |
| | | app:title="@{viewModel.beanLiveData.id!=0?viewModel.beanLiveData.name:`添加家庭设备`}" |
| | | app:titleGravity="left" |
| | | > |
| | | <FrameLayout |
| | |
| | | android:textColor="#DE000000" |
| | | android:text="@={viewModel.beanLiveData.happenTime}" |
| | | android:textSize="16sp" |
| | | android:clickable="@{viewModel.typeLiveData}" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | app:isEditable="@{false}" |
| | | /> |
| | | <TextView |