Как преобразовать вид в растровое изображение?

У меня есть два вида (Text View и ImageView) в FrameLayout, я хочу сохранить изображение с текстом. Для этого я скрываю изображение в виде растрового изображения.

Мой xml это:

<FrameLayout 
     android:id="@+id/framelayout"
     android:layout_marginTop="30dip"
     android:layout_height="fill_parent" 
     android:layout_width="fill_parent">

     <ImageView 
          android:id="@+id/ImageView01"
          android:layout_height="wrap_content" 
          android:layout_width="wrap_content"/>

    <TextView android:id="@+id/text_view"
          android:layout_marginTop="30dip"
          android:layout_width="wrap_content" 
          android:maxLines="20"
          android:scrollbars="vertical"
          android:layout_height="wrap_content"/>

</FrameLayout>
34
задан Fantômas 6 December 2016 в 12:06
поделиться