google-code-export / droiddraw

Automatically exported from code.google.com/p/droiddraw
1 stars 1 forks source link

ParseActivity code simplified by adding View #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 
  You can simplify the ParseActivity.java code by adding View .So that 
widgets that are subclass of View  and having xml attributes of View class 
can written in the View as follows...

if (_result instanceof View) {

    View v = (View)_result;
      String _visibility = findAttribute(_attributes, 
"android:visibility");
      if(_visibility != null){

    v.setVisibility(addVisibility(_visibility));
     }
}

Thanks...           

Original issue reported on code.google.com by sujit.an...@gmail.com on 21 May 2010 at 10:11

GoogleCodeExporter commented 9 years ago
This is now fixed in SVN (for some properties, anyway...)

Original comment by brendan....@gmail.com on 1 Jan 2012 at 9:53