Monday, September 19, 2016

take a screenshot of a nested RelativeLayout

I hope that I posted this thread correctly... :D
It's my first android app and I am using android studio. I want to get a screenshot of a specifi area.
My xml is in this format:
<LinearLayout>
<RelativeLayout>
<RelativeLayout>
<TextView />
<TextView/>
</RelativeLayout>
</RelativeLayout>
</LinearLayout>

The two textviews are overlapping. The one holds an image (with transparency) and the other one, a background color and a text (this is why I have them on a single RelativeLayout and overlapping). I want to get a screenshot of this RelativeLayout. Any help please? Nothing of what I have used worked.


from xda-developers http://ift.tt/2chuOWZ
via IFTTT

No comments:

Post a Comment