Comments (4)
If you watn to hide indicator, you can use DefaultSliderView instead of TextSliderView.
And you want to fit image, you can use .setBitmapTransformation method follow this example for more detail.
from glideslider.
DefaultSliderView how can but on the code this below
`String img_name = mainboard.getMb_pic();
img_name.split(",");
ArrayList<String> listUrl = new ArrayList<String>();
listUrl.add(path_image + img_name + "?alt=media");
for (int i = 0 ; i< listUrl.size(); i++){
TextSliderView textSliderView = new TextSliderView(getApplicationContext());
textSliderView
.image(listUrl.get(i))
.setBitmapTransformation(new CenterCrop());
mSlide.addSlider(textSliderView);
}`
and i set bitmap same problem i get oversize of slide
from glideslider.
`DefaultSliderView sliderView = new DefaultSliderView(getApplicationContext());
sliderView
.image(listUrl.get(i))
.setBitmapTransformation(new CenterCrop());
mSlide.addSlider(sliderView);`
May I know your image size in pixel? maybe it's smaller than slider view size.
from glideslider.
@junoprima use olegsvs@bdb1a4f
from glideslider.
Related Issues (20)
- setScaleType HOT 1
- How to round corners in GlideSlider? HOT 9
- How to set auto play false? HOT 1
- Indicators HOT 1
- I am getting error with this libery. HOT 2
- Capital package name cause issue for data binding HOT 1
- Rounded Image Slider like in sample project ? HOT 1
- transparent background HOT 1
- Library not implementing on new androidx HOT 1
- How to Set GlideSliderImageStyle to customize curve edge image HOT 1
- RTL support
- Crash after upgrade from v1.4.1 to 1.5.1 HOT 2
- How to round slides ? HOT 1
- Custom indicator issue HOT 2
- Problem with rounded corner on slide
- Application Not Responding (ANR) about 1 minute when use with attach/detach fragment
- Modify the color of an unselected indicator
- Error Use AppGlideModule
- Remove bottom line in Slider Layout
- Could not find com.github.firdausmaulan:GlideSlider:1.5.1 HOT 1
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 glideslider.