<View
android:id="@+id/water_group"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginStart="@dimen/activity_horizontal_margin"
app:layout_constraintBottom_toTopOf="@id/elec_group"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/space_1" />
<TextView
android:id="@+id/tv_water_price_title"
style="@style/text_14dp_black"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center_vertical"
android:paddingTop="8dp"
android:text="@string/water_bill"
app:layout_constraintStart_toStartOf="@id/water_group"
app:layout_constraintTop_toTopOf="@id/water_group" />
<TextView
android:id="@+id/water_read_time"
style="@style/text_14dp_light_gray"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:text="抄表时间:2020/07/20"
app:layout_constraintStart_toStartOf="@id/tv_water_price_title"
app:layout_constraintTop_toBottomOf="@id/tv_water_price_title" />
<EditText
android:id="@+id/edt_water_fee"
style="@style/text_14dp_black"
android:layout_width="0dp"
android:layout_height="@dimen/list_menu_item_height"
android:background="@color/white"
android:gravity="right|center_vertical"
android:hint="@string/input_water_bill_des"
android:inputType="numberDecimal"
android:maxLength="9"
android:maxLines="1"
android:paddingRight="@dimen/activity_horizontal_margin"
android:textColorHint="@color/editHintGrey"
app:layout_constraintBottom_toBottomOf="@id/water_read_time"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/tv_water_price_title" />
<View
android:id="@+id/divider_2"
style="@style/divider_line"
android:layout_marginLeft="@dimen/activity_horizontal_margin"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/water_group"></View>
<View
android:id="@+id/elec_group"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginStart="@dimen/activity_horizontal_margin"
app:layout_constraintBottom_toTopOf="@id/gas_group"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/water_group" />
<TextView
android:id="@+id/tv_elec_price_title"
style="@style/text_14dp_black"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center_vertical"
android:paddingTop="8dp"
android:text="@string/electricity_bill"
app:layout_constraintStart_toStartOf="@id/elec_group"
app:layout_constraintTop_toTopOf="@id/elec_group" />
<TextView
android:id="@+id/elec_read_time"
style="@style/text_14dp_light_gray"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:text="抄表时间:2020/07/20"
app:layout_constraintStart_toStartOf="@id/tv_elec_price_title"
app:layout_constraintTop_toBottomOf="@id/tv_elec_price_title" />
<EditText
android:id="@+id/edt_elec_fee"
style="@style/text_14dp_black"
android:layout_width="0dp"
android:layout_height="@dimen/list_menu_item_height"
android:background="@color/white"
android:gravity="right|center_vertical"
android:hint="@string/input_electricity_bill_des"
android:inputType="numberDecimal"
android:maxLength="9"
android:maxLines="1"
android:paddingRight="@dimen/activity_horizontal_margin"
android:textColorHint="@color/editHintGrey"
app:layout_constraintBottom_toBottomOf="@id/elec_read_time"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/tv_elec_price_title" />
<View
android:id="@+id/divider_3"
style="@style/divider_line"
android:layout_marginLeft="@dimen/activity_horizontal_margin"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/elec_group"></View>
<View
android:id="@+id/gas_group"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginStart="@dimen/activity_horizontal_margin"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/elec_group"
app:layout_constraintBottom_toTopOf="@id/divider_1"/>
<TextView
android:id="@+id/tv_gas_price_title"
style="@style/text_14dp_black"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center_vertical"
android:paddingTop="8dp"
android:text="@string/gas_bill"
app:layout_constraintStart_toStartOf="@id/gas_group"
app:layout_constraintTop_toTopOf="@id/gas_group" />
<TextView
android:id="@+id/gas_read_time"
style="@style/text_14dp_light_gray"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:text="抄表时间:2020/07/20"
app:layout_constraintStart_toStartOf="@id/tv_gas_price_title"
app:layout_constraintTop_toBottomOf="@id/tv_gas_price_title" />
<EditText
android:id="@+id/edt_gas_fee"
style="@style/text_14dp_black"
android:layout_width="0dp"
android:layout_height="@dimen/list_menu_item_height"
android:background="@color/white"
android:gravity="right|center_vertical"
android:hint="@string/input_gas_bill_des"
android:inputType="numberDecimal"
android:maxLength="9"
android:maxLines="1"
android:paddingRight="@dimen/activity_horizontal_margin"
android:textColorHint="@color/editHintGrey"
app:layout_constraintBottom_toBottomOf="@id/gas_read_time"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/tv_gas_price_title" />
搞不懂前两个模块可以通过group控制消失第三个为什么不可
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...