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
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
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
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
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
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 (
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
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
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.
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
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
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
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
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
14 matches
Mail list logo