title: How to set AttributeSet in a function
body: <p>I have the following code..</p>
  
  <pre><code>public LabelView(Context context, AttributeSet attrs) {
      super(context, attrs);
      initLabelView();
  </code></pre>
  
  <p>how can i set the value of AtributeSet and pass it the constructor from other activity..</p>