ADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator.

SDK Bug 1588698

Change-Id: I47321a0e21a0761d20ed5e61a1a1db1024a141c5
This commit is contained in:
Raphael
2010-03-06 10:09:54 -08:00
parent 4c2d7b5198
commit 30df237f19

View File

@@ -16,6 +16,7 @@
package android.webkit;
import android.annotation.Widget;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
@@ -207,6 +208,7 @@ import junit.framework.Assert;
* changes, and then just leave the WebView alone. It'll automatically
* re-orient itself as appropriate.</p>
*/
@Widget
public class WebView extends AbsoluteLayout
implements ViewTreeObserver.OnGlobalFocusChangeListener,
ViewGroup.OnHierarchyChangeListener {