Custom views are not allowed for security reasons.

On Sun, May 24, 2009 at 11:19 AM, [email protected] <[email protected]> wrote:
>
> at first, i create a custom View class BlablaView
>
> ====BlablaView.java===
> Package com.custom.bla;
>
> import ....
> public class BlablaView {
>    .... ....
> }
> ==================
>
> and then create a layout xml file ...
> it's quite simple...
> ----------bla.xml--------
> <?xml version="1.0" encoding="utf-8"?>
> <com.custom.bla.BlablaView
>    xmlns:android="http://schemas.android.com/apk/res/android";
>    android:layout_width="fill_parent"
>    android:layout_height="fill_parent" />
> -----------------------------
>
> but when i use this layout as a initial layout of a AppWidget,
> the home screen shows a TextView saying "problem loading widget"
>
> so i'm just wondering if it possible to do this...
> am i missing something ?
>
> thank you ...
>
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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

Reply via email to