My application has a textview and an ImageView , I want to save both as a single Image file to the device storage
My layouts :
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="300dp"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:src="@drawable/second_splash" />
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/imageView1"
android:layout_centerHorizontal="true"
android:gravity="center"
android:text="Top Text"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textSize="35sp"
android:textStyle="bold"
android:shadowColor="@color/butbg"
android:shadowRadius="20"
/>
How can I perform this efficiently ?