初始化
This commit is contained in:
@@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/activity_home"
|
||||
android:background="@drawable/bg_theme">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include layout="@layout/home_top"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.amap.api.maps.MapView
|
||||
android:id="@+id/map"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"/>
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/srl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<com.scwang.smart.refresh.header.MaterialHeader
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
<com.arpa.hndahesudintocctmsdriver.util.view.BaseRecyclerView
|
||||
android:id="@+id/brv_box"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:overScrollMode="never"/>
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
||||
<!-- <com.oneclouds.wangluohuoyun.map.MyWebView
|
||||
android:id="@+id/map"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>-->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_alignParentRight="true"
|
||||
android:visibility="gone">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/btn_news"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:layout_marginTop="@dimen/dp_44"
|
||||
android:layout_marginLeft="@dimen/dp_3"
|
||||
android:layout_width="@dimen/dp_44"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
app:cardCornerRadius="@dimen/dp_8">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_31"
|
||||
android:layout_height="@dimen/dp_31"
|
||||
android:src="@mipmap/xiaoxi1"
|
||||
android:layout_gravity="center"
|
||||
android:rotationY="180"/>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/btn_loadin"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:layout_marginTop="@dimen/dp_44"
|
||||
android:layout_marginLeft="@dimen/dp_3"
|
||||
android:layout_width="@dimen/dp_44"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
app:cardCornerRadius="@dimen/dp_8">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_31"
|
||||
android:layout_height="@dimen/dp_31"
|
||||
android:src="@mipmap/icon_location"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/btn_update"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginLeft="@dimen/dp_3"
|
||||
android:layout_marginBottom="@dimen/dp_3"
|
||||
android:layout_width="@dimen/dp_44"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
app:cardCornerRadius="@dimen/dp_8">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_31"
|
||||
android:layout_height="@dimen/dp_31"
|
||||
android:src="@mipmap/icon_refresh"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!--<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/bottom_sheet"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:behavior_hideable="true"
|
||||
app:behavior_peekHeight="@dimen/dp_0"
|
||||
app:layout_behavior="@string/bottom_sheet_behavior"
|
||||
android:visibility="gone">
|
||||
</androidx.core.widget.NestedScrollView>-->
|
||||
|
||||
<include
|
||||
layout="@layout/item_start_order_news"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_85"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user