[android-developers] Gallery

2013-02-12 Thread Arun Kumar K
Hi Guys, I want to get the height of the gallery at run time and i want to change the height of the gallery at run time.. How can i do this.. Can any explain me -- *Thanks Regards* *K.Arun Kumar* -- -- You received this message because you are subscribed to the Google Groups

[android-developers] Gallery issues

2012-12-13 Thread Vivek Malavade
Hi, I have created CoverFlow effect using Gallary view and in each gallary item consist of my custom view(view contains buttons, imageviews, gridviews, etc.). On the top of item view ther are two buttons (i.e. prev and next). I creared two different clicklisteners for buttons. When I going to

[android-developers] Gallery with Zoom Application needed

2012-10-03 Thread vamshi ch
Hi All, I created simple Gallery App, But i need Zoom in/out by hand touch not with zoom controller. if you have any idea or have code pls share me code snippet,apps,source code,etc. Thanks In Advance. Best Regards, Vamshi. -- You received this message because you are subscribed to the

Re: [android-developers] Gallery widget selection.

2012-05-17 Thread Nikolay Elenkov
On Thu, May 17, 2012 at 1:28 PM, Put_tiMe putt...@gmail.com wrote: Nothing actually, here's my gallery definition. Gallery                     android:id=@+id/Gallery                     android:layout_width=match_parent                     android:layout_height=70dip                    

Re: [android-developers] Gallery widget selection.

2012-05-17 Thread Justin Anderson
Oh yeah... It has been awhile since I've done any work on my Gallery widgets... I forgot they were a little different from normal views with an adapter. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 17, 2012 at 6:52 AM, Nikolay Elenkov

[android-developers] Gallery widget selection.

2012-05-16 Thread Put_tiMe
I'm using a 'Gallery' widget. And I've registered for a item-click callback. And I'm getting the callback when I click on an item. But the problem is that I don't see any selection UI. How do I fix this? Thanks -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Gallery widget selection.

2012-05-16 Thread Justin Anderson
What are you using for your selector? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 16, 2012 at 10:25 AM, Put_tiMe putt...@gmail.com wrote: I'm using a 'Gallery' widget. And I've registered for a item-click callback. And I'm getting the

Re: [android-developers] Gallery widget selection.

2012-05-16 Thread Put_tiMe
Nothing actually, here's my gallery definition. Gallery android:id=@+id/Gallery android:layout_width=match_parent android:layout_height=70dip android:spacing=25dip android:gravity=center

[android-developers] gallery issue on 3.2.2

2012-04-22 Thread chillipig
Hi Guys, I have an issue with a gallery view only on the new Motorola Xoom 2 which is running 3.2.2. The gallery has each thumb on top of each other so you can only see one image at a time. Here is the code: XML looks like this: FrameLayout android:layout_width=fill_parent

[android-developers] Gallery app... bitmaps exceed memory in listView

2012-04-02 Thread Farhan Tariq
Hello everyone, I populate a list of image urls and pass it to a listAdapter. The getView gets the 3 successive urls (from the list) for the position in list it is called for, and downloads them, and adds it to a row of the list. The list works fine. But when I click on a picture to fire an

[android-developers] Gallery Sources URL

2012-02-03 Thread M0n5terbunny
Hi im fairly new to this im trying to use image urls as sources for my gallery pictures but im having difficulty finding how this works, this is the code so far. public class ImageAdapter extends BaseAdapter { private static final int ITEM_WIDTH = 232; private static final

Re: [android-developers] Gallery Sources URL

2012-02-03 Thread TreKing
On Wed, Feb 1, 2012 at 5:01 AM, M0n5terbunny joshfisher.18051...@gmail.comwrote: where would i put the urls ? http://developer.android.com/resources/tutorials/views/hello-gallery.html Look at getView(). See where they set the Image resource. Then replace the hardcoded images with images from

[android-developers] Gallery Intent to pick image --- Picasa-based images are invalid (Android 4.0+)

2012-01-04 Thread Andrew
Hello, I'm trying to launch a Gallery Intent to allow the user to select an image. The issue is that the code works on 2.x but fails occasionally on 4.x (I haven't tested 3.x). I've narrowed it down to issues specific to Picasa-sourced images. For example, from my google+ posts (still in the

[android-developers] Gallery Select Pic

2011-12-07 Thread Mukesh Srivastav
Hi All, I have a question on Gallery Intent. After taking a pic, I am calling the*Gallery Intent * which shows all the pics. I am able to select the pic from the Galleryview and taking it to a next activity everything works fine.But the real problem is, if i change the Gallery Intent to

[android-developers] Gallery and multiple calls of getView

2011-09-15 Thread Kiko Llaó Garcia
Here is the code: public class HelloGallery extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Gallery g = new Gallery(this); g.setAdapter(new ImageAdapter(this));

[android-developers] Gallery View and SQLite database

2011-09-13 Thread Abhi
Hi all, I have a sqlite database of 100+ low res images saved as Blob data. I am creating an App that has a GalleryView and I would like to display the 100+ images from my database in this view. The user can scroll through the horizontally scrolling list and select the one he wants to see full

[android-developers] Gallery Problem

2011-08-30 Thread Perry168
Hi, Today, I wrote a gallery example to show the photos. My problem is how to set the init 'position' isn't started from zero? For example: it has 9 photos. 1 to 9.jpg (array from 0 to 8) When the program started, the 1.jpg (position 0) always showed in gallery firstly. I would like the default is

[android-developers] Gallery sets position after TextView.setText()

2011-08-24 Thread Matthew Patience
I've got a fairly complicated layout going on that consists of 2 galleries which hold layouts themselves as the children, and also an additional timer counting down to an event. My issue is that I'm updating the countdown using a Handler that runs every 1000ms that calculates time until the event

[android-developers] Gallery view image zoom option in multi touch..

2011-07-25 Thread ragupathi ragupathi
Hi every one, i did gallery view program in this gallery view have some images it will be displayed one by one. i need to zoom which images is viewed. so anyone know the idea share with me... -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Gallery: change center position?

2011-07-22 Thread Devomat
I have a gallery that center the selected View in the middle of the gallery view. I want to decenter the selected view to x -=60 Is this possible? -- 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] Gallery center item in the middle

2011-07-11 Thread vani reddy
Hi, How to make the first image in the gallery to start from the leftmost side of the device,since images are displayed starting from center, as seen in the snapshot attached. Please reply. -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Gallery center item in the middle

2011-07-11 Thread TreKing
On Mon, Jul 11, 2011 at 8:55 AM, vani reddy vani.reddy.bl...@gmail.comwrote: How to make the first image in the gallery to start from the leftmost side of the device,since images are displayed starting from center, as seen in the snapshot attached. Use the functions available to you to set

[android-developers] gallery images onSignalStrengthsChanged Error

2011-07-04 Thread ragupathi ragupathi
hi every one, im developing small project, in this project i will getting all images from the android phone gallery its working fine. but when im displaying that images in android grid view means some images only loaded, remaining images are showing like 07-04 14:06:53.965: DEBUG/

[android-developers] Gallery question: loading the current image from a context menu to wallpaper

2011-05-29 Thread Spooky
I'm looking at the Gallery example from the Android-sdk samples (android-7/ApiDemos/src//view/Gallery1.java), and am trying to load the currently-displayed image, from the long-press context menu, as wallpaper. In that example, I have the index number within the array of R.drawable.filename

[android-developers] Gallery with Adapter witch is return layouts

2011-05-28 Thread Károly Holczhauser
Hi all ! I would like to make my custrom gallery, but when I'm implementing the adapter it have to be return an View. I would like to use the gallery to display my own LinearLayout-s, so the adapter have to return these ! Any idea how can I use gallery to display my own , custrom linearlayouts

Re: [android-developers] Gallery with Adapter witch is return layouts

2011-05-28 Thread B Lyon
LinearLayout is a view, isn't it? View -- ViewGroup -- Linearlayout 2011/5/28 Károly Holczhauser holczhau...@gmail.com: Hi all !  I would like to make my custrom gallery, but when I'm implementing the adapter it have to be return an View. I would like to use the gallery to display my own

[android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
Hti guys m making a gallery that contain 10 images , each images have a different name . i want that if i scroll the gallery , selected or focused image's name should be appear. Name should change on onFoucs or OnItemSelected. Suggest me. Thanks in advance. -- You received this message because

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread Justin Anderson
The way I did it in AppSwipe! was with a RelativeLayout that contains a Gallery and a TextView. I used an OnItemSelectedListener to change the text displayed in the text view. http://developer.android.com/reference/android/widget/AdapterView.OnItemSelectedListener.html It is pretty

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
Thanks Justin Its works , :) On Sat, May 14, 2011 at 12:32 AM, Justin Anderson magouyaw...@gmail.comwrote: The way I did it in AppSwipe! was with a RelativeLayout that contains a Gallery and a TextView. I used an OnItemSelectedListener to change the text displayed in the text view.

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
HI , i have a new issue , my using small dots to show the current image position of a gallery. these images are creating in runtime using this code for (*int* i=0;itracks.size();i++) { LinearLayout imgview_layout=(LinearLayout)findViewById(R.id.*sub_layout*); ImageView imageview=*new*

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread Justin Anderson
I'm not entirely sure what you are trying to accomplish... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 13, 2011 at 1:23 PM, gaurav gupta gaurav.gupta...@gmail.comwrote: HI , i have a new issue , my using small dots to show the current

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
hi justin i want to just change my textview and imageview with gallery. my imageview showing the current position of gallery . like if gallery's currenit position is 2 , the 2nd imageview will be yellow,now it is gray its just like a indicator in footer that will show the postion of gallery's

Re: [android-developers] Gallery Infinite Loop

2011-04-18 Thread James Liu
That's a good point. And I have tried it, but still hard to get a solution. So, i have to implement a new gallery in the google code server. If anyone also wants to use this widget, you can check it there: *Android Infinite Loop Galleryhttp://blog.jmsliu.com/138/android-infinite-loop-gallery.html

Re: [android-developers] Gallery Infinite Loop

2011-04-18 Thread Streets Of Boston
Yep, that's what I did for a regular list-view that acts like a slot-machine roll. Return a value in your adapter's getCount() method that is a very very very high multiple of the number of actual items in your list-view's adapter. private static final int MULTIPLIER = 100; // some LARGE

[android-developers] Gallery 3D-customization of font color

2011-04-13 Thread Sarah
Hi All, I am trying to customize the 3D gallery of android, I want to include different color for the menu font as well as the title, throughout the gallery 3D application. To do this, i tried applying styles and themes to the complete application in the manifest file, but there seems to be no

[android-developers] Gallery Displays Every Image File

2011-04-13 Thread Stephen
LG Optimus M v2.2.1 I Have two of them, both with very similar set-ups, including applications but my wife's Gallery app displays every image file that's on her phone or sd card, including fonts. This is her second LG Optimus M in 2 months and the first one did this as well but we insisted on the

[android-developers] Gallery of pictures with zoom and recognition of gestures

2011-04-13 Thread Lina
Hello everybody, I am a newbie in Android, I want to implement an application that shows images, each one in full-screen size, and showed with a fling movement(like a gallery). For each Image I want to zoom, and detect my own gestures. First approach To modify a Gallery and implement my own

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,

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

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

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

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

[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

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*,

[android-developers] Gallery with images from a Web Service

2011-03-18 Thread iulia
Hello, I'm trying to built a gallery with images taking from a web service. For the calls to WS I'm using ksoap2. My questions regards the best way to get the images. 1. Should I take them all, store them locally and then use them in my gallery? 2. My idea was to take let's say 5 random images

[android-developers] Gallery Infinite Loop

2011-03-15 Thread James Liu
Hi, guys: I use default gallery widget in my android application. The default gallery action is that when it reach end, it will stop scroll. And what I want to implement is loop to the first image after the gallery reach to the end. I already search it on google, and still get stuck. Do you have

Re: [android-developers] Gallery Infinite Loop

2011-03-15 Thread TreKing
On Mon, Mar 14, 2011 at 7:06 AM, James Liu james.liu.p...@gmail.com wrote: And what I want to implement is loop to the first image after the gallery reach to the end. Idea: have the getSize() method or your adapter return something ludicrously high, set the start of the Gallery to something

[android-developers] Gallery with buttons

2011-03-07 Thread Méher Khiari
Hi This is my first message in this mailing list and I'm honoured to have some advices from other people. As the object explains, I need to setup a Gallery with 2 Buttons. The problem is that the gallery won't scroll anymore. I have tried to search the internet without success (maybe I'm using the

[android-developers] Gallery selected item doesn't show selected state color

2011-01-14 Thread MB
Hi there, In my app, I'm using a gallery with an Array of strings, and an ArrayAdapter. I'm using a colorStateList for the text color, to show the selected item in green. When the user interacts with the gallery, dragging, clicking or flinging, the green color appears correctly for the selected

[android-developers] Gallery as a horizontal list

2010-12-23 Thread jotobjects
The gallery widget is almost the right thing for a horizontal list. It works with the same adapter pattern as ListView. But Gallery is pretty insistent about keeping the selected item in the center of the visible area. Has anybody tried to modify it so it displays the first item on the left

[android-developers] Gallery doesn't both click and drag

2010-12-01 Thread jotobjects
I have a Gallery widget where I want each item to be clickable AND I want to be able to swipe the gallery to move it (of course). Once I set the OnClickListener on the items in the Gallery I can click them but no longer can move the gallery right and left. Do I have to play with onTouch down and

[android-developers] Gallery Cache

2010-10-25 Thread Andrew Whalen
Hi, I'm trying to add pictures to a folder and have that folder viewable in the Gallery app. I've been able to do so, but if I add or remove an image in the folder, it will not be updated in the Gallery unless I reset the device. I was wondering if there was a way to force the Gallery to update

[android-developers] Gallery Control Fling operation

2010-10-25 Thread Vicky
Hi, I am trying to stop the Gallery's fling operation after just one view change. I am able to do it but I used setSelection(getSelectedItemPosition() +1,true) but i am not able to animate. It just changes the view and a new view gets selected. I also tried with the velocity but this approach is

[android-developers] Gallery with folder filter

2010-10-25 Thread FrEaKmAn
Hello I'm using following code to open a gallery inside of my app Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType(image/*); startActivityForResult(intent, FIND_RESULT); Is it possible to limit a list of images to only show images taken by camera? Viewing Gallery on my 2.1

[android-developers] Gallery view problems - external memory

2010-10-10 Thread Stephen Pengilley
Hi all, I have developed a very simple gallery (it started as the hello gallery example) where I have added code to get the images from the content provider. It should return all images from the SD card but it is returning no images, my gallery view is blank. I am a fairly new developer, just

[android-developers] Gallery view

2010-10-01 Thread AnasSamara
Hello all I have multi-listeners on gallery view, first listener is on the image located in the gallery, the second listener is longpress of gallery item, and the third is ontouch event. I use the otouch event in order to drag the image to down, the problem is when I scroll the gallery the

[android-developers] Gallery popup menu

2010-09-07 Thread viktor
Hi, In common Android Gallery you can see nice popup menu, Gallery--- menu(More) or menu (Share). Enyone know how to implement such kind of menu? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Gallery popup menu

2010-09-07 Thread Mark Murphy
On Tue, Sep 7, 2010 at 7:37 AM, viktor victor.scherb...@gmail.com wrote: In common Android Gallery you can see nice popup menu, Gallery--- menu(More) or menu (Share). Enyone know how to implement such kind of menu? I assume you are referring to the context menu you get from long-tapping on an

[android-developers] Gallery Audio bounce effect on seekTo

2010-09-03 Thread RockNCode
Hi. I'm currently working on one issue in Froyo. Basically, the problem is that whenever I tap the progress bar in the Gallery app to do a seek, you can hear an audio frame play two or even three times after repositioning. After some debugging, I found out that this is due to a condition located

[android-developers] gallery initial selection

2010-09-03 Thread Sunil S
Hi, This is newbie question, But I have created a gallery view with an imageswitcher above it. It loads the images and corresponding thumbnails from the image files. When I first start the activity and display the screen, I would like to set the displayed/selected image in the the gallery and

[android-developers] Gallery widget, focus and selection gone?

2010-08-26 Thread Sebastián Treu
Hi there, I'm trying to realize how the focus and selection in the Gallery widget is doing their job. I'm facing weird situations when trying to update information (TextViews and Spinner) upon a selected item in the Gallery. The focus and selection is lost. So, using the resource

[android-developers] Gallery: how to know if it is scrolling?

2010-08-16 Thread skywaltox
Hi, In my application I have a gallery widget and a textview with the picture name. As they are lots of images, they all get a default cover and the images are loaded when an image is selected When the user is scrolling, I want to update the textview but I don't want to load the images ie I can't

[android-developers] Gallery View Null covertView

2010-08-10 Thread SImplyG2010
Good afternoon, Does anyone at Google know when the null return for Gallery view may be resolved? I know it was slated for long ago but didn't make it. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Gallery View Null covertView

2010-08-10 Thread Romain Guy
There is not ETA for now. On Tue, Aug 10, 2010 at 12:10 PM, SImplyG2010 thomas.sheppar...@gmail.com wrote: Good afternoon, Does anyone at Google know when the null return for Gallery view may be resolved? I know it was slated for long ago but didn't make it. -- You received this message

[android-developers] Gallery display issue

2010-07-08 Thread Surfer
Hi, i've created a gallery, using the hello gallery tutorial from here: http://developer.android.com/guide/tutorials/views/hello-gallery.html . It's working fine but i noticed running on an android 1.6 WVGA(800) emulator the gallery is not displayed correctly. Setting layout params to 70, 70 my

[android-developers] Gallery View Customization

2010-06-01 Thread RS.Giridaran
Hi All, i want to customize the Gallery widget like a conveyer belt having icons. Please note that this icons conveyer chain is of circular nature that is if there are 5 icons and user is navigating towards left side so icons which gets disappeared at right side, again appears back on left side

[android-developers] Gallery not Recycling Views

2010-05-27 Thread Aamir Shah
I am using the Hello Gallery code as an example. Views are not being recycled as I scroll left and right. I added log output at the getView method, and I get a constant output of null. Anyone know the reason why? Here is the code: public class HelloGallery extends Activity { @Override

Re: [android-developers] Gallery not Recycling Views

2010-05-27 Thread Romain Guy
This is a known bug (it's not a bug really, we just never had the time to implement recycling in Gallery) but we have no ETA for a fix. On Wed, May 26, 2010 at 8:31 PM, Aamir Shah aamirns...@gmail.com wrote: I am using the Hello Gallery code as an example. Views are not being recycled as I

[android-developers] Gallery elasticity at the ends

2010-05-12 Thread Nik Bhattacharya
Hi all, I use the gallery view extensively as a full screen pagination mechanism. It works really well for me without having to create a brand new control. I would like to add a little elasticity at the ends (much like the iPhone homescreen). How could I go about doing this? Any hint as to

Re: [android-developers] Gallery elasticity at the ends

2010-05-12 Thread Gyan
How about applying animation on the layout that shows this gallery view!! I think you get the animation co-ords from the net for the inertial scroll Gyan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Gallery with Listview

2010-05-07 Thread RANJAN BANIK
Hi, I want a screen which will consist of a gallery on the upper half and a list view in lower half. I dont have any idea how to do it. Please help me with some example. Thanks in advance Ranjan -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Gallery with Listview

2010-05-07 Thread TreKing
On Fri, May 7, 2010 at 5:09 AM, RANJAN BANIK ranjanfeelthema...@gmail.comwrote: I dont have any idea how to do it. Sure you do. You just said I want a screen which will consist of a gallery on the upper half and a list view in lower half. So common sense would dictate that you begin with a

[android-developers] Gallery Application in Eclair / 2.1 problems (Intents)

2010-04-26 Thread Schermpie
Hi there, In Cupcake, when long-pressing a bucket of images in the Gallery application, and selecting Slideshow from the pop-up menu, a VIEW intent would be launched that my application could intercept. The intent contained an extra boolean value set to true; and I was using that boolean value to

[android-developers] Gallery android:unselectedAlpha works strangely

2010-03-27 Thread arnouf
Hi all, I work with a gallery and a BaseAdapter. In my XML file I specified, on my gallery, android:unselectedAlpha. When I select an item (using click or pad) image are moved but they take the alpha defined for (normally) the unselected image. Do you have any idea ? -- You received this

[android-developers] Gallery Documentation

2010-03-19 Thread Deepak Arul
Is there any documentation for Architecture of Gallery application in Android 2.0/2.1 ? -- 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,

[android-developers] Gallery view weird green color

2010-02-09 Thread sleith
Hi, i use Gallery, and don't know why the background color has weird green color on sdk 2.1. It didn't happen on 1.5. Please help. thx -- 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] Gallery positioning first item

2010-02-03 Thread Andr dev
Hello all, This one is quite simple, or should be, but I couldn't figure out how to. So ... I have a Gallery, something like : Gallery android:id=@+id/Gallery01 android:layout_width=fill_parent android:layout_height=wrap_content android:spacing=0sp/Gallery Inside, custom views : first item has

[android-developers] Gallery crashing when scrolling using trackball

2010-02-01 Thread Fred
My app crashes whenever I try to use the trackball while the Gallery has focus. I can scroll by touch events just fine, but the trackball crashes it. I feel like there's something simple I'm overlooking. Anyone that has some insight, please let me know. Thanks, Fred -- You received this

[android-developers] Gallery view not working well

2010-01-27 Thread Manoj
I am facing a problem in scrolling in Gallery view. When i scroll slowly it works fine but when i scroll fast the it shows jerks as it takes time to create objects to display. Can anybody tell how can i implement this in separate thread to load images in gallery so that it would not affect the

[android-developers] Gallery View with Text: Styling

2010-01-16 Thread SurtaX
I currently have a Gallery Widget very similar to Gallery2.java in the API examples. It is a gallery widget populated by a simple adaptor of text. What I am trying to do is make the selected (the item at the center of the gallery widget) text and background a certain color and the other visible

[android-developers] gallery

2010-01-11 Thread tina lincon
Hi, I got 1 doubt in an application using two galleries. Their Adapters are different. I am only drawing gallery and not the pictures in big view.What I want is when I scroll either gallery, the another should also scroll automatically. How can it be done? -- You received this message because

[android-developers] Gallery

2009-12-16 Thread Business Talk
I have a gallery view with a number of views, each of which fills the display. So there on view of the gallery per display. Also each view is filled with selectable buttons. Similar to the calendar where a view of the month fills the entire display. To go to the next/ previous month one must

[android-developers] gallery problem

2009-11-23 Thread tstanly
hi all, I used the gallery widget for photo shows, when I put the photos in the photo directory, there will be some black photos on the gallery when gallery shows, so, did somebody have the same experience? thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] Gallery stays dim??

2009-11-16 Thread racx182
The selected item in my widget Gallery stays dim when I set unselectedAlpha to a value . Do I need to be handling item selection or something? 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] Gallery thumbnail not updating after change of image

2009-08-22 Thread karthikr
Hi Guys, Im trying to write an application that does some changes to the image. But i can see that even after some changes are made to the image the thumbnail of the picture that is displayed in the gallery has not changed. But on opening the image im able ot see the edited picture. Any

[android-developers] Gallery View using images from file (Dynamic vs. Static images)

2009-07-01 Thread Logik
The api demo for gallery uses resource id's to access the drawables in the gallery. I have tried multiple ways to use images from file. My steps... - 1. grab filepaths and save all files as a drawable array - 2. using the same logice in the api demo, I ste the background to the drawable

[android-developers] Gallery in Preference Screen

2009-06-09 Thread Yash Patel
Hi, I want to have gallery widget in preference screen. I have created custom preference with Gallery. I am able to display images but there is couple of problem with it. 1. I want to scale the image which is selected in gallery. i used setOnItemselected listener and it does scale the image but

[android-developers] Gallery tutorial issue

2009-06-01 Thread Ashok Jeevan
Hi, On trying out the 'Gallery' code given in the documentation along with the Android 1.5, an error shows up on the 'android.R.stylable.' line, saying that it cannot be resolved. Is there a way to get around this problem? Thanks, Ashok --~--~-~--~~~---~--~~ You

[android-developers] Gallery usage without using styleable

2009-05-12 Thread lilbyrdie
Hello, I'm trying to find the correct new way to do image Gallery items, previously (as also documented here: http://developer.android.com/guide/tutorials/views/hello-gallery.html and here http://developer.android.com/reference/android/widget/Gallery.html) the correct way was to apply

[android-developers] Gallery Child View Problem

2009-04-13 Thread Alekh
I have created a child class from the Gallery view, named MyGallery. I did this because I wanted to get rid of the onFling event in the gallery view. Having that achieved, it lead me to a different problem. Scrolling the Gallery with the Dpad doesn't work now. When I tried using the original

[android-developers] Gallery pain

2009-03-27 Thread szabolcs
Hello everyone! I have recently been working with the Gallery (SDK1.0_r2) and have found the following 3 issues, the first 2 of which have caused me a fair amount of pain: 1. not having a callback on the 'last item selected' in the gallery during a fling and/or scroll, 2. Gallery layout change

[android-developers] Gallery onScroll() performs multiple activations - normal or Bug?

2009-02-23 Thread gymshoe
I have written a custom class MyGallery which extends Gallery. This enables me to override the onScroll() method of Gallery. Now that I have done this, I have found that onScroll() behaves oddly. When I scroll on the emulator, it activates the onScroll() method multiple times - usually 2-4,

[android-developers] Gallery and setSelection

2009-02-11 Thread Alexey
Hi i have a gallery created from code and it has OnItemSelectedListener . I set selected item from the code by mGallery.setSelection(idx); and expect a callback into my onItemSelected But it't doesn't happen - how i can trigger onItemSelected to get hit from code ? thanks Alex

[android-developers] Gallery child views don't receive key events

2008-12-11 Thread devile...@gmail.com
Is there a way for a gallery child view to receive proper key events. Currently, the gallery will pass press events but not key events. The following code uses an EditView as an example. On any selected EditView you cannot change the text. Also, when I use ViewGroups as the child views the

[android-developers] Gallery missing attribute / method

2008-08-25 Thread android_dev
android.widget.Gallery: What is the equivalent for these in SDK 0.9? android:drawSelectorOnTop or setDrawSelectorOnTop(boolean) android:spinnerSelector or setSelectorSkin(Drawable) Thanks. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] gallery issues

2008-07-21 Thread kingkung
Whoever answers these questions first gets a free gPhone* courtesy of me. 1) My gallery is an element in a list view right now... but once I scroll down to select the gallery in the list, I can't scroll up and down the list anymore (the gallery hijacks the up and down keys). 2) When I implement

[android-developers] gallery question

2008-07-16 Thread kingkung
Hi all, I'm working with the Gallery (which is terrific btw), and I have a simple question. Right now, in order to scroll left and right in the gallery via the keypad, I have to move my cursor down to the gallery before I do anything. I want to make it so that regardless where the cursor is,

[android-developers] Gallery OnItemClicked event issue!

2008-04-09 Thread ColinHo
I'm implementing an application using Gallery obj. I want to allow the user to do something by clicking on a image. I tried to setOnItemClickedListener to handle the user's click action however my listener method seems never respond. I don't know why? Could someone please provide me some hints?