I have a layout like :
<ll vertical>
<ll horizental>
<textview></textview>
<textview></textview>
</ll>
<ll horizental>
<textview></textview>
<textview></textview>
</ll>
</ll>
The problem is i need to display this as part of my whole screen.
i am doing
mCustomDrawableView = new CustomDrawableView((Context)this, R.drawable.mychart);
setContentView(mCustomDrawableView);
and on ondraw of my custom view i am drawing the bitmaps etc.
The problem is how can I make above layout into a ibitmap, so that I can draw it in this custom drawing ?
I need to do this because in the layout, one TextView
will have right aligned text which is difficult to do in custom drawing.