我是在eclipse中直接導(dǎo)入的BadgeView的,但是發(fā)現(xiàn)沒有setBadgeCount 這個(gè)方法,但是用setText()方法完全一模一樣
2015-12-19
不錯(cuò),這個(gè)老師有素材提供的.......其他老師木有哦,搞的即是寫好了代碼,也很不爽。我很喜歡那種鍵盤聲...噠噠噠
2015-12-02
哈哈哈哈 這個(gè)顏色我實(shí)在是不喜歡 老師好傲嬌啊 ~ 很喜歡老師講的 在項(xiàng)目中也確實(shí)用到了 關(guān)于指示器這個(gè)以前是通過修改tab的背景色實(shí)現(xiàn)的。老師講的這種實(shí)現(xiàn)方法讓我豁然開朗啊!
2015-11-19
在fragment中導(dǎo)入v4的包,然后在主方法添加的時(shí)候mDatas.add方法不認(rèn)識(shí)創(chuàng)建的對(duì)象啊,會(huì)報(bào)錯(cuò)
2015-11-14
最新回答 / 慕粉3896002
top2的最外圍的RelativeLayoutlayout_height屬性改為android:layout_height="wrap_content"(PS:如果是match_parent,會(huì)把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
int margin=(int) (position*width+positionoffset*width);
2015-11-03
不錯(cuò),關(guān)鍵是實(shí)現(xiàn)思想,代碼質(zhì)量如何不是問題。
2015-11-03
判斷條件兩個(gè)就可以了 mCurrentPageIndex== position就是右滑 mCurrentPageIndex>position就是左滑
2015-11-02