feat(ui): add pointer location and stop all scripts to circular menu

This commit is contained in:
hyb1996
2018-04-15 16:29:09 +08:00
parent 6ed82afa53
commit 7e2f09b9aa
10 changed files with 76 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 B

View File

@@ -29,26 +29,24 @@
android:src="@drawable/ic_ali_record"/>
<ImageView
android:id="@+id/layout_bounds"
android:id="@+id/layout_inspect"
android:layout_width="42dp"
android:layout_height="42dp"
android:layout_gravity="center"
android:background="@drawable/circle_blue"
android:foreground="?selectableItemBackgroundBorderless"
android:padding="8dp"
android:src="@drawable/ic_circular_menu_bounds"
android:tint="@android:color/white"/>
android:src="@drawable/ic_circular_menu_bounds"/>
<ImageView
android:id="@+id/layout_hierarchy"
android:id="@+id/stop_all_scripts"
android:layout_width="42dp"
android:layout_height="42dp"
android:layout_gravity="center"
android:background="@drawable/circle_yellow"
android:foreground="?selectableItemBackgroundBorderless"
android:padding="10dp"
android:src="@drawable/ic_circular_menu_hierarchy"
android:tint="@android:color/white"/>
android:padding="8dp"
android:src="@drawable/ic_close_white_48dp"/>
<ImageView
@@ -59,8 +57,7 @@
android:background="@drawable/circle_gray"
android:foreground="?selectableItemBackgroundBorderless"
android:padding="8dp"
android:src="@drawable/ic_circular_menu_settings"
android:tint="@android:color/white"/>
android:src="@drawable/ic_circular_menu_settings"/>
</com.stardust.floatingcircularactionmenu.CircularActionMenu>

View File

@@ -8,4 +8,8 @@
<item name="class_name" type="id"/>
<item name="open_launcher" type="id"/>
<item name="accessibility_service" type="id"/>
<item name="layout_bounds" type="id"/>
<item name="layout_hierarchy" type="id"/>
<item name="pointer_location" type="id"/>
<item name="disable_pointer_location" type="id"/>
</resources>

View File

@@ -351,4 +351,8 @@
<string name="error_regex_find_prev">正则表达式不能向前查找</string>
<string name="text_notification">通知</string>
<string name="apk_builder_plugin_version_too_low">打包插件版本过低,打包的应用可能无法正常运行。是否立即下载对应版本的打包插件?</string>
<string name="text_inspect_layout_bounds">布局范围分析</string>
<string name="text_inspect_layout_hierarchy">布局层次分析</string>
<string name="text_inspect_layout">布局分析</string>
<string name="text_pointer_location">指针位置[Root]</string>
</resources>