R.styleable.MaterialProgressBar_mpb_determinateCircularProgressStyle, DETERMINATE_CIRCULAR_PROGRESS_STYLE_NORMAL); if (a.hasValue(R.styleable.MaterialProgressBar_mpb_progressTint)) { mProgressTintInfo.mProgressTint = a.getColorStateList( R.styleable.MaterialProgressBar_mpb_progressTint); mProgressTintInfo.mHasProgressTint = true; if (a.hasValue(R.styleable.MaterialProgressBar_mpb_progressTintMode)) { mProgressTintInfo.mProgressTintMode = DrawableCompat.parseTintMode(a.getInt( R.styleable.MaterialProgressBar_mpb_progressTintMode, -1), null); mProgressTintInfo.mHasProgressTintMode = true; if (a.hasValue(R.styleable.MaterialProgressBar_mpb_secondaryProgressTint)) { mProgressTintInfo.mSecondaryProgressTint = a.getColorStateList( R.styleable.MaterialProgressBar_mpb_secondaryProgressTint); mProgressTintInfo.mHasSecondaryProgressTint = true; if (a.hasValue(R.styleable.MaterialProgressBar_mpb_secondaryProgressTintMode)) { mProgressTintInfo.mSecondaryProgressTintMode = DrawableCompat.parseTintMode(a.getInt( R.styleable.MaterialProgressBar_mpb_secondaryProgressTintMode, -1), null); mProgressTintInfo.mHasSecondaryProgressTintMode = true; if (a.hasValue(R.styleable.MaterialProgressBar_mpb_progressBackgroundTint)) { mProgressTintInfo.mProgressBackgroundTint = a.getColorStateList( R.styleable.MaterialProgressBar_mpb_progressBackgroundTint); mProgressTintInfo.mHasProgressBackgroundTint = true; if (a.hasValue(R.styleable.MaterialProgressBar_mpb_progressBackgroundTintMode)) { mProgressTintInfo.mProgressBackgroundTintMode = DrawableCompat.parseTintMode(a.getInt(
if (a.hasValue(R.styleable.DrawerNavigationView_elevation)) { ViewCompat.setElevation(this, a.getDimensionPixelSize( R.styleable.DrawerNavigationView_elevation, 0)); if (a.hasValue(R.styleable.DrawerNavigationView_itemIconTint)) { itemIconTint = a.getColorStateList(R.styleable.DrawerNavigationView_itemIconTint); } else { if (a.hasValue(R.styleable.DrawerNavigationView_itemTextAppearance)) { textAppearance = a.getResourceId(R.styleable.DrawerNavigationView_itemTextAppearance, 0); textAppearanceSet = true; if (a.hasValue(R.styleable.DrawerNavigationView_itemTextColor)) { itemTextColor = a.getColorStateList(R.styleable.DrawerNavigationView_itemTextColor); addView((View) mPresenter.getMenuView(this)); if (a.hasValue(R.styleable.DrawerNavigationView_menu)) { inflateMenu(a.getResourceId(R.styleable.DrawerNavigationView_menu, 0)); if (a.hasValue(R.styleable.DrawerNavigationView_headerLayout)) { inflateHeaderView(a.getResourceId(R.styleable.DrawerNavigationView_headerLayout, 0));