how to code finish remoteViews
<p>i want to use remoteViews in the notification,i  know i can use </p>

<pre><code>    RemoteViews views = newRemoteViews(context.getPackageName(),R.layout.widget_layout);
</code></pre>

<p>but the layout.widget_layout is a xml is in the layout folder,i want to write code  replace the xml,but it is  the id of layout ,not a id of view,i cannot use</p>

<pre><code> LinearLayout li =new LinearLayout(c);
 li.setId(22);...... effect use code
</code></pre>

<p>how to finished it</p>
