[android-developers] Re: Problem while creating a custom UI

2011-02-24 Thread fernando
And double check if the package matches. You didn't include the source code about the widget package On Feb 23, 9:55 pm, TreKing treking...@gmail.com wrote: On Mon, Feb 21, 2011 at 6:31 AM, Alok Nath nath.a...@gmail.com wrote:  java.lang.RuntimeException: Unable to start activity

[android-developers] Re: Problem while creating a custom UI

2011-02-24 Thread Dale Wilson
On Feb 22, 10:24 pm, Bilthon bilt...@gmail.com wrote: If what you want is inflate a view from XML, you should try something like: public class BoardActivity extends Activity{     public void onCreate(Bundle savedInstanceState) {        

[android-developers] Re: Problem while creating a custom UI

2011-02-24 Thread Duskox
In your board.xml I think there is an error, but I might be wrong as I am new, but still.. when you define LinearLayout you end it with / insted ending it with just without slash since it is open and you are ending it with /LinearLayout a few lines down. Maybe that is the problem? On Feb 21,

[android-developers] Re: Problem while creating a custom UI

2011-02-22 Thread Bilthon
If what you want is inflate a view from XML, you should try something like: public class BoardActivity extends Activity{ public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState) Board