tiling nine patch (instead of stretching)

by Christophe » Mon, 20 Sep 2010 23:30:12 GMT


Sponsored Links
 hello,

is it possible to draw a 9-patch that tile its border instead of
stretching it ?

regards,
Christophe

--



tiling nine patch (instead of stretching)

by Dianne Hackborn » Tue, 21 Sep 2010 01:21:38 GMT


 Sorry, that's not currently supported.

On Mon, Sep 20, 2010 at 8:30 AM, Christophe <



>


Sponsored Links


Other Threads

1. help with rawQuery statement

Hi,
I have a very simple statement like below

return conn.rawQuery("select date, sum(amount) from entries where
(date>='"+start+"' and date<='"+end+"') group by date",null);

This statement works flawlessly in sqlite3 command line. However, it
returns nothing if I use it within rawQuery method. Is it a bug or I
am misusing rawQuery? Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. Launch date/time settings from widget

Hi

I'm trying to open the date/time settings in responds to a click event
in an app widget.
My code looks like this:

        Intent AlarmClockIntent = new Intent
(android.provider.Settings.ACTION_DATE_SETTINGS);
        AlarmClockIntent.addCategory(Intent.CATEGORY_LAUNCHER);

        PendingIntent pendingIntent = PendingIntent.getActivity(context,
0, AlarmClockIntent, 0);
        views.setOnClickPendingIntent(R.id.clockimage, pendingIntent);


Unfortunately it doesn't work. But I have no problems opening the
general settings with the almost identical code shown below:

        Intent AlarmClockIntent = new Intent
(android.provider.Settings.ACTION_SETTINGS);
        AlarmClockIntent.addCategory(Intent.CATEGORY_LAUNCHER);

        PendingIntent pendingIntent = PendingIntent.getActivity(context,
0, AlarmClockIntent, 0);
        views.setOnClickPendingIntent(R.id.clockimage, pendingIntent);

I would be happy if somebody could help me out and tell what i'm doing
wrong :-)
Thanks in advanced


Best Regards,
Martin

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

3. How to properly use PreferenceActivity.addPreferencesFromIntent(Intent)

4. Accelerometer: Fixed Sample Rate Requirements

5. How to display list of images in ListView in android?

6. Mobile Developer Roles in Toronto

7. Using custom collection of words to be used as SoftKeyboard candidates