[android-developers] Two Newbie Questions

2011-08-01 Thread Giggybyte
1.) Is there a way to make a button load another layout XML by
android:onClick in XML?
2.) In my other XML, I have a WebView that fills the screen. How can I
set the homepage for this WebView?

Thanks for the help.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Two Newbie Questions

2011-08-01 Thread TreKing
On Sun, Jul 31, 2011 at 2:04 PM, Giggybyte dustin-dusty1...@hotmail.comwrote:

 1.) Is there a way to make a button load another layout XML
 by android:onClick in XML?


Sure - implement an onClick function and add the code to load another XML
resource in that function.


 2.) In my other XML, I have a WebView that fills the screen. How can I set
 the homepage for this WebView?


WebView does not have a homepage.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en