e>

+ 5 - 0
app/src/main/res/drawable/bg_quarter.xml

@ -0,0 +1,5 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<shape xmlns:android="http://schemas.android.com/apk/res/android">
3
    <corners android:radius="4dp" />
4
    <solid android:color="@color/color_white" />
5
</shape>

+ 25 - 0
app/src/main/res/layout/activity_video_compression.xml

@ -0,0 +1,25 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="match_parent"
4
    android:orientation="vertical"
5
    android:layout_height="match_parent">
6
    <Button
7
        android:id="@+id/openPhoto"
8
        android:text="打开相册"
9
        android:layout_width="wrap_content"
10
        android:layout_height="wrap_content"/>
11
    <Button
12
        android:id="@+id/videoZip"
13
        android:text="压缩视频"
14
        android:layout_width="wrap_content"
15
        android:layout_height="wrap_content"/>
16
    <Button
17
        android:id="@+id/startVideoZip"
18
        android:text="播放压缩后的视频"
19
        android:layout_width="wrap_content"
20
        android:layout_height="wrap_content"/>
21
    <TextView
22
        android:id="@+id/progress"
23
        android:layout_width="wrap_content"
24
        android:layout_height="wrap_content"/>
25
</LinearLayout>

+ 28 - 0
app/src/main/res/layout/fragment_total_list.xml

@ -8,6 +8,34 @@
8 8
    tools:context="com.electric.chargingpile.fragment.MonthListFragment">
9 9
10 10
11
    <LinearLayout
12
        android:id="@+id/layoutQuarter"
13
        android:layout_marginBottom="15dp"
14
        android:layout_marginStart="12dp"
15
        android:layout_marginEnd="12dp"
16
        android:layout_marginTop="15dp"
17
        android:layout_width="wrap_content"
18
        android:layout_height="wrap_content">
19
        <TextView
20
            android:layout_width="wrap_content"
21
            android:layout_height="wrap_content"
22
            android:text="当年季度筛选"
23
            android:textColor="@color/color_green_style1"
24
            android:textSize="14sp"
25
            />
26
        <TextView
27
            android:layout_gravity="center_vertical"
28
            android:layout_marginStart="4dp"
29
            android:layout_width="wrap_content"
30
            android:layout_height="wrap_content"
31
            android:text="▼"
32
            android:textColor="@color/color_green_style1"
33
            android:textSize="8dp"
34
            />
35
36
37
    </LinearLayout>
38
11 39
    <RelativeLayout
12 40
        android:id="@+id/rl_totalList"
13 41
        android:layout_width="match_parent"

+ 10 - 0
app/src/main/res/layout/layout_quarter.xml

@ -0,0 +1,10 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="92dp"
4
    android:background="@drawable/bg_quarter"
5
    android:layout_height="wrap_content">
6
    <androidx.recyclerview.widget.RecyclerView
7
        android:id="@+id/recyclerView"
8
        android:layout_width="match_parent"
9
        android:layout_height="wrap_content"/>
10
</LinearLayout>

+ 12 - 0
app/src/main/res/layout/layout_text_item.xml

@ -0,0 +1,12 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="match_parent"
4
    xmlns:tools="http://schemas.android.com/tools"
5
    tools:textColor="#ff0e0e0e"
6
    android:textSize="12sp"
7
    android:id="@+id/textView"
8
    tools:text="第一季度"
9
    android:paddingTop="14dp"
10
    android:paddingBottom="14dp"
11
    android:gravity="center"
12
    android:layout_height="wrap_content" />

+ 4 - 0
app/src/main/res/values/colors.xml

@ -0,0 +1,4 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
    <color name="color_green_style1">#ff3ab948</color>
4
</resources>

+ 1 - 1
app/src/main/res/values/strings.xml

@ -18,7 +18,7 @@
18 18
    <string name="updated_at">上次更新于%1$s前</string>
19 19
    <string name="updated_just_now">刚刚更新</string>
20 20
    <string name="time_error">时间有问题</string>
21
    <string name="string_tab_qa">聊聊</string>
21
    <string name="string_tab_qa">社区</string>
22 22
23 23
24 24
    <string name="main_name">主界面</string>

+ 1 - 0
build.gradle

@ -12,6 +12,7 @@ buildscript {
12 12
        maven {url 'https://maven.aliyun.com/repository/google/'}
13 13
        maven {url 'https://maven.aliyun.com/repository/public/'}
14 14
        maven {url 'https://maven.aliyun.com/repository/gradle-plugin/'}
15
        maven { url "https://www.jitpack.io" }
15 16
        mavenCentral()
16 17
    }
17 18

隐藏气泡 · b530e3db7f - Gogs: Go Git Service
Browse Source

隐藏气泡

huyuguo 7 years ago
parent
commit
b530e3db7f

+ 2 - 0
app/src/main/java/com/electric/chargingpile/cluster/ClusterOverlay.java

@ -603,6 +603,8 @@ public class ClusterOverlay implements AMap.OnCameraChangeListener,
603 603
                        MainMapActivity.nMarker.setIcon(BitmapDescriptorFactory.fromResource(R.drawable.icon_newmarker2));
604 604
                    } else {
605 605
                        MainMapActivity.nMarker.setIcon(BitmapDescriptorFactory.fromResource(R.drawable.icon_newmarker3));
606
                        // add by hyg 隐藏气泡
607
                        MainMapActivity.nMarker.hideInfoWindow();
606 608
                    }
607 609
                }
608 610
            }