How do I create a header or footer button bar for my Android application

后端 未结 4 1339
臣服心动
臣服心动 2020-12-01 13:17

Many popular apps like Google Maps, Facebook, Foursquare, etc. have header and/or footer bars on most of their activities. These headers often include very useful buttons, a

4条回答
  •  感动是毒
    2020-12-01 13:38

    Just create a xml as you need.

    Add these XML to your other screens using tag in your other Screen XMLs.

    Sample is here.

    You can handle the button click as you need in each activity.

    Hope this helps.

提交回复
热议问题