title: Add LinearLayout with dynamic TextViews to RemoteView for widget
body: <p>I have tried so much to add a linearlayout(xml defined) with some dynamic textviews(runtime) to RemoteView.</p>
  
  <p>I defined the linearlayout in my xml layout like:</p>
  
  <p>calendarlayout.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/layoutClickable"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="@drawable/myshape"
  android:padding="4dp" &gt;
  
  &lt;LinearLayout
      android:id="@+id/layoutParentView"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_centerVertical="true"
      android:layout_marginLeft="70dp"
      android:orientation="vertical"
      android:padding="4dp" &gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>And tried to use it in my remoteview with some dynamic textviews.</p>
  
  <pre><code>RemoteViews remoteViews = new RemoteViews(context
              .getApplicationContext().getPackageName(), R.layout.calendarlayout);
  for(int i=0; i&lt;event_row_counter; i++ ){
  CalendarEvent mCalendarEvent = new CalendarEvent();
  mCalendarEvent = CALENDAR_EVENTS.get(i);    
  TextView mTextView = new TextView(context);
  mTextView.setId(i);
  
  RemoteViews textRemoteView = new 
  RemoteViews(context.getApplicationContext().getPackageName(), R.layout.calendarlayout);
  remoteViews.setTextViewText(mTextView.getId(), mCalendarEvent.getFormatedTime()+" "+mCalendarEvent.getTitle());
  remoteViews.addView(R.layout.calendarlayout, textRemoteView);          
  }
  </code></pre>
  
  <p>I know my process is fully wrong, but I unable to found any way to add the linearlayout with dynamic textviews into the remoteview yet.</p>
  
  <p>Suggestions are mostly appreciated.</p>