开发者

Android tab bar view overlapping?

My question is regarding android tab bar. I have created tab bar in a separate activity and on default first tab view, I am showing layout of an activity. Now when I use tab bar 开发者_开发问答in any other activity, the activity's layout overlapped the tab bar view. Error in catlog is "couldn't save which view to show...". What is the way to show tab bar view along with the activity's view. thanks in advance.


If you re taking about an action bar overlapping with the view; you can add android:layout_marginTop="?android:attr/actionBarSize" to your layout to "push" the view down under the action bar.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜