[android-developers] Re: ListSelector - Not Use or Make More Customised

2012-03-04 Thread Gaunt Face
I ended up approaching this problem a different way noted here: http://www.gauntface.co.uk/blog/2012/03/04/android-listview-with-rounded-corners-and-highlighting/ On Friday, 26 February 2010 22:29:31 UTC, Gaunt Face wrote: > > I've just found the following in the do

[android-developers] Re: nine patch image clipped along the borders

2011-04-07 Thread Gaunt Face
I'm having this exact same issue and have never had this problem (from 1.5 onwards) On Feb 22, 1:55 pm, rahul titare wrote: > Hello, > I have aninepatchimage. Everything works fine i.e. > draw9patch,selector etc > But when actually seeing in device, the border of the background looks > clipped fr

[android-developers] Re: Reusable Android library packaging: interest?

2010-03-29 Thread Gaunt Face
This is a pretty interesting idea. It's hard to think of where this would be useful, but I can imagine some people finding a use for it, but you could spend a great deal of time trying to develop and maintain this and it would have slow take- up, only after some fairly common "parcels" start to ge

[android-developers] Re: ListSelector - Not Use or Make More Customised

2010-02-26 Thread Gaunt Face
I've just found the following in the documentation: android:state_first android:state_last android:state_single These seem like all I need, however they don't seem to apply to the list selector, does anyone have any idea if it's possible? Cheers, Matt On Feb 26, 9:11 pm, Ga

[android-developers] Re: Regarding intents

2010-02-26 Thread Gaunt Face
To launch a new activity you should be using code something like this: Intent intent = new Intent(getApplicationContext(), ClassNameHere.class); startActivity(intent); Then you also need to add your Activity to the AndroidManifest.xml file, if your using eclipse you can open the AndroidManifest f

[android-developers] Re: Create AlertDialog from Runnable()

2010-02-26 Thread Gaunt Face
What I think might be a more appropriate way of achieving this, is sending a message from the runnable through the Handler to the main UI thread to then launch the dialog. I think the reason your getting the message in Eclipse is that Dialogs are closely tied with the Activities that launch them (

[android-developers] Re: SweepGradient and Banding

2010-02-26 Thread Gaunt Face
Heya Shane, I've had a similar problem with gradients applied to backgrounds, what I found the issue was, was I had didn't have the drawables in the correct dpi folder. While I know your not using a drawable it might be worth looking into whether changing the AndroidManifest file to state your ap

[android-developers] Re: Image effectsef

2010-02-26 Thread Gaunt Face
You've left this as a particularly broad question. Try finding a way of getting access to the pixel values and then ad the text on type by changing pixels values to that of the text. OR you could try and get access to the Bitmaps Canvas and then in the onDraw part of the canvas add any drawables

[android-developers] Re: Is this properly using a runnable?

2010-02-26 Thread Gaunt Face
are you updating the UI at all in the thread? From that code, everything should be done in the background and therefore leave the main UI happy, if however you are updating the UI, either the update is taking to long outside of the thread or your updating it so often that it is locking up the UI.

[android-developers] Re: what are 9-patch bad patches?

2010-02-26 Thread Gaunt Face
Is there any possibility of seeing an example image? I don't think the graphics actually affect the 9-patch png from working, the only thing that matters if that you stretch in both directions, I don't think you can stretch in the x axis and not the y. I have also found from experience it is quite

[android-developers] Re: Google Maps

2010-02-26 Thread Gaunt Face
Julian, this is really 2 questions. 1. The majority of phones that I am aware of have GPS built in, but it isn't the case that all phones will have GPS, however I think if you require access to fine_location in your AndroidManifest file, the app will only be able to be installed on devices with in

[android-developers] Re: help on graphics from newbie

2010-02-26 Thread Gaunt Face
What I think you need to do is set up a Handler between the main activity and your background thread('s). Basically a Handler is a way to communicate between the main UI thread and background threads, this way anything that must be done on the UI event can be achieved by sending a message from the

[android-developers] ListSelector - Not Use or Make More Customised

2010-02-26 Thread Gaunt Face
Heya everyone, This is a bit of an odd one and I'm hoping someone will be able to help me out so I don't have to be done away with the focusing. 2 different cases. Case 1: I have a list of elements and the user can click on the items view and perform tasks. I'm happy using xml to define the dra

[android-developers] MapView Overlays Containing Widgets/View

2009-12-30 Thread Gaunt Face
Heya everyone, I've been searching for this for quite a while and never come across a way to do it. In the Google Maps App, when you search for directions, there are overlays with buttons in them, and I want a similar thing, a marker with an image, text and button inside. I've implement ItemizedO