0
私はsetDotColor
とsetDotColorSelected
で色を変えようとしましたが、色やサイズを変更する別の方法はありますか?アンドロイドウェアのDotsPageIndicatorのデフォルトサイズと色を変更したいですか? 、サードパーティの図書館はありますか? 私のコード:私のために働いた次の色についてアンドロイドのDotsPageIndicatorの変更レイアウトはどのようになっていますか?
final GridViewPager pager = (GridViewPager) findViewById(R.id.pager);
pager.setAdapter(new LoggedinAdapter(this));
DotsPageIndicator dotsPageIndicator = (DotsPageIndicator) findViewById(R.id.page_indicator);
dotsPageIndicator.setDotColor(R.color.red);
dotsPageIndicator.setDotColorSelected(R.color.black);
dotsPageIndicator.setPager(pager);