Commit c0af16dd authored by p x's avatar p x
Browse files

first

parent 0b4d4d4e
Pipeline #3217 failed with stages
in 0 seconds
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="#1B5BDB40"
android:endColor="#FFFFFF"
android:centerColor="#1B5BDB1A"
android:type="linear"
android:angle="45"/>
</shape>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="10dp" />
<solid android:color="#80E4E4EB" />
<stroke
android:width="2dp"
android:color="#c4cdd6" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="14dp"/>
<solid android:color="@color/black"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="10dp"/>
<stroke android:width="1dp" android:color="#96FB5344"/>
<solid android:color="#ffffff"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<corners android:radius="20dp" />
<solid android:color="@android:color/transparent" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="10dp"/>
<solid android:color="@color/white"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="20dp"/>
<solid android:color="@color/white"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="4dp"/>
<stroke
android:width="3dp"
android:color="@color/white"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="16dp" />
<solid android:color="@android:color/white" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
<!--<variable-->
<!-- name="vm"-->
<!-- type="com.ltzw.adasdriver.base.MyBaseViewModel" />-->
</data>
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:elevation="0dp">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
app:contentInsetLeft="0dp"
app:contentInsetStart="0dp">
<TextView
android:id="@+id/toolbar_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:ellipsize="end"
android:gravity="center"
android:maxLines="1"
android:textColor="@color/text_black"
android:textSize="16sp"
android:textStyle="bold" />
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<!-- <include layout="@layout/content_layout" />-->
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/root_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</layout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
<variable
name="vm"
type="com.sd.cavphmi.base.MyBaseViewModel" />
</data>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.BootActivity"
android:background="@drawable/login_bg">
<ImageView
android:id="@+id/imageView"
android:layout_width="0dp"
android:layout_height="0dp"
android:scaleType="centerInside"
android:src="@mipmap/ic_launcher"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/login_bg"
android:fitsSystemWindows="true"
android:orientation="vertical"
tools:context=".ui.LoginActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:visibility="gone"
android:background="@color/white">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="登录"
android:textColor="#3D3D3D"
android:textSize="16sp" />
</RelativeLayout>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="30dp"
android:src="@mipmap/ic_launcher" />
<LinearLayout
android:layout_width="220dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="25dp"
android:background="@drawable/rect_white_20"
android:gravity="center_vertical"
android:paddingHorizontal="10dp"
android:paddingVertical="5dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/smartphone_line" />
<EditText
android:id="@+id/et_account"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:background="@null"
android:hint="请输入账号"
android:maxLines="1"
android:text="hmi"
android:textColor="@color/text_black"
android:textSize="10sp" />
</LinearLayout>
<LinearLayout
android:layout_width="220dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="25dp"
android:background="@drawable/rect_white_20"
android:gravity="center_vertical"
android:paddingHorizontal="10dp"
android:paddingVertical="5dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/et_pwd" />
<!-- 8ax@Gke#13297567890-->
<EditText
android:id="@+id/et_pwd"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:background="@null"
android:hint="请输入密码"
android:inputType="textPassword"
android:maxLines="1"
android:text="5803d205ac27f33ea5f53afed4eb81880bee49f06129ea5437c1b940d18da8f1"
android:textColor="@color/text_black"
android:textSize="10sp" />
</LinearLayout>
<com.google.android.material.button.MaterialButton
android:id="@+id/bt_login"
android:layout_width="220dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="40dp"
android:text="登录"
android:textColor="@color/white"
android:textSize="15sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/bt_spaceinfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="车位占用情况"
android:visibility="gone" />
<Button
android:id="@+id/bt_avpstatu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:text="获取AVP状态信息"
/>
<Button
android:id="@+id/bt_carpos"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:text="获取车辆位姿"
/>
<Button
android:id="@+id/bt_getbindcar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="获取可绑车辆列表"
android:visibility="gone"
/>
<Button
android:id="@+id/bt_main"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="直接到首页"
android:visibility="visible"/>
</LinearLayout>
</LinearLayout>
</ScrollView>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<data>
<!-- <import type="android.view.View" />-->
<!-- <variable-->
<!-- name="vm"-->
<!-- type="com.sd.cavphmi.viewmodels.MainVm" />-->
</data>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true"
tools:context=".ui.MainActivity">
<!-- 高精地图放这里-->
<fragment
android:id="@+id/unityFragment"
class="com.sd.cavphmi.ui.fragment.UnityFragment"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- 车辆仪表-->
<FrameLayout
android:id="@+id/map_car_pan"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_10"
android:layout_marginTop="@dimen/dp_10" />
<!-- 距离提示-->
<fragment
android:id="@+id/distantTipFragment"
class="com.sd.cavphmi.ui.fragment.DistantTipFragment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/map_car_pan"
android:layout_centerHorizontal="true" />
<!-- 预警气泡 从别的醒目扣过来的,就复用这个吧-->
<fragment
android:id="@+id/earlyWarnFragment"
class="com.sd.cavphmi.ui.fragment.WarnFragment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/distantTipFragment"
android:layout_centerHorizontal="true"
android:layout_marginTop="8dp" />
<LinearLayout
android:id="@+id/ll_1"
android:layout_width="match_parent"
android:layout_height="23dp"
android:layout_alignParentBottom="true"
android:orientation="horizontal"
android:visibility="gone">
<TextView
android:id="@+id/bt_vehicle"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="@color/text_blue"
android:gravity="center"
android:text="车辆位姿"
android:textColor="@color/white" />
<TextView
android:id="@+id/bt_target"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="3dp"
android:background="@color/text_blue"
android:text="感知物" android:gravity="center"
android:textColor="@color/white" />
<TextView
android:id="@+id/bt_v2x"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="3dp"
android:background="@color/text_blue"
android:text="V2X预警开始"
android:gravity="center"
android:textColor="@color/white" />
<TextView
android:id="@+id/bt_avpStatu"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="3dp"
android:background="@color/text_blue"
android:text="AVP状态"
android:gravity="center"
android:textColor="@color/white" />
<TextView
android:id="@+id/bt_vehinfo"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="5dp"
android:background="@color/text_blue"
android:text="车辆详情"
android:textColor="@color/white"
android:visibility="gone" />
<TextView
android:id="@+id/bt_status"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="网联车辆状态"
android:visibility="gone" />
<TextView
android:id="@+id/bt_parkround"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="车位四周流光"
android:visibility="gone" />
<TextView
android:id="@+id/bt_parkstatu"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="停车位绘制(占用)"
android:visibility="gone" />
<TextView
android:id="@+id/bt_lock"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="地锁绘制"
android:visibility="gone" />
<!-- <Button-->
<!-- android:id="@+id/bt_move"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="模拟移动" />-->
<TextView
android:id="@+id/warn_car"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="3dp"
android:background="@color/text_blue"
android:text="预警车"
android:gravity="center"
android:textColor="@color/white" />
<TextView
android:id="@+id/warn_peo"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="3dp"
android:background="@color/text_blue"
android:text="预警人"
android:gravity="center"
android:textColor="@color/white" />
</LinearLayout>
<!-- 视频播放-->
<FrameLayout
android:id="@+id/video_frag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginLeft="10dp"
android:layout_marginBottom="30dp"
android:clipChildren="true" />
<FrameLayout
android:id="@+id/small_f_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="@dimen/dp_10"
android:layout_marginBottom="@dimen/dp_25"
android:background="@drawable/rect_white_small_map_4"
android:padding="3dp">
<!-- 小地图-->
<com.minedata.minenavi.map.MapView
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</FrameLayout>
</RelativeLayout>
</layout>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingVertical="5dp">
<TextView
android:id="@+id/tv_plate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:gravity="center"
android:textSize="14sp"/>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_marginHorizontal="@dimen/dp_40"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:background="@drawable/shape_dialog_custom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<RelativeLayout
android:paddingHorizontal="16dp"
android:paddingVertical="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16sp"
android:textColor="@color/black"
android:text="选择车辆"
android:layout_centerInParent="true"
/>
<TextView
android:id="@+id/tv_cancle"
android:layout_centerVertical="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="取消"
android:textSize="14sp"
android:textColor="#555"
/>
</RelativeLayout>
<androidx.recyclerview.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/recyclerView"
android:overScrollMode="never"
/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<data>
<variable
name="bean"
type="com.sd.cavphmi.bean.WarningBean" />
</data>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/rect_early_red_10"
android:elevation="1dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingHorizontal="13dp"
android:paddingVertical="8dp">
<!-- android:scaleType="centerInside" android:adjustViewBounds="true"-->
<ImageView
android:layout_width="@dimen/dp_30"
android:layout_height="@dimen/dp_30"
android:scaleType="centerInside"
app:showEarlyTipImg="@{bean.img}"
tools:src="@drawable/chao_su" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@{bean.tipStr}"
android:textColor="@color/text_black"
android:textSize="14sp"
android:layout_marginLeft="3dp"
tools:text="已超速,请减速行驶" />
</LinearLayout>
</layout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<data>
<!-- <variable-->
<!-- name="vm"-->
<!-- type="com.sd.cavphmi.viewmodels.CarPanelVM" />-->
<variable
name="cpBean"
type="com.sd.cavphmi.bean.CarPanelBean" />
</data>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="1dp"
android:orientation="vertical"
android:paddingHorizontal="10dp"
android:paddingTop="5dp"
android:background="@drawable/rect_white_10"
android:paddingBottom="8dp">
<TextView
android:id="@+id/tv_speed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:gravity="center_horizontal"
android:includeFontPadding="false"
android:paddingBottom="0dp"
android:textSize="50sp"
android:textStyle="bold"
app:showSpeed="@{cpBean.speed}"
tools:text="60" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<!--档位-->
<LinearLayout
android:id="@+id/lin_dang"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/tv_kmh"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_p"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:tag="1"
android:text="P"
android:textColor="@color/text_grey"
android:textSize="@dimen/sp_14"
android:textStyle="bold"
app:showTapPos="@{cpBean.tapPos}" />
<TextView
android:id="@+id/tv_r"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:tag="3"
android:text="R"
android:textColor="@color/text_grey"
android:textSize="@dimen/sp_14"
android:textStyle="bold"
app:showTapPos="@{cpBean.tapPos}" />
<TextView
android:id="@+id/tv_n"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:tag="0"
android:text="N"
android:textColor="@color/text_grey"
android:textSize="@dimen/sp_14"
android:textStyle="bold"
app:showTapPos="@{cpBean.tapPos}" />
<TextView
android:id="@+id/tv_d"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:tag="2"
android:text="D"
android:textColor="@color/text_grey"
android:textSize="@dimen/sp_14"
android:textStyle="bold"
app:showTapPos="@{cpBean.tapPos}" />
</LinearLayout>
<!--电量-->
<LinearLayout
android:id="@+id/lin_elec"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentEnd="true"
android:layout_alignBottom="@id/lin_dang"
android:gravity="center_vertical">
<!-- android:src="@drawable/remaining_elec"-->
<ImageView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingTop="3dp"
android:scaleType="fitXY"
android:src="@drawable/remaining_elec" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:showProTv="@{cpBean.remainSoc}"
tools:text="90%" />
<ProgressBar
style="@style/MyProgressBarStyle"
android:layout_width="@dimen/dp_40"
android:layout_height="wrap_content"
android:max="100"
android:minHeight="8dp"
android:paddingVertical="0dp"
app:showProgress="@{cpBean.remainSoc}"
tools:progress="50" />
</LinearLayout>
</LinearLayout>
<!-- 划线-->
<TextView
android:id="@+id/tv_kmh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="3dp"
android:text="KM/H"
android:textColor="#66000000"
android:textSize="@dimen/sp_13" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="3dp"
android:layout_below="@+id/tv_kmh"
android:layout_marginTop="8dp">
<ImageView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_gravity="center_vertical"
android:src="#ffd7d8d8" />
<ImageView
android:layout_width="@dimen/dp_20"
android:layout_height="match_parent"
android:layout_gravity="center"
android:src="@drawable/rect_black_14" />
</FrameLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp">
<ImageView
android:id="@+id/img_auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:src="@drawable/icon_auto_driver" />
<!-- app:showAutoDri="@{cpBean.driveMode}"-->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="2dp"
android:layout_toRightOf="@id/img_auto"
tools:text="自动驾驶"
app:showAutoDri="@{cpBean.driveMode}"
android:textColor="@color/text_black"
android:textSize="@dimen/sp_12"
/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
app:showTurnLight="@{cpBean.lights}">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/trun_left_grey"
android:tag="left"
tools:src="@drawable/trun_left_grey" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_20"
android:src="@drawable/trun_right_grey"
android:tag="right"
tools:src="@drawable/trun_right_blue" />
</LinearLayout>
<com.sd.cavphmi.ui.view.HeadAngelView
android:id="@+id/iv_head"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:src="@drawable/angle_blue"
app:showHeading="@{cpBean.heading}" />
</RelativeLayout>
</LinearLayout>
</layout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<layout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
tools:context=".ui.fragment.DistantTipFragment"
android:visibility="gone">
<ImageView
android:layout_width="@dimen/dp_30"
android:layout_height="@dimen/dp_30"
android:src="@drawable/icon_auto_driver" />
<TextView
android:id="@+id/tv_tip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16sp"
android:textColor="@color/black"
android:layout_marginLeft="5dp" />
</LinearLayout>
</layout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/rect_white_small_map_4"
android:clipToOutline="true"
android:padding="3dp">
<!-- app:show_shuffle_button="true"-->
<!-- app:show_subtitle_button="true"-->
<!-- app:resize_mode="fill"-->
<androidx.media3.ui.PlayerView
android:id="@+id/player_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:artwork_display_mode="fill"
app:resize_mode="fill"
app:use_controller="false" />
<!-- <com.sd.cavphmi.ui.view.RoundedPlayerView-->
<!-- android:id="@+id/player_view"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent"-->
<!-- app:resize_mode="fill"-->
<!-- android:clipToOutline="true"/>-->
<!-- <-->
<!-- </androidx.cardview.widget.CardView>-->
</FrameLayout>
</layout>
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.fragment.MapMainFragment">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/hello_blank_fragment" />
</FrameLayout>
</layout>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment