整体模块修改,问题修复

This commit is contained in:
zhanglei
2025-07-09 16:04:48 +08:00
parent 1f204f2476
commit aa827ba25d
94 changed files with 2585 additions and 5834 deletions
+106 -85
View File
@@ -1,6 +1,7 @@
<?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:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
@@ -76,93 +77,113 @@
android:src="@drawable/ic_emergency_seek_doctor" />
</LinearLayout>
<RelativeLayout
android:id="@+id/fragment_emergency_marker_info"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_110"
android:background="@drawable/bg_card"
android:orientation="horizontal"
android:visibility="gone">
<TextView
android:id="@+id/fragment_emergency_hospital_tag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_14"
android:layout_marginTop="@dimen/dp_18"
android:background="@drawable/bg_blue_background_shap_radius4"
android:paddingLeft="@dimen/dp_8"
android:paddingTop="@dimen/dp_4"
android:paddingRight="@dimen/dp_8"
android:paddingBottom="@dimen/dp_4"
android:textColor="@color/white"
android:textSize="@dimen/txt9"
tools:text="二甲" />
<TextView
android:id="@+id/fragment_emergency_hospital_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_6"
android:layout_marginTop="@dimen/dp_18"
android:layout_toRightOf="@+id/fragment_emergency_hospital_tag"
android:textSize="@dimen/txt14"
android:textStyle="bold"
tools:text="生命科学专科医院" />
<TextView
android:id="@+id/fragment_emergency_hospital_landline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/fragment_emergency_hospital_tag"
android:layout_marginLeft="@dimen/dp_14"
android:layout_marginTop="@dimen/dp_8"
android:text="029-12345678"
android:textColor="#999999"
android:textSize="@dimen/txt13" />
<TextView
android:id="@+id/fragment_emergency_hospital_address"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/fragment_emergency_hospital_landline"
android:layout_marginLeft="@dimen/dp_14"
android:layout_marginTop="@dimen/dp_8"
android:ellipsize="end"
android:maxLines="2"
android:textColor="#999999"
android:textSize="@dimen/txt13"
tools:text="--" />
<ImageView
android:id="@+id/fragment_emergency_card_navigation"
android:layout_width="@dimen/dp_25"
android:layout_height="@dimen/dp_25"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/dp_15"
android:src="@drawable/ic_fragment_emergency_navigation" />
<ImageView
android:id="@+id/fragment_emergency_phone"
android:layout_width="@dimen/dp_25"
android:layout_height="@dimen/dp_25"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/dp_10"
android:layout_toLeftOf="@+id/fragment_emergency_card_navigation"
android:src="@drawable/ic_fragment_emergency_phone" />
<ImageView
android:id="@+id/fragment_emergency_address_card_close"
android:layout_width="@dimen/dp_25"
android:layout_height="@dimen/dp_25"
android:layout_alignParentRight="true"
android:padding="@dimen/dp_5"
android:src="@drawable/core_close_icon" />
</RelativeLayout>
</RelativeLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/fragment_emergency_marker_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/bg_card"
android:minHeight="110dp"
android:orientation="horizontal"
android:paddingBottom="8dp"
android:visibility="gone">
<TextView
android:id="@+id/fragment_emergency_hospital_tag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_14"
android:layout_marginTop="@dimen/dp_18"
android:background="@drawable/bg_blue_background_shap_radius4"
android:paddingLeft="@dimen/dp_8"
android:paddingTop="@dimen/dp_4"
android:paddingRight="@dimen/dp_8"
android:paddingBottom="@dimen/dp_4"
android:textColor="@color/white"
android:textSize="@dimen/txt9"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="二甲" />
<TextView
android:id="@+id/fragment_emergency_hospital_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_toRightOf="@+id/fragment_emergency_hospital_tag"
android:textSize="@dimen/txt14"
android:textStyle="bold"
app:layout_constraintLeft_toRightOf="@+id/fragment_emergency_hospital_tag"
app:layout_constraintTop_toTopOf="@+id/fragment_emergency_hospital_tag"
app:layout_goneMarginLeft="14dp"
app:layout_goneMarginTop="18dp"
tools:text="生命科学专科医院" />
<TextView
android:id="@+id/fragment_emergency_hospital_landline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/fragment_emergency_hospital_tag"
android:layout_marginLeft="@dimen/dp_14"
android:layout_marginTop="@dimen/dp_8"
android:text="029-12345678"
android:textColor="#999999"
android:textSize="@dimen/txt13"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@+id/fragment_emergency_hospital_name" />
<TextView
android:id="@+id/fragment_emergency_hospital_address"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_14"
android:layout_marginTop="@dimen/dp_4"
android:layout_marginRight="14dp"
android:textColor="#999999"
android:textSize="@dimen/txt13"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/fragment_emergency_hospital_landline"
tools:text="新疆熙睦圆健康管理有限责任公司成立于2016-09-19,企业注册地址位于新疆乌鲁木齐经济技术开发区天鹅湖路2号1层101室,2层,3层,所属行业为商务服务业。" />
<ImageView
android:id="@+id/fragment_emergency_card_navigation"
android:layout_width="@dimen/dp_25"
android:layout_height="@dimen/dp_25"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/dp_15"
android:src="@drawable/ic_fragment_emergency_navigation"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/fragment_emergency_hospital_name" />
<ImageView
android:id="@+id/fragment_emergency_phone"
android:layout_width="@dimen/dp_25"
android:layout_height="@dimen/dp_25"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/dp_10"
android:layout_toLeftOf="@+id/fragment_emergency_card_navigation"
android:src="@drawable/ic_fragment_emergency_phone"
app:layout_constraintRight_toLeftOf="@+id/fragment_emergency_card_navigation"
app:layout_constraintTop_toBottomOf="@+id/fragment_emergency_hospital_name" />
<ImageView
android:id="@+id/fragment_emergency_address_card_close"
android:layout_width="@dimen/dp_25"
android:layout_height="@dimen/dp_25"
android:layout_alignParentRight="true"
android:padding="@dimen/dp_5"
android:src="@drawable/core_close_icon"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</RelativeLayout>
</LinearLayout>