KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
Android-VerticalCarousel
★ 23
Open GitHub ↗
Vertical Carosuel
Download README (.md)
Explore Similar Repositories
chef-cookbook-php
:
A Chef Cookbook for PHP, does not depend on apache and will not use or install pear like the official one.
ssh-fob
:
Keep your SSH private keys on a USB keychain; use a script to initialize a self-destructing ssh-agent instance
Android-Sharing-Extension-ANE
:
Android ANE for sharing text and images
lpfmpoints
:
Evolution of LPFM Stations
FileTransfer
:
FileTransfer via. WebRTC and HTML5
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
Android-VerticalCarousel
?
Download (.md)
Vertical Carousel! I used the source from this link :http://www.codeproject.com/Articles/146145/Android-3D-Carousel here. In Carousel.java, we have to modify the code : private void Calculate3DPosition(CarouselItem child, int diameter,float angleOffset) { angleOffset = angleOffset * (float) (Math.PI / 180.0f); float y = (float) (diameter / 2 * Math.sin(angleOffset)) + diameter / 2 - child.getWidth() / 2; float z = diameter / 2 * (1.0f - (float) Math.cos(angleOffset)); float x = (float) (- diameter / 2 * Math.cos(angleOffset) * 0.5); child.setX(x + 250);//This values should be change (250) child.setZ(z); child.setY(y - 150);//This values should be change(150) } I have done some adjustment for my project by changing setX,setY values and it is worked for me. If anybody can suggest in proper calculations should be appreciatable.