diff options
| author | Scott Main <smain@google.com> | 2017-11-20 18:16:01 -0800 |
|---|---|---|
| committer | Scott Main <smain@google.com> | 2017-11-21 02:21:45 +0000 |
| commit | 5b7903cde09bcfbbecfc00e755adbbf98fdbfae6 (patch) | |
| tree | 2ad016157bbed577155e6c7b7e3e294ce1751813 /core/java/android/widget/RemoteViews.java | |
| parent | 158a8e035baa76a79f8f64f75d7e15f5cc362f31 (diff) | |
add list of supported views to RemoteViews docs
Found by searching for all framework views with the @RemoteViews
annotation
Change-Id: I60e24676014a8ee2f5df0bac87349dad7d92081d
Diffstat (limited to 'core/java/android/widget/RemoteViews.java')
| -rw-r--r-- | core/java/android/widget/RemoteViews.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/java/android/widget/RemoteViews.java b/core/java/android/widget/RemoteViews.java index e330916130dd..a2c55b091860 100644 --- a/core/java/android/widget/RemoteViews.java +++ b/core/java/android/widget/RemoteViews.java @@ -90,6 +90,31 @@ import java.util.concurrent.Executor; * another process. The hierarchy is inflated from a layout resource * file, and this class provides some basic operations for modifying * the content of the inflated hierarchy. + * + * <p>{@code RemoteViews} is limited to support for the following layouts:</p> + * <ul> + * <li>{@link android.widget.AdapterViewFlipper}</li> + * <li>{@link android.widget.FrameLayout}</li> + * <li>{@link android.widget.GridLayout}</li> + * <li>{@link android.widget.GridView}</li> + * <li>{@link android.widget.LinearLayout}</li> + * <li>{@link android.widget.ListView}</li> + * <li>{@link android.widget.RelativeLayout}</li> + * <li>{@link android.widget.StackView}</li> + * <li>{@link android.widget.ViewFlipper}</li> + * </ul> + * <p>And the following widgets:</p> + * <ul> + * <li>{@link android.widget.AnalogClock}</li> + * <li>{@link android.widget.Button}</li> + * <li>{@link android.widget.Chronometer}</li> + * <li>{@link android.widget.ImageButton}</li> + * <li>{@link android.widget.ImageView}</li> + * <li>{@link android.widget.ProgressBar}</li> + * <li>{@link android.widget.TextClock}</li> + * <li>{@link android.widget.TextView}</li> + * </ul> + * <p>Descendants of these classes are not supported.</p> */ public class RemoteViews implements Parcelable, Filter { |
