- 将顶部标题栏改为白底黑字风格,调整返回按钮颜色 - 移除原有的Tab标签页,改为搜索框配合分段Tab布局 - 添加搜索框右侧"搜索"文字按钮功能 - 重新设计底部确认按钮为全宽度样式 - 调整导航面板宽度从220dp增加到280dp - 新增多个颜色值和图形资源用于支持新UI样式 - 更新通话图标和分隔线样式 - 修改应急救援相关API接口和数据模型 - 调整患者信息展示逻辑和界面元素可见性控制
192 lines
9.1 KiB
XML
192 lines
9.1 KiB
XML
<?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:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<data>
|
|
|
|
</data>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_44"
|
|
android:background="#14BEBE" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:background="#14BEBE"
|
|
android:gravity="center"
|
|
android:paddingBottom="5dp"
|
|
android:text="应急就医"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="@dimen/txt18"
|
|
android:textStyle="bold" />
|
|
|
|
<com.xjjk.healthyclients.view.CustomEmergencyHeadView
|
|
android:id="@+id/fragment_emergency_head_rv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_45"
|
|
android:layout_marginLeft="@dimen/dp_7"
|
|
android:layout_marginRight="@dimen/dp_7" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/fragment_emergency_plat_rl_root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.amap.api.maps.MapView
|
|
android:id="@+id/fragment_emergency_map_mapview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/fragment_emergency_plat_rl_bottom_root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_110"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="@drawable/bg_black_to_white">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginBottom="@dimen/dp_17"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/fragment_emergency_call_120"
|
|
android:layout_width="@dimen/dp_70"
|
|
android:layout_height="@dimen/dp_70"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
android:src="@drawable/ic_emergency_120" />
|
|
|
|
<ImageView
|
|
android:id="@+id/fragment_emergency_seek_doctor"
|
|
android:layout_width="@dimen/dp_70"
|
|
android:layout_height="@dimen/dp_70"
|
|
android:src="@drawable/ic_emergency_seek_doctor" />
|
|
|
|
<ImageView
|
|
android:id="@+id/fragment_emergency_paramedic"
|
|
android:layout_width="@dimen/dp_70"
|
|
android:layout_height="@dimen/dp_70"
|
|
android:layout_marginStart="@dimen/dp_16"
|
|
android:src="@drawable/ic_paramedic" />
|
|
</LinearLayout>
|
|
</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>
|
|
</layout> |