title: Can I set a custom attribute on an android layout include tag?
body: <p>I'm trying to set a custom attribute on an include tag for a layout whose root is a custom view:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:archxs="http://schemas.android.com/apk/res/com.archxs.bincalc"
      android:id="@+id/calculatorRowMenuAnchor" 
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:gravity="center_vertical"
      android:visibility="gone"&gt;
  
      &lt;include android:id="@+id/calculatorrowmenu_result_running"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               archxs:isRunningResult="true"
               layout="@layout/single_line_result" /&gt;
  ...
  </code></pre>
  
  <p>includes:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;com.archxs.bincalc.SmallIntegerResultView
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:gravity="center_vertical"
      android:orientation="horizontal"
      android:clickable="true"&gt;
  ...
  &lt;/com.archxs.bincalc.SmallIntegerResultView&gt;
  </code></pre>
  
  <p>but the custom attribute is not set:</p>
  
  <pre><code>public SmallIntegerResultView(Context context, AttributeSet attrs) {
      super(context,attrs);
      final TypedArray styled = context.obtainStyledAttributes(attrs, R.styleable.ResultView);
      try {
          m_isRunningResult = styled.getBoolean(R.styleable.ResultView_isRunningResult, false);
      } finally {
          styled.recycle();
      }
  }
  </code></pre>
  
  <p>Should this work? If not why? If yes what am I doing wrong?</p>
  
  <p>Thanks all?</p>