zhengcx / Shadowhelper
A library to add shadows for the Android View.(一个方便为Android View添加自然的阴影的库)
Stars: ✭ 322
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Shadowhelper
dotfiles
Files that start with a dot (they're very cool).
Stars: ✭ 124 (-61.49%)
Mutual labels: customization
dot-slapdash
A magical folder on your computer that helps you customize Slapdash.
Stars: ✭ 14 (-95.65%)
Mutual labels: customization
Oruga
🐛 Oruga is a lightweight library of UI components without CSS framework dependency
Stars: ✭ 297 (-7.76%)
Mutual labels: customization
Colorpicker
🎨 A color picker for Android. Pick a color using color wheel and slider (HSV & alpha).
Stars: ✭ 254 (-21.12%)
Mutual labels: android-view
modular-deferred-gpu-particle-system
modular particle system using compute shaders.
Stars: ✭ 20 (-93.79%)
Mutual labels: shadow
Android Tips
An awesome list of tips for Android.
Stars: ✭ 3,239 (+905.9%)
Mutual labels: android-view
shadow-accrual-maps
Accumulated shadow data computed for New York City
Stars: ✭ 15 (-95.34%)
Mutual labels: shadow
Mtmr
🌟 [My TouchBar My rules]. The Touch Bar Customisation App for your MacBook Pro
Stars: ✭ 3,547 (+1001.55%)
Mutual labels: customization
strapi-plugins
🚀 Open source plugins for Strapi - Node.js Headless CMS
Stars: ✭ 25 (-92.24%)
Mutual labels: customization
nvgen-shader-for-unity-speedtree
#NVJOB Shader for Unity SpeedTree. Old, Legacy.
Stars: ✭ 37 (-88.51%)
Mutual labels: shadow
Mage Enhanced Admin Grids
[ARCHIVED] Enhanced Admin Grids extension for Magento 1. WIP version available for testing.
Stars: ✭ 258 (-19.88%)
Mutual labels: customization
telegram-systray-icons
Custom systray icons for Telegram on GNOME Shell
Stars: ✭ 35 (-89.13%)
Mutual labels: customization
Bullet
🚅 Interactive prompts made simple. Build a prompt like stacking blocks.
Stars: ✭ 3,257 (+911.49%)
Mutual labels: customization
ValliStart
A start menu to replace the un-customizable one that you have right now.
Stars: ✭ 89 (-72.36%)
Mutual labels: customization
HBSegmentedControl
Custom Segmented Control in Swift
Stars: ✭ 99 (-69.25%)
Mutual labels: customization
Proswipebutton
A swipe button for Android with a circular progress bar for async operations
Stars: ✭ 319 (-0.93%)
Mutual labels: android-view
Avatar View
Avatar ImageView with user's name first letter Drawable placeholder
Stars: ✭ 309 (-4.04%)
Mutual labels: android-view
Dotfiles
My configuration. Minimalist, but helps save a few thousand keystrokes a day.
Stars: ✭ 284 (-11.8%)
Mutual labels: customization
ShadowHelper
A library to add shadows for the Android View.(一个方便为Android View添加自然的阴影的库)
How to use
1.Step 1: Add the JitPack repository to your build file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
2.Step 2: Add the dependency
dependencies {
compile 'com.github.zhengcx:ShadowHelper:v1.0'
}
3.Step 3: Use in Java code like this:
TextView textView1 = findViewById(R.id.tv_1);
ShadowConfig.Builder config = new ShadowConfig.Builder()
.setColor(mColor[0])//View颜色
.setShadowColor(mShadowColor)//阴影颜色
.setGradientColorArray(mColor)//如果View是渐变色,则设置color数组
.setRadius(mRadius)//圆角
.setOffsetX(mOffsetX)//横向偏移
.setOffsetY(mOffsetY);//纵向偏移
ShadowHelper.setShadowBgForView(textView1, config);
End 欢迎Star/Fork/Issue.
License
Apache2.0.
About Me
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].