Skip to content

Commit

Permalink
Coach mark builder clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
manjunathc23 committed Mar 8, 2017
1 parent 54f80c2 commit bb56cde
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,19 @@ public static Builder create(Point coachMarkViewAnchorTop,
double DEFAULT_NOTCH_POSITION = 0.0;
return new AutoValue_CoachMarkBuilder.Builder()
.setAnchorTop(coachMarkViewAnchorTop)
.setAnchorBottom(coachMarkViewAnchorBottom)
.setCoachMarkMessage(coachMarkMessage)
.setCoachMarkTextGravity(CoachMarkTextGravity.LEFT)
.setActionBarHeight(R.dimen.coach_mark_zero_dp)
.setNotchPosition(DEFAULT_NOTCH_POSITION)
.setAnchorBottom(coachMarkViewAnchorBottom)
.setFooterHeight(R.dimen.coach_mark_zero_dp)
.setActionBarHeight(R.dimen.coach_mark_zero_dp)
.setCoachMarkTextGravity(CoachMarkTextGravity.LEFT)
.setInfoForViewToMaskList(new ArrayList<InfoForViewToMask>(0))
.setAnimationTypeOnImage(AnimationType.THROB_ANIMATION)
.setUserDesiredPopUpPositionWithRespectToView(PopUpPosition.RIGHT)
.setBackGroundTintForImage(R.color.coach_mark_transparent_color)
.setImageDrawableRes(R.drawable.coachmark_drawable_no_image)
.setNotchPosition(DEFAULT_NOTCH_POSITION)
.setBackGroundTintForImage(R.color.coach_mark_transparent_color)
.setCoachMarkLayoutMargin(CoachMarkLayoutMargin.create().build())
.setImageLayoutInformation(ImageLayoutInformation.create(R.dimen.coach_mark_zero_dp, R.dimen.coach_mark_zero_dp).build())
.setFontStyleForDismissButton(null)
.setFontStyleForCoachMarkText(null);
.setUserDesiredPopUpPositionWithRespectToView(PopUpPosition.RIGHT)
.setImageLayoutInformation(ImageLayoutInformation.create(R.dimen.coach_mark_zero_dp, R.dimen.coach_mark_zero_dp).build());
}

@SuppressWarnings("unused")
Expand Down

0 comments on commit bb56cde

Please sign in to comment.