[android-developers] Re: Background setting problem
ok, which view you wannt to add backgrould, try setbackground 2008/12/16 diya blore diya.bl...@gmail.com Hi All, i wan to set image as background through my project.. ?how can it be achieved? Guide me.. -- Thank's in adv. Diya :) -- Best Regards Eric Chan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Background setting problem
Its like theme.. it must be through project.. i had set in AbsoluteLayout absLayout = *new* AbsoluteLayout(MainActivity.* activityinstance*); MainActivity.*activityinstance*.setContentView(absLayout); absLayout.setBackgroundResource(R.drawable.*background*); this my code.. it work for first two pages...in 3 page in using linearlayout.. in that pages.. it take white default as background.. how should i carry that theme through my project... On Tue, Dec 16, 2008 at 3:41 AM, Eric Chan jude...@gmail.com wrote: ok, which view you wannt to add backgrould, try setbackground 2008/12/16 diya blore diya.bl...@gmail.com Hi All, i wan to set image as background through my project.. ?how can it be achieved? Guide me.. -- Thank's in adv. Diya :) -- Best Regards Eric Chan -- Thank's in adv. Diya :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Background setting problem
you can overrite theme setbackground, overrite layout, and use the new layout for you project 2008/12/16 diya blore diya.bl...@gmail.com Its like theme.. it must be through project.. i had set in AbsoluteLayout absLayout = *new* AbsoluteLayout(MainActivity.*activityinstance*); MainActivity. *activityinstance*.setContentView(absLayout); absLayout.setBackgroundResource(R.drawable.*background*); this my code.. it work for first two pages...in 3 page in using linearlayout.. in that pages.. it take white default as background.. how should i carry that theme through my project... On Tue, Dec 16, 2008 at 3:41 AM, Eric Chan jude...@gmail.com wrote: ok, which view you wannt to add backgrould, try setbackground 2008/12/16 diya blore diya.bl...@gmail.com Hi All, i wan to set image as background through my project.. ?how can it be achieved? Guide me.. -- Thank's in adv. Diya :) -- Best Regards Eric Chan -- Thank's in adv. Diya :) -- Best Regards Eric Chan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Background setting problem
is there any apis for setting themes? On Tue, Dec 16, 2008 at 3:59 AM, Eric Chan jude...@gmail.com wrote: you can overrite theme setbackground, overrite layout, and use the new layout for you project 2008/12/16 diya blore diya.bl...@gmail.com Its like theme.. it must be through project.. i had set in AbsoluteLayout absLayout = *new* AbsoluteLayout(MainActivity.*activityinstance*); MainActivity. *activityinstance*.setContentView(absLayout); absLayout.setBackgroundResource(R.drawable.*background*); this my code.. it work for first two pages...in 3 page in using linearlayout.. in that pages.. it take white default as background.. how should i carry that theme through my project... On Tue, Dec 16, 2008 at 3:41 AM, Eric Chan jude...@gmail.com wrote: ok, which view you wannt to add backgrould, try setbackground 2008/12/16 diya blore diya.bl...@gmail.com Hi All, i wan to set image as background through my project.. ?how can it be achieved? Guide me.. -- Thank's in adv. Diya :) -- Best Regards Eric Chan -- Thank's in adv. Diya :) -- Best Regards Eric Chan -- Thank's in adv. Diya :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Background setting problem
you can overrite theme setbackground, overrite layout, and use the new layout for you project ? can u explain bit brifely? On Tue, Dec 16, 2008 at 4:02 AM, diya blore diya.bl...@gmail.com wrote: is there any apis for setting themes? On Tue, Dec 16, 2008 at 3:59 AM, Eric Chan jude...@gmail.com wrote: you can overrite theme setbackground, overrite layout, and use the new layout for you project 2008/12/16 diya blore diya.bl...@gmail.com Its like theme.. it must be through project.. i had set in AbsoluteLayout absLayout = *new* AbsoluteLayout(MainActivity.*activityinstance*); MainActivity. *activityinstance*.setContentView(absLayout); absLayout.setBackgroundResource(R.drawable.*background*); this my code.. it work for first two pages...in 3 page in using linearlayout.. in that pages.. it take white default as background.. how should i carry that theme through my project... On Tue, Dec 16, 2008 at 3:41 AM, Eric Chan jude...@gmail.com wrote: ok, which view you wannt to add backgrould, try setbackground 2008/12/16 diya blore diya.bl...@gmail.com Hi All, i wan to set image as background through my project.. ?how can it be achieved? Guide me.. -- Thank's in adv. Diya :) -- Best Regards Eric Chan -- Thank's in adv. Diya :) -- Best Regards Eric Chan -- Thank's in adv. Diya :) -- Thank's in adv. Diya :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Background setting problem
http://code.google.com/android/reference/available-resources.html#stylesandthemes On Tue, Dec 16, 2008 at 4:04 PM, diya blore diya.bl...@gmail.com wrote: Can any one help me out.. On Tue, Dec 16, 2008 at 4:13 AM, diya blore diya.bl...@gmail.com wrote: you can overrite theme setbackground, overrite layout, and use the new layout for you project ? can u explain bit brifely? On Tue, Dec 16, 2008 at 4:02 AM, diya blore diya.bl...@gmail.com wrote: is there any apis for setting themes? On Tue, Dec 16, 2008 at 3:59 AM, Eric Chan jude...@gmail.com wrote: you can overrite theme setbackground, overrite layout, and use the new layout for you project 2008/12/16 diya blore diya.bl...@gmail.com Its like theme.. it must be through project.. i had set in AbsoluteLayout absLayout = *new* AbsoluteLayout(MainActivity.*activityinstance*); MainActivity. *activityinstance*.setContentView(absLayout); absLayout.setBackgroundResource(R.drawable.*background*); this my code.. it work for first two pages...in 3 page in using linearlayout.. in that pages.. it take white default as background.. how should i carry that theme through my project... On Tue, Dec 16, 2008 at 3:41 AM, Eric Chan jude...@gmail.com wrote: ok, which view you wannt to add backgrould, try setbackground 2008/12/16 diya blore diya.bl...@gmail.com Hi All, i wan to set image as background through my project.. ?how can it be achieved? Guide me.. -- Thank's in adv. Diya :) -- Best Regards Eric Chan -- Thank's in adv. Diya :) -- Best Regards Eric Chan -- Thank's in adv. Diya :) -- Thank's in adv. Diya :) -- Thank's in adv. Diya :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Background setting problem
Can any one help me out.. On Tue, Dec 16, 2008 at 4:13 AM, diya blore diya.bl...@gmail.com wrote: you can overrite theme setbackground, overrite layout, and use the new layout for you project ? can u explain bit brifely? On Tue, Dec 16, 2008 at 4:02 AM, diya blore diya.bl...@gmail.com wrote: is there any apis for setting themes? On Tue, Dec 16, 2008 at 3:59 AM, Eric Chan jude...@gmail.com wrote: you can overrite theme setbackground, overrite layout, and use the new layout for you project 2008/12/16 diya blore diya.bl...@gmail.com Its like theme.. it must be through project.. i had set in AbsoluteLayout absLayout = *new* AbsoluteLayout(MainActivity.*activityinstance*); MainActivity. *activityinstance*.setContentView(absLayout); absLayout.setBackgroundResource(R.drawable.*background*); this my code.. it work for first two pages...in 3 page in using linearlayout.. in that pages.. it take white default as background.. how should i carry that theme through my project... On Tue, Dec 16, 2008 at 3:41 AM, Eric Chan jude...@gmail.com wrote: ok, which view you wannt to add backgrould, try setbackground 2008/12/16 diya blore diya.bl...@gmail.com Hi All, i wan to set image as background through my project.. ?how can it be achieved? Guide me.. -- Thank's in adv. Diya :) -- Best Regards Eric Chan -- Thank's in adv. Diya :) -- Best Regards Eric Chan -- Thank's in adv. Diya :) -- Thank's in adv. Diya :) -- Thank's in adv. Diya :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---