Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 2.06 KB

README.md

File metadata and controls

54 lines (39 loc) · 2.06 KB

RenderFocusView

如果下载或clone下来的代码是乱码,请到如下CSDN进行留言,因为公司安装了文件加密程序,谢谢!

RenderFocusView Button

image

RenderFocusView ListView

image

RenderFocusView GridView

image

RenderFocusView Project demo

image

Usage --xml

<com.example.renderfocusview.RenderFocusView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="20dp"
    app:RenderAlpha="0.2"
    app:RenderDelayClick="false"
    app:RenderHover="true"
    app:RenderOverlay="true" >
    <View>
     in the here add your child view,the view must be extends view
    </View>
</com.example.renderfocusview.RenderFocusView>

Usage --java

RenderFocusView.on(View view).RenderColor(int color)).RenderAlpha(float f).RenderHover(boolean true).create();

Properties --for example

RenderFocusView.on(new TextView(this)).RenderColor(0xff000000 | new Random().nextInt(0x00ffffff)).RenderAlpha(0.2f).RenderHover(true).create();

License

Copyright (C) 2018 Engineer-Jsp

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.