How to create a Custom Clickable Area "Non-Standard Square" ?

by Moto » Mon, 16 Mar 2009 04:29:03 GMT


Sponsored Links
 Hi,
I'm currently trying to create a custom clickable button... The shapes
of the buttons are not your standard type.  They are circle and a
rotated rectagle button....

How do I go about this? is there a simple way?  also how could I
rotate a button?

Thanks,
Moto!
--~--~---------~--~----~------------~-------~--~----~



How to create a Custom Clickable Area "Non-Standard Square" ?

by Moto » Mon, 16 Mar 2009 20:59:24 GMT


 Anyone!?
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. New activity move in and out animation

Hi!

How do you set in the styles that on activity load the new window
moves in from right and when you finish the activity it fades out or
moves right?

My style has defined this way:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="CalculatorTheme">
        <item name="android:windowBackground">@drawable/back_loader</
item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:icon">@drawable/icon</item>
        <item name="android:textColor">@color/DefaultText</item>
    </style>
</resources>

And activities are started using:

Intent i = new Intent(this, scicalc.class);
startSubActivity(i,1);


I can't find the parameter for setting this thing!

Thanks in advance

Jack
--~--~---------~--~----~------------~-------~--~----~

2. intent-filter match on android:path ?

Any idea why this:

  <application>
    <receiver android:name=".Foobar">

      <intent-filter>
        <action android:name="android.intent.action.VIEW"/>
        <data android:scheme="content" />
        <data android:path="/im/messagesBy/.*" />
      .....

Isn't matching on messages like this:

Intent { action=android.intent.action.VIEW
data=content://im/messagesBy/1/1/serverwitness%40gmail.com
launchFlags=4 extras=Bundle[{accountId=1,
[EMAIL PROTECTED]/D2530546, providerId=1}] }

Thanks,
-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/

--~--~---------~--~----~------------~-------~--~----~

3. Use AlertDialog inside a service.

4. How to use a (virtual) COM (Serial) Port with Android?

5. getAuthToken method cannot find

6. Any generic logic for intent identification to be used by existing applications

7. Extracting interface address of android emulator