Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>first you create your widget layout xml file..</p> <p>example :: i create widget_layout.xml</p> <p>` </p> <pre><code>&lt;RelativeLayout android:id="@+id/relativeLayout2" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="1dp" android:layout_marginRight="1dp" android:layout_marginTop="1dp" &gt; &lt;TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:gravity="center_horizontal" android:text="Title" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="@color/white" android:typeface="serif" /&gt; &lt;/RelativeLayout&gt; &lt;LinearLayout android:id="@+id/layout" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginBottom="1dp" android:layout_marginLeft="1dp" android:layout_marginRight="1dp" android:orientation="vertical" &gt; &lt;TextView android:id="@+id/update" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_below="@+id/relativeLayout2" android:gravity="center" android:text="" android:textAppearance="?android:attr/textAppearanceSmall" android:textColor="@color/black" android:typeface="serif" /&gt; &lt;/LinearLayout&gt; </code></pre> <p>`</p> <p>after add in callernator_widget_provider_info.xml...</p> <p>android:initialLayout="@layout/widget_layout"</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload