Sarim Javaid Khan
Sarim Javaid Khan

Reputation: 830

Dividing screen in android like frames in html

I am making an android application. There i want a common navigation menu on every activity like frames in html. I want the menu at the left (say 20%) area and other navigation screens on the right (say 80% area)

please help me out.

Upvotes: 0

Views: 524

Answers (1)

Jachu
Jachu

Reputation: 435

You should use two fragments, that way you keep the menu in one fragment and only change the activity in the other, I should not be difficult to find an example on internet since it is very common in tablets. http://developer.android.com/guide/components/fragments.html

Upvotes: 0

Related Questions