我是在eclipse中直接導入的BadgeView的,但是發現沒有setBadgeCount 這個方法,但是用setText()方法完全一模一樣
2015-12-19
不錯,這個老師有素材提供的.......其他老師木有哦,搞的即是寫好了代碼,也很不爽。我很喜歡那種鍵盤聲...噠噠噠
2015-12-02
哈哈哈哈 這個顏色我實在是不喜歡 老師好傲嬌啊 ~ 很喜歡老師講的 在項目中也確實用到了 關于指示器這個以前是通過修改tab的背景色實現的。老師講的這種實現方法讓我豁然開朗??!
2015-11-19
最新回答 / 慕粉3896002
top2的最外圍的RelativeLayoutlayout_height屬性改為android:layout_height="wrap_content"(PS:如果是match_parent,會把tab覆蓋掉)
2015-11-03
LinearLayout.LayoutParams layoutParams=(android.widget.LinearLayout.LayoutParams) tabline.getLayoutParams();
layoutParams.setMargins(margin, 0, 0, 0);
tabline.setLayoutParams(layoutParams);
layoutParams.setMargins(margin, 0, 0, 0);
tabline.setLayoutParams(layoutParams);
2015-11-03
判斷條件兩個就可以了 mCurrentPageIndex== position就是右滑 mCurrentPageIndex>position就是左滑
2015-11-02