Class of android.widget · RemoteViews.java · Android's reference
public class RemoteViews implements Parcelable, LayoutInflater.Filter, Cloneable
A layout and a list of actions on its views, which apply() runs on a view that it inflates. A parcel holds the package and the layout only: the actions do not cross a parcel, as no other process reads them here.
public static final Parcelable.Creator<RemoteViews> CREATOR sourcepublic RemoteViews(String packageName, int layoutId) sourcepublic RemoteViews(RemoteViews src) sourcepublic RemoteViews(Parcel parcel) sourcepublic void setRemoteAdapter(int viewId, android.content.Intent intent) empty body sourcepublic void setRemoteAdapter(int appWidgetId, int viewId, android.content.Intent intent) empty body deprecated sourcepublic void setRemoteAdapter(int viewId, RemoteCollectionItems items) empty body sourcepublic void setEmptyView(int viewId, int emptyViewId) empty body sourcepublic void setPendingIntentTemplate(int viewId, android.app.PendingIntent pendingIntentTemplate) empty body sourcepublic void setOnClickFillInIntent(int viewId, android.content.Intent fillInIntent) empty body sourcepublic String getPackage() sourcepublic int getLayoutId() sourcepublic RemoteViews clone() deprecated sourcepublic void addView(int viewId, RemoteViews nestedView) sourcepublic void removeAllViews(int viewId) sourcepublic void setViewVisibility(int viewId, int visibility) sourcepublic void setViewPadding(int viewId, int left, int top, int right, int bottom) sourcepublic void setContentDescription(int viewId, CharSequence contentDescription) sourcepublic void setTextViewText(int viewId, CharSequence text) sourcepublic void setTextViewTextSize(int viewId, int units, float size) sourcepublic void setTextColor(int viewId, int color) sourcepublic void setImageViewResource(int viewId, int srcId) sourcepublic void setImageViewBitmap(int viewId, Bitmap bitmap) sourcepublic void setImageViewUri(int viewId, android.net.Uri uri) sourcepublic void setOnClickPendingIntent(int viewId, PendingIntent pendingIntent) sourcepublic void setChronometerCountDown(int viewId, boolean isCountDown) sourcepublic void setBoolean(int viewId, String methodName, boolean value) sourcepublic void setInt(int viewId, String methodName, int value) sourcepublic void setLong(int viewId, String methodName, long value) sourcepublic void setFloat(int viewId, String methodName, float value) sourcepublic void setString(int viewId, String methodName, String value) sourcepublic void setCharSequence(int viewId, String methodName, CharSequence value) sourcepublic View apply(Context context, ViewGroup parent) sourceInflates the layout in the parent and runs the actions on it, in their order.
public void reapply(Context context, View v) sourcepublic boolean onLoadClass(Class clazz) sourcepublic int describeContents() sourcepublic void writeToParcel(Parcel dest, int flags) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.