Well ,
I was stuck for like three hours trying to figure out how to change the background of a ListActivity because I have used an adapter with a layout for each item so when I change the background at the layout, only the item's background is changed, but at the end I figured that it was very easy here is how I did it :-
inside your onCreate() preferably before setting any adapters or putting any views, you insert the following line : getListView().setBackgroundResource("your Image"); that did the trick .
Hope it helps!!
This blog brings news and updates about computer networks, telecommunication networks and mobile development world wide. Also it is the place where I enjoy writing my previous experiences with the different networking fields.
Google Android News Android Forums
- This Android feature could save your life in a crisis
- Get the Google Pixel 9a From Verizon for Free With Just One Catch
- Google’s Plan for Cheaper Foldables Dead Thanks to Trump Tariffs
- Amidst US Trade Drama, T-Mobile’s Tariffs Will See a Hike Too
- T-Mobile’s Family Freedom Will Pay a Lot to Get You to Switch
PCWorld How-To's and Tips
- PNY LX3030 SSD review: Incredible durability for twice the price
- Aukey PowerTitan 300 review: A well-designed, affordable power station worth every penny
- Pick the perfect motherboard with these 5 tips
- Sony WF-1000XM4 review: These noise-canceling earbuds have all-around appeal
- How to update your PC's BIOS
PCWorld Latest Technology News
- PNY LX3030 SSD review: Incredible durability for twice the price
- Aukey PowerTitan 300 review: A well-designed, affordable power station worth every penny
- Pick the perfect motherboard with these 5 tips
- Sony WF-1000XM4 review: These noise-canceling earbuds have all-around appeal
- How to update your PC's BIOS
That is what I search !!! Thanks
ReplyDeleteThank you ! It hepls
ReplyDeleteThank you! short and neat :)
ReplyDelete