update 封装base库;集成flowwindow库;悬浮窗功能;赞助和分享;集成企微sdk;界面更新;添加待办修复;滚动手势优化;建群达到上限检查;兼容减号和括号搜索;应用保活;其他已知缺陷修复

This commit is contained in:
gallonyin
2022-12-09 16:15:49 +08:00
parent b4b5746f5c
commit 3636ffdc2f
89 changed files with 3908 additions and 272 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 697 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="#ddd" />
<corners android:radius="5dp" />
</shape>
</item>
<item android:state_enabled="false">
<shape>
<solid android:color="@android:color/transparent" />
<corners android:radius="5dp" />
<stroke android:width="1dp" android:color="@color/c8c8c8" />
</shape>
</item>
<item>
<shape>
<solid android:color="#aaa" />
<corners android:radius="5dp" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="@color/color_dashen_passed" />
<corners android:radius="5dp" />
</shape>
</item>
<item android:state_enabled="false">
<shape>
<solid android:color="@android:color/transparent" />
<corners android:radius="5dp" />
<stroke android:width="1dp" android:color="@color/c8c8c8" />
</shape>
</item>
<item>
<shape>
<solid android:color="@color/color_dashen" />
<corners android:radius="5dp" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z"/>
</vector>

View File

@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fl_window_background_left"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#66333333">
<FrameLayout
android:id="@+id/fl_window_measure_left"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="190dp"
android:visibility="visible">
<ImageView
android:id="@+id/iv_start_left"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_marginEnd="@dimen/float_margin_start"
android:src="@drawable/float_icon_record" />
<ImageView
android:id="@+id/iv_shot_left"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_marginStart="@dimen/float_margin_start"
android:layout_marginTop="29dp"
android:src="@drawable/float_icon_pause" />
<ImageView
android:id="@+id/iv_back_left"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_below="@id/iv_shot_left"
android:layout_marginStart="@dimen/float_margin_start"
android:layout_marginTop="2dp"
android:src="@drawable/float_icon_home" />
<ImageView
android:id="@+id/iv_logo_left"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_below="@id/iv_start_left"
android:layout_marginStart="5dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="55dp"
android:src="@mipmap/ic_launcher_round" />
<ImageView
android:id="@+id/iv_settings_left"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_below="@id/iv_logo_left"
android:layout_marginTop="10dp"
android:layout_marginEnd="@dimen/float_margin_start"
android:scaleX="1.05"
android:scaleY="1.05"
android:src="@drawable/float_icon_setting" />
</RelativeLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="190dp"
android:gravity="center_vertical"
android:paddingStart="0dp"
android:paddingEnd="2dp"
android:visibility="gone">
<ImageView
android:id="@+id/iv_logo_left2"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginStart="2dp"
android:src="@mipmap/ic_launcher_round" />
<ImageView
android:id="@+id/iv_resume_pause_left"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_marginStart="2dp"
android:src="@drawable/float_icon_pause" />
<ImageView
android:id="@+id/iv_stop_left"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_marginStart="-5dp"
android:src="@drawable/float_icon_stop" />
</LinearLayout>
</FrameLayout>
</FrameLayout>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="@dimen/float_stand_size"
android:gravity="center">
<ImageView
android:layout_width="@dimen/float_stand_size"
android:layout_height="@dimen/float_stand_size"
android:scaleType="centerInside"
android:src="@mipmap/ic_launcher_round" />
<TextView
android:id="@+id/tv_float_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textColor="@color/white"
android:textSize="10sp"
android:visibility="gone" />
</FrameLayout>

View File

@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fl_window_background_right"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#66333333">
<FrameLayout
android:id="@+id/fl_window_measure_right"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="190dp"
android:visibility="visible">
<ImageView
android:id="@+id/iv_start_right"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_marginStart="@dimen/float_margin_start"
android:src="@drawable/float_icon_record" />
<ImageView
android:id="@+id/iv_shot_right"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_marginTop="29dp"
android:src="@drawable/float_icon_pause" />
<ImageView
android:id="@+id/iv_back_right"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_below="@id/iv_shot_right"
android:layout_marginTop="2dp"
android:src="@drawable/float_icon_home" />
<ImageView
android:id="@+id/iv_logo_right"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_below="@id/iv_start_right"
android:layout_marginStart="55dp"
android:layout_marginTop="10dp"
android:src="@mipmap/ic_launcher_round" />
<ImageView
android:id="@+id/iv_settings_right"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_below="@id/iv_logo_right"
android:layout_marginStart="@dimen/float_margin_start"
android:layout_marginTop="10dp"
android:scaleX="1.05"
android:scaleY="1.05"
android:src="@drawable/float_icon_setting" />
</RelativeLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="190dp"
android:gravity="center_vertical"
android:paddingEnd="2dp"
android:paddingStart="0dp"
android:visibility="gone">
<ImageView
android:id="@+id/iv_stop_right"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:src="@drawable/float_icon_stop" />
<ImageView
android:id="@+id/iv_resume_pause_right"
android:layout_width="@dimen/float_size"
android:layout_height="@dimen/float_size"
android:layout_marginStart="-5dp"
android:src="@drawable/float_icon_pause" />
<ImageView
android:id="@+id/iv_logo_right2"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginStart="2dp"
android:src="@mipmap/ic_launcher_round" />
</LinearLayout>
</FrameLayout>
</FrameLayout>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal"
>
<!-- android:background="@color/balloonperformer_translucent"-->
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/widget_float_hide" />
</LinearLayout>

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="background">@color/color_f5f5f5</color>
<color name="list_divider_line">@color/color_e5e5e5</color>
<color name="white">#fff</color>
<color name="color_333333">#333333</color>
<color name="color_999999">#999999</color>
<color name="color_b2000000">#b2000000</color>
<color name="color_dashen">#ff5215</color>
<color name="color_dashen_passed">#e54b12</color>
<color name="float_time_color">#f58220</color>
<color name="color_e5e5e5">#e5e5e5</color>
<color name="color_f5f5f5">#f5f5f5</color>
<color name="c8c8c8">#c8c8c8</color>
</resources>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#008577</color>
<color name="colorPrimaryDark">#00574B</color>
<color name="colorAccent">#D81B60</color>
<color name="bar_gray">#37474F</color>
<color name="while_bg">#F7F7F7</color>
</resources>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="setting_start_padding">22dp</dimen>
<dimen name="setting_end_start_padding">25dp</dimen>
<dimen name="setting_end_padding">10dp</dimen>
<dimen name="setting_vertical_padding">10dp</dimen>
<dimen name="setting_end_font_width">60dp</dimen>
<dimen name="setting_start_image_width">20dp</dimen>
<dimen name="size_button">18sp</dimen>
<dimen name="btn_top_bottom_padding">10dp</dimen>
<dimen name="btn_height">50dp</dimen>
<dimen name="float_size">60dp</dimen>
<dimen name="float_margin_start">50dp</dimen>
<dimen name="float_stand_size">36dp</dimen>
<dimen name="setting_start_font_size">15sp</dimen>
<dimen name="setting_end_font_size">13sp</dimen>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">floatwindow</string>
</resources>