Comments (7)
I also tried setting thumbWidth and thumbHeight, but no luck,
from switchbutton.
Which version are you using?
from switchbutton.
And did you put the iOS style drawable into correct folder "xhdpi"?
from switchbutton.
Yeah, moving the images to "xhdpi" reduced the size, but I'm still not having total control over the thumb size using thumbWidth and thumbHeight.
from switchbutton.
Image drawable has it's minimal size, so if you use image drawable, SwitchButton will use the smaller one between thumbWidth and minimal size of drawable.
from switchbutton.
@rahulchowdhury @kyleduo explained, I suggest you can make a smaller thumb drawable to use.
from switchbutton.
@ysmintor @kyleduo Never mind I used the original image for the Switch
from switchbutton.
Related Issues (20)
- this library need to support androidx HOT 1
- 怎么渐变背景使用自己设置的颜色而不是变透明的颜色,不想设置透明度? HOT 1
- 关于kswBackColor
- 自定义主题的SwitchButton实现IOS的SwitchButton HOT 1
- extends SwitchButton扩展存在的问题 HOT 1
- RTL layout support
- isPressed() method returns false in setOnCheckedChangeListener()
- 修改滑道的宽度, 会影响到滑块的比例, 使其变形 HOT 2
- 能不能弄个中文的 属性 释义 HOT 2
- textOff always visible in background HOT 1
- how to change the switch-on or switch-off text color ? HOT 1
- jCenter 要废弃了
- 若要添加enabling与disabling状态, 有哪些实现方式? HOT 6
- Failed build after removing jcenter() and changing to mavenCentral() HOT 3
- 不能设置打开关闭text的文字大小和颜色吗 HOT 1
- How to change kswtintcolor to gradiant color attribute... It generate error when i use it.
- tty,ou,snowkno,w/Kyle "duo"://
- 3793183974058878pleasebesquareone Roundtable https://www.facebook.com/andto379318397405887
- Mary Kay Jacob Athirst from my own what am I gonna do ?
- 咱们这个开关如何优雅的实现触发点击事件,但是不要进行checked状态切换? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from switchbutton.