Hi I was wondering if I could get some assistance with how to achieve the same layout of this screen:
So, when I use this code :
send.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Canvas canvas = new Canvas(bitmap);
TextView1.setDrawingCacheEnabled(true);
TextView2.setDrawingCacheEnabled(true);
TextViewInfo1.setDrawingCacheEnabled(true);
TextViewInfo2.setDrawingCacheEnabled(true);
canvas.drawBitmap(TextViewInfo1.getDrawingCache(), 0, 100, null);
canvas.drawBitmap(TextViewInfo2.getDrawingCache(), 0, 100, null);
canvas.drawBitmap(TextView1.getDrawingCache(), 50, 200, null);
canvas.drawBitmap(TextView2.getDrawingCache(), 500, 200, null);
picFrame.setImageBitmap(bitmap);
I would like to have the same layout only this will print it onto the image. Here is my attempt as you can see is well off:
Can someone help!
EDIT WHAT I AM TRYING TO ACHIEVE:
I Have built an activity and xml as seen in Target Image. The purpose of this is that the user enters the detail work order number and the image number. This data is then stored in the textviews above the image. The business would like to save the textviews along the top WITH the image as one file. Almost as if the textviews are layered at the top of the image. Although, to send this it must be a file such as bitmap.