How to Snap a picture of a Layouts contents?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

How to Snap a picture of a Layouts contents?

Postby medicalfix » Thu Apr 30, 2009 5:39 pm

Hi,

I need to somehow get a drawable of the content of a Layout, once I get that "drawable" I want to set it as a background on an empty layout....

How can I go about doing this?

Thanks!
Moto!
medicalfix
Junior Developer
Junior Developer
 
Posts: 17
Joined: Sat Nov 01, 2008 9:55 pm

Top

Postby medicalfix » Fri May 01, 2009 2:07 pm

I'm assuming this isn't possible? or just too obvious...?
Helppppp? ^.^
medicalfix
Junior Developer
Junior Developer
 
Posts: 17
Joined: Sat Nov 01, 2008 9:55 pm

Postby wiederke » Mon May 04, 2009 1:40 pm

Hi,

use the setBackground method of the android.view.View class.

http://developer.android.com/reference/ ... source(int)


Cheers,

Torsten
wiederke
Experienced Developer
Experienced Developer
 
Posts: 72
Joined: Mon Mar 02, 2009 6:46 pm
Location: Germany

Postby ioRek » Fri Jul 03, 2009 2:56 pm

can you be more explicit ?
ioRek
Freshman
Freshman
 
Posts: 9
Joined: Mon Jun 22, 2009 3:10 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google Feedfetcher and 5 guests