Re: [android-developers] Gallery default item selected is in center

2011-04-04 Thread umakantpatil
No reply yet on this topic ?
Not even from some Android Framework developers ?

:(



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gallery default item selected is in center

2011-03-25 Thread umakantpatil
*@MagouyaWare*
Thanks, I know it wont have compiler errors. But i see them. those variable 
are really not defined. You too can open the file online and check those 
variables are defined.

*@jotobjects*
Thanks you. Can you please help me with which classes are to be included 
from widget package to work like a normal gallery?
Then taking forward i will modify gallery as required to me..


This seems very bad to me that android haven't added anything to Gallery.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gallery default item selected is in center

2011-03-24 Thread umakantpatil
Hi MagouyaWare,

If I override touch events. I need to call super function first. And If call 
super method then it will bring it in center and then I will push it back.
Is it fine to do that ?

Thanks


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gallery default item selected is in center

2011-03-24 Thread umakantpatil


I copied the Gallery Widget Class to app, But it gives me lots of errors. 
Few of them I solved but there are still many unresolvable
e.g.

mRecycler cannot be resolved.
FLAG_USE_CHILD_DRAWING_ORDER cannot be resolved
mGroupFlags cannot be resolved
FLAG_SUPPORT_STATIC_TRANSFORMATIONS cannot be resolved

If the android its own source has errors then how I can go ahead ?



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gallery default item selected is in center

2011-03-24 Thread Justin Anderson
* If the android its own source has errors then how I can go ahead ?*
Obviously the android source does not have compile errors or it would not be
working for everyone...  The errors were introduced when you copied the
Gallery Widget class to your app.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Mar 24, 2011 at 6:46 AM, umakantpatil umakantpat...@gmail.comwrote:



 I copied the Gallery Widget Class to app, But it gives me lots of errors.
 Few of them I solved but there are still many unresolvable
 e.g.

 mRecycler cannot be resolved.
 FLAG_USE_CHILD_DRAWING_ORDER cannot be resolved
 mGroupFlags cannot be resolved
 FLAG_SUPPORT_STATIC_TRANSFORMATIONS cannot be resolved

 If the android its own source has errors then how I can go ahead ?





-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Gallery default item selected is in center

2011-03-23 Thread umakantpatil
Hi All,

I'm using Gallery view within my app. Now when I run the code. Gallery has 
default selected item is no 1 which is in center and left side is blank.
Instead I want no 1 item should be at left and selected.
Also clicking on the any gallery item should not bring that item in the 
center.

I tired hunting it lot on the groups but not found any solution. Is this 
possible or not ?
If yes then how come?

Thanks


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gallery default item selected is in center

2011-03-23 Thread Justin Anderson
* I'm using Gallery view within my app. Now when I run the code. Gallery
has default selected item is no 1 which is in center and left side is blank.
*
*Instead I want no 1 item should be at left and selected.*

From the description of Gallery:
A view that shows items in a *center-locked*, horizontally scrolling list.

http://developer.android.com/reference/android/widget/Gallery.html

* Also clicking on the any gallery item should not bring that item in the
center.*
What should it do?  When you click something it is selected, is it not?  And
as mentioned above, it shows items in a center-locked... list You can try
changing the behavior by subclassing it and overriding its various touch
events.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Mar 23, 2011 at 5:11 AM, umakantpatil umakantpat...@gmail.comwrote:

 Hi All,

 I'm using Gallery view within my app. Now when I run the code. Gallery has
 default selected item is no 1 which is in center and left side is blank.
 Instead I want no 1 item should be at left and selected.
 Also clicking on the any gallery item should not bring that item in the
 center.

 I tired hunting it lot on the groups but not found any solution. Is this
 possible or not ?
 If yes then how come?

 Thanks


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en