Android EPG Layout
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I want to develop an epg kind of layout in android. I have seen some questions here. But I am not able to understand how to draw the row in "epg" manner (different size blocks) with the help of Custom AdapterView depending on time. Please suggest, or give some documentation links to clarify myself. Thank You Rajendra | |||
Use Linear Layout as a main view and Table Layout as a child view. Inside that insert table rows and place textviews.Use the property of android:background and android:margin in textviews. | |||
You need to extend ViewGroup and override there onLayout where you will have to put in correct positions subviews(programs) based on there start and end time. This subviews you will get from AdapterView. Also you will have to implement view recycling as it is done in ListView, because without this optimization epg component will be too slow. | |||
default
Read more
stackoverflow.comm
No comments:
Post a Comment