Click here to Skip to main content
13,292,205 members (55,195 online)
Click here to Skip to main content
Add your own
alternative version


128 bookmarked
Posted 13 Jan 2011

Android 3D Carousel

, 16 Oct 2012
Rate this:
Please Sign up or sign in to vote.
How 3D carousel could be implemented for Android platform



For a while, I was looking for a 3D carousel control for Android platform. The only one I found was UltimateFaves at [1]. But as it turned out, it uses OpenGL. And it’s not open source. I thought if it is possible to avoid a use of OpenGL. Continuing my investigations, I stamped on Coverflow Widget at [2]. And it uses standard Android 2D libraries. So the idea was the same – to use Gallery class for the carousel. The Coverflow Widget just rotates images and I wanted to rotate all group of them. Well, at least it implies the use of simple trig methods. More complicated stuff goes with the Gallery class. If you’d look through the article about Coverflow Widget at [3], you’d see a bunch of problems, such as unavailability of default scope variables in AbsSpinner and AdapterView classes. So I went the same way and rewrote some classes. And the Scroller class will be replaced by the Rotator class which looks like Scroller but it rotates the group of images.

The Preparations

At first, we should decide what parameters will define a behavior of our Carousel. For example, a min quantity of items in the carousel. It will not look nice if it has only one or two items, won’t it? As for performance issue, we have to define max quantity of items. Also, we will need max theta angle for the carousel, what items will be in there, current selected item and if items will be reflected. So let’s define them in attrs.xml file:

<?xml version="1.0" encoding="utf-8"?>
	<declare-styleable name="Carousel">
		<attr name="android:gravity" />	
		<attr name="android:animationDuration" />
		<attr name="UseReflection" format="boolean"/>
		<attr name="Items" format="integer"/>
		<attr name="SelectedItem" format="integer"/>
		<attr name="maxTheta" format="float"/>
		<attr name="minQuantity" format="integer"/>
		<attr name="maxQuantity" format="integer"/>

The Carousel Item Class

To simplify some stuff with carousel, I’ve created CarouselImageView:

public class CarouselImageView extends ImageView 
	implements Comparable<carouselimageview> {
	private int index;
	private float currentAngle;
	private float x;
	private float y;
	private float z;
	private boolean drawn;
	public CarouselImageView(Context context) {
		this(context, null, 0);

	public CarouselImageView(Context context, AttributeSet attrs) {
		this(context, attrs, 0);
	public CarouselImageView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);

	public int compareTo(CarouselImageView another) {
		return (int)(another.z – this.z);


It incapsulates the position in 3D space, the index of an item and the current angle of an item. Also implementing it as Comparable will be helpful when we’ll determine a draw order of the items.

The Rotator Class

If you’d look at the source code of Scroller class, you’ll see two modes: the scroll mode and the fling mode supposed just to calculate current offset from the given start point. We’ll just need to remove extra members, add our own and replace the corresponding calculations:

public class Rotator {
    private int mMode;
    private float mStartAngle;
    private float mCurrAngle;
    private long mStartTime;
    private long mDuration;
    private float mDeltaAngle;
    private boolean mFinished;

    private float mCoeffVelocity = 0.05f;
    private float mVelocity;
    private static final int DEFAULT_DURATION = 250;
    private static final int SCROLL_MODE = 0;
    private static final int FLING_MODE = 1;
    private final float mDeceleration = 240.0f;
     * Create a Scroller with the specified interpolator. If the interpolator is
     * null, the default (viscous) interpolator will be used.
    public Rotator(Context context) {
        mFinished = true;
     * Returns whether the scroller has finished scrolling.
     * @return True if the scroller has finished scrolling, false otherwise.
    public final boolean isFinished() {
        return mFinished;
     * Force the finished field to a particular value.
     * @param finished The new finished value.
    public final void forceFinished(boolean finished) {
        mFinished = finished;
     * Returns how long the scroll event will take, in milliseconds.
     * @return The duration of the scroll in milliseconds.
    public final long getDuration() {
        return mDuration;
     * Returns the current X offset in the scroll. 
     * @return The new X offset as an absolute distance from the origin.
    public final float getCurrAngle() {
        return mCurrAngle;
     * @hide
     * Returns the current velocity.
     * @return The original velocity less the deceleration. Result may be
     * negative.
    public float getCurrVelocity() {
        return mCoeffVelocity * mVelocity - mDeceleration * timePassed() /* / 2000.0f*/;

     * Returns the start X offset in the scroll. 
     * @return The start X offset as an absolute distance from the origin.
    public final float getStartAngle() {
        return mStartAngle;
     * Returns the time elapsed since the beginning of the scrolling.
     * @return The elapsed time in milliseconds.
    public int timePassed() {
        return (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime);
     * Extend the scroll animation. This allows a running animation to scroll
     * further and longer, when used with {@link #setFinalX(int)} 
     * or {@link #setFinalY(int)}.
     * @param extend Additional time to scroll in milliseconds.
     * @see #setFinalX(int)
     * @see #setFinalY(int)
    public void extendDuration(int extend) {
        int passed = timePassed();
        mDuration = passed + extend;
        mFinished = false;
     * Stops the animation. Contrary to {@link #forceFinished(boolean)},
     * aborting the animating cause the scroller to move to the final x and y
     * position
     * @see #forceFinished(boolean)
    public void abortAnimation() {
        mFinished = true;

     * Call this when you want to know the new location.  If it returns true,
     * the animation is not yet finished.  loc will be altered to provide the
     * new location.
    public boolean computeAngleOffset()
        if (mFinished) {
            return false;
        long systemClock = AnimationUtils.currentAnimationTimeMillis();
        long timePassed = systemClock - mStartTime;
        if (timePassed < mDuration) {
        	switch (mMode) {
        		case SCROLL_MODE:

        			float sc = (float)timePassed / mDuration;
                    	mCurrAngle = mStartAngle + Math.round(mDeltaAngle * sc);    
        		 case FLING_MODE:

        			float timePassedSeconds = timePassed / 1000.0f;
        			float distance;

        			if(mVelocity < 0)
                    	distance = mCoeffVelocity * mVelocity * timePassedSeconds - 
                    	(mDeceleration * timePassedSeconds * timePassedSeconds / 2.0f);
                    	distance = -mCoeffVelocity * mVelocity * timePassedSeconds - 
                    	(mDeceleration * timePassedSeconds * timePassedSeconds / 2.0f);

                    mCurrAngle = mStartAngle - Math.signum(mVelocity)*Math.round(distance);
            return true;
        	mFinished = true;
        	return false;
     * Start scrolling by providing a starting point and the distance to travel.
     * @param startX Starting horizontal scroll offset in pixels. Positive
     *        numbers will scroll the content to the left.
     * @param startY Starting vertical scroll offset in pixels. Positive numbers
     *        will scroll the content up.
     * @param dx Horizontal distance to travel. Positive numbers will scroll the
     *        content to the left.
     * @param dy Vertical distance to travel. Positive numbers will scroll the
     *        content up.
     * @param duration Duration of the scroll in milliseconds.
    public void startRotate(float startAngle, float dAngle, int duration) {
        mMode = SCROLL_MODE;
        mFinished = false;
        mDuration = duration;
        mStartTime = AnimationUtils.currentAnimationTimeMillis();
        mStartAngle = startAngle;
        mDeltaAngle = dAngle;
     * Start scrolling by providing a starting point and the distance to travel.
     * The scroll will use the default value of 250 milliseconds for the
     * duration.
     * @param startX Starting horizontal scroll offset in pixels. Positive
     *        numbers will scroll the content to the left.
     * @param startY Starting vertical scroll offset in pixels. Positive numbers
     *        will scroll the content up.
     * @param dx Horizontal distance to travel. Positive numbers will scroll the
     *        content to the left.
     * @param dy Vertical distance to travel. Positive numbers will scroll the
     *        content up.
    public void startRotate(float startAngle, float dAngle) {
        startRotate(startAngle, dAngle, DEFAULT_DURATION);
     * Start scrolling based on a fling gesture. The distance travelled will
     * depend on the initial velocity of the fling.
     * @param velocityAngle Initial velocity of the fling (X) 
     * measured in pixels per second.
    public void fling(float velocityAngle) {
        mMode = FLING_MODE;
        mFinished = false;

        float velocity = velocityAngle;
        mVelocity = velocity;
        mDuration = (int)(1000.0f * Math.sqrt(2.0f * mCoeffVelocity * 
        mStartTime = AnimationUtils.currentAnimationTimeMillis();        

The CarouselSpinner Differences with the AbsSpinner

First, it extends CarouselAdapter vs AdapterView. Those differences I’ll describe later. Second, the modified constructor where the retrieving of AbsSpinner entries were removed. The third difference is modified setSelection(int) method. It was just call to setSelectionInt left. The next change is unavailable variables were replaced with their getters. As for default generated layout parameters, both were set to WRAP_CONTENT. The main changes concern pointToPosition method. In AbsSpinner, it determines if definite item was touched on a screen no matter whether it’s current or not. In CarouselSpinner, all touches will concern only the current item. So just return selected item index:

public int pointToPosition(int x, int y) {    	
  	// All touch events are applied to selected item
   	return mSelectedPosition;

The CarouselAdapter vs. AdapterView

The only changes are in updateEmptyStatus method where unavailable variables were replaced with their getters.

The Carousel Class

Here FlingRunnable class was replaced with FlingRotateRunnable which is much like FlingRunnable but makes deal with angle vs. x-coordinate:

private class FlingRotateRunnable implements Runnable {

         * Tracks the decay of a fling rotation
		private Rotator mRotator;

         * Angle value reported by mRotator on the previous fling
        private float mLastFlingAngle;
         * Constructor
        public FlingRotateRunnable(){
        	mRotator = new Rotator(getContext());
        private void startCommon() {
            // Remove any pending flings
        public void startUsingVelocity(float initialVelocity) {
            if (initialVelocity == 0) return;
            mLastFlingAngle = 0.0f;
        public void startUsingDistance(float deltaAngle) {
            if (deltaAngle == 0) return;
            mLastFlingAngle = 0;
            	mRotator.startRotate(0.0f, -deltaAngle, mAnimationDuration);
        public void stop(boolean scrollIntoSlots) {
        private void endFling(boolean scrollIntoSlots) {
             * Force the scroller's status to finished (without setting its
             * position to the end)
            if (scrollIntoSlots) scrollIntoSlots();
		public void run() {
            if (Carousel.this.getChildCount() == 0) {
            mShouldStopFling = false;
            final Rotator rotator;
            final float angle;
            boolean more;
	            rotator = mRotator;
	            more = rotator.computeAngleOffset();
	            angle = rotator.getCurrAngle();	            
            // Flip sign to convert finger direction to list items direction
            // (e.g. finger moving down means list is moving towards the top)
            float delta = mLastFlingAngle - angle;                        
            //////// Should be reworked
            if (more && !mShouldStopFling) {
                mLastFlingAngle = angle;
            } else {
                mLastFlingAngle = 0.0f;

I also added ImageAdapter class as it is in Coverflow Widget with a possibility to add a reflection to the images. And some new private variables were added to support Y-axe angle, reflection and so on. The constructor retrieves list of images, creates ImageAdapter and sets it. The main thing in the constructor is setting the object to support static transformations. And to place images into their places:

	 * Setting up images
	void layout(int delta, boolean animate){
        if (mDataChanged) {
        // Handle an empty gallery by removing all views.
        if (this.getCount() == 0) {
        // Update to the new selected position.
        if (mNextSelectedPosition >= 0) {
        // All views go in recycler while we are in layout
        // Clear out old views
        int count = getAdapter().getCount();
        float angleUnit = 360.0f / count;

        float angleOffset = mSelectedPosition * angleUnit;
        for(int i = 0; i< getAdapter().getCount(); i++){
        	float angle = angleUnit * i - angleOffset;
        	if(angle < 0.0f)
        		angle = 360.0f + angle;
           	makeAndAddView(i, angle);        	

        // Flush any cached views that did not get reused above


        ////////mDataChanged = false;
        mNeedSync = false;

Here are the methods to set up images. The height of an image is set three times lesser than parent height to make the carousel fit parent view. It should be reworked later.

private void makeAndAddView(int position, float angleOffset) {
        CarouselImageView child;
        if (!mDataChanged) {
            child = (CarouselImageView)mRecycler.get(position);
            if (child != null) {

                // Position the view
                setUpChild(child, child.getIndex(), angleOffset);
                // Nothing found in the recycler -- ask the adapter for a view
                child = (CarouselImageView)mAdapter.getView(position, null, this);

                // Position the view
                setUpChild(child, child.getIndex(), angleOffset);            	

        // Nothing found in the recycler -- ask the adapter for a view
        child = (CarouselImageView)mAdapter.getView(position, null, this);

        // Position the view
        setUpChild(child, child.getIndex(), angleOffset);

    private void setUpChild(CarouselImageView child, int index, float angleOffset) {
    	// Ignore any layout parameters for child, use wrap content
        addViewInLayout(child, -1 /*index*/, generateDefaultLayoutParams());

        child.setSelected(index == this.mSelectedPosition);
        int h;
        int w;
	        h = (this.getMeasuredHeight() - 
		this.getPaddingBottom() - this.getPaddingTop())/3;
	        w = this.getMeasuredWidth() - 
		this.getPaddingLeft() - this.getPaddingRight(); 
	        h = this.getHeight()/3;
	        w = this.getWidth();        	
        Calculate3DPosition(child, w, angleOffset);
        // Measure child
        child.measure(w, h);
        int childLeft;
        // Position vertically based on gravity setting
        int childTop = calculateTop(child, true);
        childLeft = 0;

        child.layout(childLeft, childTop, w, h);

Let’s look at trackMotionScroll method in the Gallery class, it’s called when the widget is being scrolled or flinged and does the necessary stuff for the Gallary animation. But it moves images just by x-coordinate. To make them rotate in 3D space, we must create different functionality. We just change the current angle of an image and calculate it’s position in 3D space:

void trackMotionScroll(float deltaAngle) {
        if (getChildCount() == 0) {
        for(int i = 0; i < getAdapter().getCount(); i++){
        	CarouselImageView child = (CarouselImageView)getAdapter().getView(i, null, null);
        	float angle = child.getCurrentAngle();
        	angle += deltaAngle;
        	while(angle > 360.0f)
        		angle -= 360.0f;
        	while(angle < 0.0f)
        		angle += 360.0f;
            Calculate3DPosition(child, getWidth(), angle);        	
        // Clear unused views

And after images were flinged or scrolled, we have to place them into the corresponding places:

     * Brings an item with nearest to 0 degrees angle to this angle and sets it selected 
    private void scrollIntoSlots(){
    	// Nothing to do
        if (getChildCount() == 0 || mSelectedChild == null) return;
        // get nearest item to the 0 degrees angle
        // Sort itmes and get nearest angle
    	float angle; 
    	int position;
    	ArrayList<carouselimageview> arr = new ArrayList<carouselimageview>();
        for(int i = 0; i < getAdapter().getCount(); i++)
        	arr.add(((CarouselImageView)getAdapter().getView(i, null, null)));
        Collections.sort(arr, new Comparator<carouselimageview>(){
			public int compare(CarouselImageView c1, CarouselImageView c2) {
				int a1 = (int)c1.getCurrentAngle();
				if(a1 > 180)
					a1 = 360 - a1;
				int a2 = (int)c2.getCurrentAngle();
				if(a2 > 180)
					a2 = 360 - a2;
				return (a1 - a2) ;
        angle = arr.get(0).getCurrentAngle();
        // Make it minimum to rotate
    	if(angle > 180.0f)
    		angle = -(360.0f - angle);
        // Start rotation if needed
        if(angle != 0.0f)
            // Set selected position
            position = arr.get(0).getIndex();

And to scroll to the definite item:

void scrollToChild(int i){		
	CarouselImageView view = (CarouselImageView)getAdapter().getView(i, null, null);
	float angle = view.getCurrentAngle();
	if(angle == 0)
	if(angle > 180.0f)
		angle = 360.0f - angle;
		angle = -angle;


Here’s the Calculate3DPosition method:

private void Calculate3DPosition
(CarouselImageView child, int diameter, float angleOffset){
    angleOffset = angleOffset * (float)(Math.PI/180.0f);

    float x = -(float)(diameter/2*Math.sin(angleOffset));
    float z = diameter/2 * (1.0f - (float)Math.cos(angleOffset));
    float y = - getHeight()/2 + (float) (z * Math.sin(mTheta));


Some methods that don’t have a sense with 3D gallery were removed: offsetChildrenLeftAndRight, detachOffScreenChildren, setSelectionToCenterChild, fillToGalleryLeft, fillToGalleryRight.

So, the main thing that happens with images is in getChildStaticTransformation method, where they are transformed in 3D space. It just takes a ready to use position from CarouselImage class that was calculated by Calculate3DPosition while flinging/scrolling and moves an image there:

protected boolean getChildStaticTransformation
	(View child, Transformation transformation) {

	// Center of the item
	float centerX = (float)child.getWidth()/2, centerY = (float)child.getHeight()/2;
	// Save camera;
	// Translate the item to it's coordinates
	final Matrix matrix = transformation.getMatrix();
	// Align the item
	matrix.preTranslate(-centerX, -centerY);
	matrix.postTranslate(centerX, centerY);
	// Restore camera
	return true;

One thing to know is that if you will just rotate images and position them in 3D space, they can overlap each other in the wrong order. For example, an image with 100.0 z-coordinate can be drawn in front of image with 50.0 z-coordinate. To resolve this trouble, we can override getChildDrawingOrder:

protected int getChildDrawingOrder(int childCount, int i) {

    	// Sort Carousel items by z coordinate in reverse order
    	ArrayList<carouselimageview> sl = new ArrayList<carouselimageview>();
    	for(int j = 0; j < childCount; j++)
    		CarouselImageView view = (CarouselImageView)getAdapter().
						getView(j,null, null);
    		if(i == 0)
    		sl.add((CarouselImageView)getAdapter().getView(j,null, null));

    	// Get first undrawn item in array and get result index
    	int idx = 0;
    	for(CarouselImageView civ : sl)
    			idx = civ.getIndex();
    	return idx;


Ok, it still has a lot to do, like bugs catching and optimization. I didn’t yet test all the functionality, but in the first approximation, it works.

Icons were taken from here: [4].

P.S. Fixed bug in Rotator class. Jerky "scroll into slots" was made more soft and fluid.

Reworked the Rotator class. It uses only angular acceleration now. 

Fixed  Jelly Bean issue. 




This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Igor Kushnarev
Software Developer
Russian Federation Russian Federation
• More than 10 years experience in software development
• 3 years experience in direction of automation department.
• software engineering: experience in the whole life cycle of software development
• languages: C#, VB.Net, ASP.NET, HTML, XML, JavaScript, Visual FoxPro, MS SQL, C++, Java, T-SQL, Objective-C
• Gathering, specification and the analysis of requirements of the customer to the software.
• The analysis of a subject area.
• Estimations of labour input of development.
And so on...

You may also be interested in...


Comments and Discussions

BugonItemSelected not being called Pin
avaiyakirtib14-Dec-14 19:15
memberavaiyakirtib14-Dec-14 19:15 
GeneralRe: onItemSelected not being called Pin
Member 1241996129-Mar-16 19:22
memberMember 1241996129-Mar-16 19:22 
QuestionError when click outside items Pin
Bùi Văn Liễn7-Oct-14 22:33
memberBùi Văn Liễn7-Oct-14 22:33 
QuestionCode for Selection of one image Pin
Member 1111930530-Sep-14 5:25
memberMember 1111930530-Sep-14 5:25 
Member 1111930530-Sep-14 5:20
memberMember 1111930530-Sep-14 5:20 
QuestionSpace on top Pin
bintisimit18-Aug-14 4:29
memberbintisimit18-Aug-14 4:29 
QuestionHow to increase diameter of circle Pin
Anonymous_Developer10-Aug-14 23:10
memberAnonymous_Developer10-Aug-14 23:10 
QuestionHow change carousel width to full width of screen in landscape mode Pin
mshuiet4-Jun-14 20:34
membermshuiet4-Jun-14 20:34 
Questionchange the text if the image number is 7 Pin
topjavaholic25-Mar-14 23:07
membertopjavaholic25-Mar-14 23:07 
QuestionDuration Problem Pin
Sedakcan8619-Mar-14 4:40
memberSedakcan8619-Mar-14 4:40 
QuestionHow to use a layout instead of ImageView in this project? Pin
Member 1067005718-Mar-14 0:37
memberMember 1067005718-Mar-14 0:37 
QuestionHow about onKeyDown rotation Pin
Member 1066955313-Mar-14 23:46
memberMember 1066955313-Mar-14 23:46 
QuestionImage not display Pin
HarshvardhanTrivedi6-Mar-14 3:40
memberHarshvardhanTrivedi6-Mar-14 3:40 
AnswerRe: Image not display Pin
mshuiet4-Jun-14 1:27
membermshuiet4-Jun-14 1:27 
GeneralRe: Image not display Pin
rcb 1323-Sep-14 21:58
memberrcb 1323-Sep-14 21:58 
QuestionAdd a Dynamic Image Pin
Member 106471675-Mar-14 20:42
memberMember 106471675-Mar-14 20:42 
AnswerRe: Add a Dynamic Image Pin
Member 114002523-Feb-15 2:49
memberMember 114002523-Feb-15 2:49 
QuestionWhen i one click just anywhere, just one item must be moved ? Pin
sukrugulay3-Mar-14 2:08
membersukrugulay3-Mar-14 2:08 
Questionhow can i reference your 3d carousel to my project Pin
nj1513-Feb-14 22:21
membernj1513-Feb-14 22:21 
QuestionCarousel in Fragment Pin
kTekkie3-Dec-13 2:21
memberkTekkie3-Dec-13 2:21 
AnswerRe: Carousel in Fragment Pin
Member 1059176514-Feb-14 10:20
memberMember 1059176514-Feb-14 10:20 
GeneralRe: Carousel in Fragment Pin
Member 1122219910-Nov-14 9:20
memberMember 1122219910-Nov-14 9:20 
QuestionFling and scroll is not smooth Pin
nguyendaonguyen2-Dec-13 22:06
membernguyendaonguyen2-Dec-13 22:06 
QuestionProblems including carousel as a library in another project Pin
Member 1040258126-Nov-13 12:33
memberMember 1040258126-Nov-13 12:33 
QuestionWant Add More Images In this cariysel Pin
Member 1011373211-Nov-13 0:00
memberMember 1011373211-Nov-13 0:00 
AnswerRe: Want Add More Images In this cariysel Pin
aruljack13-Feb-14 0:36
memberaruljack13-Feb-14 0:36 
QuestiononItemClick always call when i click on non image place Pin
Lucas Tan2-Nov-13 20:26
memberLucas Tan2-Nov-13 20:26 
AnswerRe: onItemClick always call when i click on non image place Pin
Lucas Tan10-Nov-13 18:24
memberLucas Tan10-Nov-13 18:24 
GeneralRe: onItemClick always call when i click on non image place Pin
kTekkie22-Nov-13 0:01
memberkTekkie22-Nov-13 0:01 
GeneralRe: onItemClick always call when i click on non image place Pin
Igor Kushnarev22-Nov-13 0:27
professionalIgor Kushnarev22-Nov-13 0:27 
GeneralRe: onItemClick always call when i click on non image place Pin
Lucas Tan22-Nov-13 0:52
memberLucas Tan22-Nov-13 0:52 
GeneralRe: onItemClick always call when i click on non image place Pin
kTekkie22-Nov-13 0:54
memberkTekkie22-Nov-13 0:54 
GeneralRe: onItemClick always call when i click on non image place Pin
Bùi Văn Liễn24-Oct-14 1:38
memberBùi Văn Liễn24-Oct-14 1:38 
GeneralRe: onItemClick always call when i click on non image place Pin
u009000021-Sep-15 2:44
memberu009000021-Sep-15 2:44 
QuestionProblem setting adapter runtime Pin
Nitesh V2-Oct-13 10:49
memberNitesh V2-Oct-13 10:49 
AnswerRe: Problem setting adapter runtime Pin
Nitesh V2-Oct-13 12:24
memberNitesh V2-Oct-13 12:24 
QuestionHow make vertical carouse animation. Pin
Hasmukh Bhadani24-Sep-13 21:35
memberHasmukh Bhadani24-Sep-13 21:35 
QuestionOut of memory error When I try to add additional items in carousel array Pin
Member 1028394921-Sep-13 2:16
memberMember 1028394921-Sep-13 2:16 
GeneralMake the carousel spin by itself Pin
Member 1023541520-Sep-13 17:42
memberMember 1023541520-Sep-13 17:42 
GeneralRe: Make the carousel spin by itself Pin
vkinra1-Jul-14 19:05
membervkinra1-Jul-14 19:05 
QuestionI want to add Help Overlay Pin
imnicx14-Sep-13 22:13
memberimnicx14-Sep-13 22:13 
AnswerRe: I want to add Help Overlay Pin
Igor Kushnarev15-Sep-13 18:40
professionalIgor Kushnarev15-Sep-13 18:40 
QuestionDisable click response when clicked on screen where an item is not present? Pin
Member 101887724-Aug-13 12:54
memberMember 101887724-Aug-13 12:54 
AnswerRe: Disable click response when clicked on screen where an item is not present? Pin
Igor Kushnarev8-Aug-13 21:59
professionalIgor Kushnarev8-Aug-13 21:59 
GeneralRe: Disable click response when clicked on screen where an item is not present? Pin
sukrugulay7-Mar-14 22:43
membersukrugulay7-Mar-14 22:43 
QuestionHigh CPU usage Pin
Member 998783628-Jul-13 21:45
memberMember 998783628-Jul-13 21:45 
AnswerRe: High CPU usage Pin
Igor Kushnarev28-Jul-13 23:53
professionalIgor Kushnarev28-Jul-13 23:53 
QuestionThx Alot Pin
babri3-Jul-13 12:57
memberbabri3-Jul-13 12:57 
Questionhow can i set selection item and showing animation,I use setSelection((int)position, (boolean)animate),but it 's not work Pin
farwmarth27-Jun-13 7:01
memberfarwmarth27-Jun-13 7:01 
AnswerRe: how can i set selection item and showing animation,I use setSelection((int)position, (boolean)animate),but it 's not work Pin
Igor Kushnarev27-Jun-13 21:53
memberIgor Kushnarev27-Jun-13 21:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171207.1 | Last Updated 17 Oct 2012
Article Copyright 2011 by Igor Kushnarev
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid