update 封装base库;集成flowwindow库;悬浮窗功能;赞助和分享;集成企微sdk;界面更新;添加待办修复;滚动手势优化;建群达到上限检查;兼容减号和括号搜索;应用保活;其他已知缺陷修复
|
After Width: | Height: | Size: 306 B |
BIN
floatwindow/src/main/res/drawable-xxhdpi/back_icon.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/bg_float_guide.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/float_icon_home.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/float_icon_pause.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/float_icon_play.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/float_icon_record.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/float_icon_setting.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/float_icon_stop.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/settings_directory.png
Normal file
|
After Width: | Height: | Size: 322 B |
BIN
floatwindow/src/main/res/drawable-xxhdpi/settings_fps.png
Normal file
|
After Width: | Height: | Size: 145 B |
BIN
floatwindow/src/main/res/drawable-xxhdpi/settings_hd.png
Normal file
|
After Width: | Height: | Size: 342 B |
BIN
floatwindow/src/main/res/drawable-xxhdpi/settings_hq.png
Normal file
|
After Width: | Height: | Size: 368 B |
BIN
floatwindow/src/main/res/drawable-xxhdpi/settings_language.png
Normal file
|
After Width: | Height: | Size: 697 B |
BIN
floatwindow/src/main/res/drawable-xxhdpi/settings_no_pop.png
Normal file
|
After Width: | Height: | Size: 734 B |
|
After Width: | Height: | Size: 616 B |
BIN
floatwindow/src/main/res/drawable-xxhdpi/settings_rate_us.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/settings_share.png
Normal file
|
After Width: | Height: | Size: 663 B |
BIN
floatwindow/src/main/res/drawable-xxhdpi/tab_settings_check.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/widget_float_hide.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/widget_guide_finger.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
floatwindow/src/main/res/drawable-xxhdpi/widget_tip_button.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
22
floatwindow/src/main/res/drawable/comment_gray_btn.xml
Normal 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>
|
||||
22
floatwindow/src/main/res/drawable/comment_red_btn.xml
Normal 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>
|
||||
9
floatwindow/src/main/res/drawable/ic_arrow_back.xml
Normal 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>
|
||||
99
floatwindow/src/main/res/layout/layout_menu_left.xml
Normal 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>
|
||||
22
floatwindow/src/main/res/layout/layout_menu_logo.xml
Normal 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>
|
||||
94
floatwindow/src/main/res/layout/layout_menu_right.xml
Normal 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>
|
||||
15
floatwindow/src/main/res/layout/widget_hiderview_ll.xml
Normal 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>
|
||||
BIN
floatwindow/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
floatwindow/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
16
floatwindow/src/main/res/values/colors-rec.xml
Normal 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>
|
||||
10
floatwindow/src/main/res/values/colors.xml
Normal 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>
|
||||
19
floatwindow/src/main/res/values/dimens.xml
Normal 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>
|
||||
3
floatwindow/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<resources>
|
||||
<string name="app_name">floatwindow</string>
|
||||
</resources>
|
||||