Creating a Custom Expanded View in Code

by roberto » Wed, 30 Mar 2011 02:08:32 GMT


Sponsored Links
 I'm coding an SDK and I want to use a custom expanded view for the
notification area.
Is it possible to do that in Java code, without any reference to any
Resource? (This is because resources cannot be included in an SDK)

A RemoteView is usually created like this:

RemoteViews contentView = new RemoteViews(getPackageName(),
R.layout.custom_notification_layout);

Can I create a RemoteView from I layout that I create with Java code?
Any other solutions?

-- 



Other Threads

1. How to make lights.goldfish.so from source?

Anyone know how to make lights.goldfish.so from source?
I can't find it in cupcake and master build, even in the goldfish
kernel.
Ming-
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. ListView Doubt : Listen to clicks inside a ListView Item

u shd use d setonclicklistener for each view in ur adapter.... n if u hv 2
fields, its best 2 use tablerow...

On Fri, Jun 19, 2009 at 10:28 AM, Dexter's Brain





-- 
Regards,
Sujay
Rodney 
Dangerfield<http://www.brainyquote.com/quotes/authors/r/rodney_dangerfield.html>
- "What a dog I got, his favorite bone is in my arm."

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

3. How to save the "view" to "image file" ?

4. How to create an Eclipse Project for Apps-For-Android

5. Can an Activity find out where it started from?

6. Why no PMEM_FREE in pmem_ioctl?

7. id of the long pressed item in list activity