code: public void setIndicatorStyleResource(int selected, int unselected){
          mUserSetSelectedIndicatorResId = selected;
          mUserSetUnSelectedIndicatorResId = unselected;
          if(selected == 0){
              mSelectedDrawable = mSelectedLayerDrawable;
          }else{
              mSelectedDrawable = mContext.getResources().getDrawable(mUserSetSelectedIndicatorResId);
          }
          if(unselected == 0){
              mUnselectedDrawable = mUnSelectedLayerDrawable;
          }else{
              mUnselectedDrawable = mContext.getResources().getDrawable(mUserSetUnSelectedIndicatorResId);
          }
  
          resetDrawable();
      }
docs: Set Indicator style.
  @param selected page selected drawable
  @param unselected page unselected drawable