管灌系统巡查员智能手机App
zuoxiao
2024-11-28 fbfa859ff0fe312cbb49a3345b6e3d67d574a946
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="#ffffff"
    tools:context="com.dayu.pipirrapp.activity.MainActivity">
 
 
    <com.dayu.pipirrapp.view.MyViewPager
        android:id="@+id/viewPager"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_above="@id/bottom_navigation" />
 
 
    <LinearLayout
        android:id="@+id/bottom_navigation"
        android:layout_width="match_parent"
        android:layout_height="70dp"
        android:layout_alignParentBottom="true"
        android:layout_marginTop="-20dp"
        android:background="#00ffffff"
        android:gravity="bottom"
        android:orientation="horizontal">
 
        <LinearLayout
            android:id="@+id/orderLL"
            android:layout_width="0dp"
            android:layout_height="50dp"
            android:layout_weight="1"
            android:background="@color/bottom_color"
            android:gravity="center"
            android:orientation="vertical">
 
            <ImageView
                android:id="@+id/orderImg"
                android:layout_width="wrap_content"
                android:layout_height="25dp"
                android:layout_marginTop="8dp"
                android:src="@drawable/bottom_order_black" />
 
            <TextView
                android:id="@+id/orderText"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginBottom="3dp"
                android:text="工单"
                android:textSize="12sp" />
 
        </LinearLayout>
 
        <FrameLayout
            android:id="@+id/mapLL"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="bottom"
            android:orientation="vertical">
 
            <View
                android:layout_width="match_parent"
                android:layout_height="50dp"
                android:layout_gravity="bottom"
                android:background="@color/bottom_color"
                android:orientation="vertical" />
 
            <LinearLayout
                android:layout_width="80dp"
                android:layout_height="70dp"
                android:layout_gravity="center"
                android:background="@drawable/bottom_circle_bg"
                android:gravity="center"
                android:orientation="vertical">
 
                <ImageView
                    android:id="@+id/mapImg"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_marginTop="8dp"
                    android:src="@drawable/bottom_map_white" />
 
                <TextView
                    android:id="@+id/mapText"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="地图"
                    android:textColor="@color/white"
                    android:textSize="15sp" />
 
            </LinearLayout>
 
        </FrameLayout>
 
        <LinearLayout
            android:id="@+id/myLL"
            android:layout_width="0dp"
            android:layout_height="50dp"
            android:layout_weight="1"
            android:background="@color/bottom_color"
            android:gravity="center"
            android:orientation="vertical">
 
            <ImageView
                android:id="@+id/myImg"
                android:layout_width="wrap_content"
                android:layout_height="25dp"
                android:layout_marginTop="8dp"
                android:src="@drawable/bottom_my_black" />
 
            <TextView
                android:id="@+id/myText"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginBottom="3dp"
                android:text="我的"
                android:textSize="12sp" />
 
        </LinearLayout>
 
    </LinearLayout>
 
 
    <!--    &lt;!&ndash; BottomNavigationView 用于底部导航 &ndash;&gt;-->
    <!--    <com.google.android.material.bottomnavigation.BottomNavigationView-->
    <!--        android:id="@+id/bottom_navigation"-->
    <!--        android:layout_width="match_parent"-->
    <!--        android:layout_height="wrap_content"-->
    <!--        android:layout_alignParentBottom="true"-->
    <!--        android:background="@color/bottom_color"-->
    <!--        app:menu="@menu/main_bottom_nav_menu"-->
    <!--        app:itemIconTint="@color/bottom_selector_nav_item"-->
    <!--        app:itemTextColor="@color/bottom_selector_nav_item"-->
 
    <!--        />-->
 
 
</RelativeLayout>