CarouselViewProject icon indicating copy to clipboard operation
CarouselViewProject copied to clipboard

how to place text in center of image how can i use custom layout and then use that layout in adapter class ?

Open engr-erum opened this issue 9 years ago • 3 comments

http://imgur.com/lkar3Fh my layout should appear like this when i scroll any item that item should appear in center position @clkasd

engr-erum avatar May 21 '15 07:05 engr-erum

You should take a look at MyFragment.java and then change the line "LinearLayout l = (LinearLayout) inflater.inflate(R.layout.mf, container, false);"

This line inflates mf.xml so you can create your xml and inflate your own xml.

clkasd avatar May 21 '15 09:05 clkasd

is there any method already avaialbel in carousel once user click on item then it should apply animation zoom out then zoom in @clkasd

engr-erum avatar May 21 '15 11:05 engr-erum

@clkasd i m getting so many issues in library ...... here is my project i m trying to pass arraylist of objects to populate ..... viewpager ...... and onclick of item lets say imageview ..... i want to get the position of clicked imageview or textview text of that position but unfortunately i m getting wrong positions ..... how to resolve this issue ..... this issues can be resolved using SmartFragmentStatePagerAdapter ................. but if i use this then where will i use @Override public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) this method functionality below is my attached source https://www.dropbox.com/s/x8v5cpkbfb4nu4b/CarouselViewProjectLib.rar?dl=0 please take a look

engr-erum avatar Jul 07 '15 06:07 engr-erum