I have a small xml file called 'xmlview.xml' which is something like:

```
<tablelayout>
   <tablerow>
      <view id="view1" />

```

I created a class which extends view, and I inflated that xml file and now i have a view obtained due to inflation.

```
xmlView = layoutInflater.inflate(R.layout.xmlview, this);

```

I am wondering is there a way to draw on the view 'view1' inside the view 'xmlview'

I tried something like:

```
View view1 = (View)xmlview.findById(R.Id.view1);

```

and then I tried in the overriden onDraw to draw on view1 but nothing worked,

any ideas ??