已采纳回答 / foreverHan
你代码看错了 不是这么写的 在好好看看老师的源码int x = getMeasuredWidth() / 2 - mTextBound.width() / 2; int y = mIconRect.bottom + mTextBound.height();
2015-06-23
已采纳回答 / Spirit_wolf
你看看这个文章http://blog.csdn.net/flying_tao/article/details/6655148你看看有没有改AndroidManifest.xml文件,我之前搞了半天还是3个点的按钮就是因为AndroidManifest.xml文件没设置的原因。
2015-06-12
已采纳回答 / Mopel
在Fragment中 调用onCreateView(android.view.LayoutInflater,
android.view.ViewGroup, android.os.Bundle)来设置UI布局
2015-03-03
讲师回答 / hyman
你好,有没有在Activity里面添加<...code...>强制overflowbutton显示,因为小米有实体menu键,默认不显示overflowbutton。我在小米2S上测试可以显示。
2015-02-06
讲师回答 / hyman
我主要是担心没有抽取,直接在onClick里面进行switch,那么点击非Tab按钮会调用resetOtherTabs()方法,抽取出来以后,可以直观的看出来。对于非Tab按钮,可以使用switch和return。
2015-02-04