All Projects → A-Heavy-Rain → Guideview

A-Heavy-Rain / Guideview

简单易用的高亮引导工具,可高度自定义。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Guideview

guide
A new feature guide component by react 🧭
Stars: ✭ 597 (+535.11%)
Mutual labels:  guide, highlight
Lighter
💡A highlight & guide library for android.
Stars: ✭ 260 (+176.6%)
Mutual labels:  guide, highlight
Highlight Userguideview
用户指引提示view,新特性高亮指示 HighLight
Stars: ✭ 647 (+588.3%)
Mutual labels:  guide, highlight
Pc Optimization Hub
collection of various resources devoted to performance and input lag optimization
Stars: ✭ 55 (-41.49%)
Mutual labels:  guide
Highlightr
iOS & OSX Syntax Highlighter.
Stars: ✭ 1,116 (+1087.23%)
Mutual labels:  highlight
Minecraft Optimization
Minecraft server optimization guide
Stars: ✭ 77 (-18.09%)
Mutual labels:  guide
It Starts With Clojure
a Practical guide to Clojure
Stars: ✭ 93 (-1.06%)
Mutual labels:  guide
Code Review Emoji Guide
An emoji legend to help convey intention and added meaning in code review comments.
Stars: ✭ 52 (-44.68%)
Mutual labels:  guide
Globbing
Introduction to "globbing" or glob matching, a programming concept that allows "filepath expansion" and matching using wildcards.
Stars: ✭ 86 (-8.51%)
Mutual labels:  guide
The Practical Linux Hardening Guide
This guide details creating a secure Linux production system. OpenSCAP (C2S/CIS, STIG).
Stars: ✭ 8,790 (+9251.06%)
Mutual labels:  guide
Awesome Vuetify
🎉 The best resources related to Vuetify
Stars: ✭ 1,189 (+1164.89%)
Mutual labels:  guide
Swiftyoverlay
Show overlay and info on app components
Stars: ✭ 63 (-32.98%)
Mutual labels:  guide
Pythonguide
This`s a guide of python.
Stars: ✭ 79 (-15.96%)
Mutual labels:  guide
Elm Syntax Highlight
Syntax highlighting in Elm
Stars: ✭ 61 (-35.11%)
Mutual labels:  highlight
Core
D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)
Stars: ✭ 89 (-5.32%)
Mutual labels:  guide
Yii2 Quill
Yii 2 implementation of Quill, modern WYSIWYG editor
Stars: ✭ 52 (-44.68%)
Mutual labels:  highlight
Ac2100 Openwrt Guide
Install OpenWrt on the AC2100 (black cylinder)
Stars: ✭ 80 (-14.89%)
Mutual labels:  guide
Vscode Highlight
Advanced text highlighter based on regexes. Useful for todos, annotations etc.
Stars: ✭ 71 (-24.47%)
Mutual labels:  highlight
Multihighlight
Jetbrains IDE plugin: highlight identifiers with custom colors 🖌💡
Stars: ✭ 65 (-30.85%)
Mutual labels:  highlight
Colorhighlight
🎨 Lightweight Color Highlight colorizer for Sublime Text
Stars: ✭ 76 (-19.15%)
Mutual labels:  highlight

GuideView 简单实现高亮引导,觉得不错的话给个Star。

img

引入方式

在项目app build.gradle中

dependencies {
    compile 'com.zhaozhibo.guideview:guideview:1.0.6'
}

基本使用示例

new GuideViewHelper(MainActivity.this)
                .addView(btn_light1, new RightTopStyle(deco_view1))
                .addView(tv_light2, new CenterRightStyle(deco_view2))
                .addView(tv_light3, new LeftBottomStyle(deco_view3, 10))
                .addView(iv_light4, new CenterTopStyle(deco_view4, 10))
                .type(LightType.Oval)
                .autoNext()
                .onDismiss(new GuideView.OnDismissListener() {
                    @Override
                    public void dismiss() {
                    }
                })
                .show();

方法描述

GuideViewHelper方法名 备注
GuideViewHelper(Activity activity) 构造方法传入 Activity
addView(View view, LayoutStyle layoutStyle) 需要高亮的View,装饰布局相对高亮View在布局中的位子(默认提供了8种,用户也可以继承LayoutStyle自定义)。
addView(int viewId, LayoutStyle layoutStyle) 需要高亮的View的id,装饰布局相对高亮View在布局中的位子(默认提供了8种,用户也可以继承LayoutStyle自定义)。
padding(int padding) 高亮区域内边距。
type(LightType lightType) 高亮形状,目前有矩形,圆形,椭圆。
Blur() 加模糊效果。
Blur(int radius) 模糊效果的半径。
alpha(int alpha) 高亮背景的透明度。
onDismiss(GuideView.OnDismissListener listener) 监听高亮结束事件。
autoNext() 点击屏幕自动下一个高亮显示,会拦截子控件点击事件。
nextLight() 自己控制高亮的下一个显示。
show() 控件测量后依次显示。
postShow() 控件未测量依次显示。
showAll() 控件测量后全部显示。
postShowAll() 控件未测量全部显示。

相关类

GuideView

蒙版View继承FrameLayout,在其中处理高亮显示。

LayoutStyle

用于控制装饰高亮布局将对于高亮View所处的位子,默认提供了8种,不满足你需求的话,也可以继承LayoutStyle自定义。

ViewInfo

记录了高亮View的宽高,相对屏幕左上角的坐标。

博文地址

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].