| | |
| | | <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 |
| | |
| | | |
| | | </LinearLayout> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="12dp" |
| | | > |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:orientation="vertical" |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="其他费用" |
| | | android:textColor="#767375" |
| | | android:textSize="12sp" |
| | | /> |
| | | <EditText |
| | | android:id="@+id/et_other" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:inputType="numberDecimal" |
| | | android:textColorHint="#6b000000" |
| | | android:textColor="#DE000000" |
| | | android:text="@={viewModel.beanLiveData.otherCost}" |
| | | android:hint="0" |
| | | app:need_modify_null="@{true}" |
| | | android:textSize="16sp" |
| | | android:maxLines="1" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | /> |
| | | |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:orientation="vertical" |
| | | android:layout_marginStart="40dp" |
| | | > |
| | | </LinearLayout> |
| | | </LinearLayout> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | android:layout_height="wrap_content" |
| | | android:text="备注" |
| | | android:textColor="#767375" |
| | | android:textSize="12sp" |
| | | /> |
| | | <EditText |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="2dp" |
| | | android:inputType="text" |
| | | android:textColorHint="#6b000000" |
| | | android:hint="@{viewModel.typeLiveData?`请输入备注`:``}" |
| | | android:textColor="#DE000000" |
| | | android:text="@={viewModel.beanLiveData.backInfo}" |
| | | android:textSize="16sp" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_marginTop="10dp" |