Tuesday, March 29, 2011

[android-developers] Creating a Custom Expanded View in Code

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?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate