Sorry for using laymans terms here but let me make you clear what i want to achieve:
I have this object in my Relative Layout,
<com.github.mikephil.charting.charts.PieChart
android:id="@+id/piechart"
android:layout_width="match_parent"
android:visibility="visible"
android:layout_marginTop="16dp"
android:layout_below="@+id/editText3"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_height="425dp" />
which is a generated PieChart
, but i believe it could be any other object like for example a image view
for my matter.
This thing is filled with data by the user in my Android Application and i want to allow the user to share this object as a .png
via facebook, google, whatsapp or anything else, even save it to the device.
I firmly believe that there has to be a way for me to do this, and i've heard of things like bitmaps before but i've not entirely understood yet. Thank you for your patience reading this question.