Change button style

by Abhi » Tue, 15 Dec 2009 23:22:25 GMT

Sponsored Links

I want to put a triangular shaped button in my app. I have the button
image (.png) but don't know how to use this as my button. I don't want
to use an ImageButton as I don't want to have a rectangular box behind
this image.

Can anyone help?




Change button style

by TreKing » Tue, 15 Dec 2009 23:40:31 GMT

 Then just use an ImageView.

TreKing - Chicago transit tracking app for Android-powered devices 


Sponsored Links

Other Threads

1. Android New Platform API


Can anyone tell as how to add new platform API in Android ?

I tried the vendor/sample/PlatformLibrary example, I am able to build it and
got the sdk add on. But when I create AVD with this AddOn, the emulator
starts and shows a blank screen.

Can anyone please suggest me how to rectify this and what causes this error?



2. App breaks for some users after they update from the Market

I'm curious to see how many of you are seeing this issue. I've looked
through the group, on and the Market "Help" Forum and not
found anything related.

I released an update to my app over the weekend and have since fielded a ton
of emails that ultimately result in the same conclusion - the update process
breaks the app for a small set of users. When I instruct them to uninstall
and reinstall the app, everything works perfectly as expected. This has been
the case EVERY SINGLE TIME (just got two more confirmations that this fixed
their problems as I was writing this).

The symptoms are generally the same: random force closes either on start up
or in other areas of the app after the user updates the app from the Market.
 One time the issue was that the app would apparently no longer connect to
the internet, again fixed by uninstall->reinstall. This seems to
pre{*filter*}ly effect the paid version of the app, though it happens to the
free one as well.

Some people have sent reports to the Dev Console but some don't make sense
(like a NullPointer for something I'm fairly positive is always set) and
this one that seems impossible:


That's right - my app, which requires the Google Maps addon and should not
be allowed to install on devices without it, apparently crashed for someone
because it could not find a maps library class. What the .. ?

This is not the first time this has happened - it always occurs to a few
people after each update. In fact I've been showing a dialog on update that
specifically tells users to try to reinstall if they're having issues for
this reason, so the problem is probably more widespread but I'm not hearing
about it.  But this time it's gotten fairly ridiculous. This might be a
symptom of a larger user base since the last update was over two months ago,
or it's an indication the problem is getting worse, I'm not sure.

The fact that an uninstall->reinstall always fixes the problem is a pretty
clear indication that there's a problem with the update process. Something
along the lines is apparently botching the APK somehow.

So are other people experiencing the same problem? Given the number of "new
update force closes" comments I see on other apps, I'm assuming I'm not
alone here.

Any one know if this is an issue with the Android system itself or the
offense to software engineering known as the Android Market that's at fault?
I wouldn't be surprised if it's the Market since I redeploy ("update") the
app constantly while developing and never run into this kind of issue - it's
only users updating from the Market that have a problem.

Any ideas on what is going wrong and / or what to do to fix or otherwise
work around this issue?

I've been fortunate so far that this has only resulted in one 1-Star "New
update sucks, force closes" comment in each version (I've been training my
users that's not a good way to get help) but am now cringing at the thought
of having to deal with this at an increasing scale each and every time I
update (which is about once a month, usually).

There has to be something I can do about this. Thoughts?

TreKing < http://www.***.com/ ; - Chicago
transit tracking app for Android-powered devices


3. How to get contacts detail on android 2.2 ?

4. The first application

5. How to realize software auto ve rsion updateé”›

6. Detecting Forwarded Calls

7. Freelance Android Projects