-
Notifications
You must be signed in to change notification settings - Fork 7
Examples
Aleksandr 'Aux' Ivanov edited this page Jul 23, 2013
·
7 revisions
GrilledUI examples are located in examples folder. Folder named example contains outdated code examples left for historical value. The following examples are currently available:
-
TabActivityExample - simplest example of using TabActivity with one dummy fragment and manual tab population in
createSectionAdapter()
method. - TabActivityFromXML - same as TabActivityExample, but populates tabs from XML file. All other activities are populated from XML in the same way.
- SectionActivityExample - same as TabActivityExample, but uses SectionActivity instead of TabActivity.
- HybridActivityExample - same as TabActivityExample, but uses HybridActivity instead of TabActivity.
- HybridSherlockActivityExample - same as HybridActivityExample, but uses ActionBarSherlock compatability library to be able to run on 2.1+ devices.
- CustomLayoutExample - an advanced example showing how to properly use custom layouts and what is possible with HybridActivity. In this example even phones have different layouts for different orientations.