@@ -59,7 +59,8 @@ public static void showHomeIntros(@NonNull Context context, @Nullable RecyclerVi
59
59
tapTargetSequence .continueOnCancel (true );
60
60
61
61
Typeface title = TypefaceHelper .getMedium (context );
62
- Typeface description = TypefaceHelper .getRegular (context );
62
+ //Todo:
63
+ //Typeface description = TypefaceHelper.getRegular(context);
63
64
64
65
if (toolbar != null ) {
65
66
TapTarget tapTarget = TapTarget .forToolbarNavigationIcon (toolbar ,
@@ -71,12 +72,13 @@ public static void showHomeIntros(@NonNull Context context, @Nullable RecyclerVi
71
72
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
72
73
73
74
if (title != null ) {
74
- tapTarget .titleTypeface (title );
75
+ tapTarget .textTypeface (title );
75
76
}
76
77
77
- if (description != null ) {
78
- tapTarget .descriptionTypeface (description );
79
- }
78
+ //Todo:
79
+ //if (description != null) {
80
+ //tapTarget.descriptionTypeface(description);
81
+ //}
80
82
81
83
tapTargetSequence .target (tapTarget );
82
84
}
@@ -105,12 +107,12 @@ public static void showHomeIntros(@NonNull Context context, @Nullable RecyclerVi
105
107
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
106
108
107
109
if (title != null ) {
108
- tapTarget .titleTypeface (title );
110
+ tapTarget .textTypeface (title );
109
111
}
110
112
111
- if (description != null ) {
112
- tapTarget .descriptionTypeface (description );
113
- }
113
+ // if (description != null) {
114
+ // tapTarget.descriptionTypeface(description);
115
+ // }
114
116
115
117
tapTargetSequence .target (tapTarget );
116
118
}
@@ -167,12 +169,12 @@ public static void showIconsIntro(@NonNull Context context) {
167
169
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
168
170
169
171
if (title != null ) {
170
- tapTarget .titleTypeface (title );
172
+ tapTarget .textTypeface (title );
171
173
}
172
174
173
- if (description != null ) {
174
- tapTarget .descriptionTypeface (description );
175
- }
175
+ // if (description != null) {
176
+ // tapTarget.descriptionTypeface(description);
177
+ // }
176
178
177
179
TapTargetView .showFor (activity , tapTarget ,
178
180
new TapTargetView .Listener () {
@@ -230,12 +232,12 @@ public static void showRequestIntro(@NonNull Context context, @Nullable Recycler
230
232
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
231
233
232
234
if (title != null ) {
233
- tapTarget .titleTypeface (title );
235
+ tapTarget .textTypeface (title );
234
236
}
235
237
236
- if (description != null ) {
237
- tapTarget .descriptionTypeface (description );
238
- }
238
+ // if (description != null) {
239
+ // tapTarget.descriptionTypeface(description);
240
+ // }
239
241
240
242
tapTargetSequence .target (tapTarget );
241
243
}
@@ -254,12 +256,12 @@ public static void showRequestIntro(@NonNull Context context, @Nullable Recycler
254
256
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
255
257
256
258
if (title != null ) {
257
- tapTarget .titleTypeface (title );
259
+ tapTarget .textTypeface (title );
258
260
}
259
261
260
- if (description != null ) {
261
- tapTarget .descriptionTypeface (description );
262
- }
262
+ // if (description != null) {
263
+ // tapTarget.descriptionTypeface(description);
264
+ // }
263
265
264
266
tapTargetSequence .target (tapTarget );
265
267
}
@@ -276,12 +278,12 @@ public static void showRequestIntro(@NonNull Context context, @Nullable Recycler
276
278
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
277
279
278
280
if (title != null ) {
279
- tapTarget .titleTypeface (title );
281
+ tapTarget .textTypeface (title );
280
282
}
281
283
282
- if (description != null ) {
283
- tapTarget .descriptionTypeface (description );
284
- }
284
+ // if (description != null) {
285
+ // tapTarget.descriptionTypeface(description);
286
+ // }
285
287
286
288
tapTargetSequence .target (tapTarget );
287
289
}
@@ -311,12 +313,12 @@ public static void showRequestIntro(@NonNull Context context, @Nullable Recycler
311
313
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
312
314
313
315
if (title != null ) {
314
- tapTarget .titleTypeface (title );
316
+ tapTarget .textTypeface (title );
315
317
}
316
318
317
- if (description != null ) {
318
- tapTarget .descriptionTypeface (description );
319
- }
319
+ // if (description != null) {
320
+ // tapTarget.descriptionTypeface(description);
321
+ // }
320
322
321
323
tapTargetSequence .target (tapTarget );
322
324
}
@@ -404,14 +406,14 @@ public static void showWallpapersIntro(@NonNull Context context, @Nullable Recyc
404
406
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
405
407
406
408
if (title != null ) {
407
- tapTarget .titleTypeface (title );
408
- tapTarget1 .titleTypeface (title );
409
+ tapTarget .textTypeface (title );
410
+ tapTarget1 .textTypeface (title );
409
411
}
410
412
411
- if (description != null ) {
412
- tapTarget .descriptionTypeface (description );
413
- tapTarget1 .descriptionTypeface (description );
414
- }
413
+ // if (description != null) {
414
+ // tapTarget.descriptionTypeface(description);
415
+ // tapTarget1.descriptionTypeface(description);
416
+ // }
415
417
416
418
tapTargetSequence .target (tapTarget );
417
419
tapTargetSequence .target (tapTarget1 );
@@ -468,12 +470,12 @@ public static void showWallpaperPreviewIntro(@NonNull Context context, @ColorInt
468
470
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
469
471
470
472
if (title != null ) {
471
- tapTarget .titleTypeface (title );
473
+ tapTarget .textTypeface (title );
472
474
}
473
475
474
- if (description != null ) {
475
- tapTarget .descriptionTypeface (description );
476
- }
476
+ // if (description != null) {
477
+ // tapTarget.descriptionTypeface(description);
478
+ // }
477
479
478
480
tapTargetSequence .target (tapTarget );
479
481
@@ -488,12 +490,12 @@ public static void showWallpaperPreviewIntro(@NonNull Context context, @ColorInt
488
490
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
489
491
490
492
if (title != null ) {
491
- tapTarget1 .titleTypeface (title );
493
+ tapTarget1 .textTypeface (title );
492
494
}
493
495
494
- if (description != null ) {
495
- tapTarget1 .descriptionTypeface (description );
496
- }
496
+ // if (description != null) {
497
+ // tapTarget1.descriptionTypeface(description);
498
+ // }
497
499
498
500
tapTargetSequence .target (tapTarget1 );
499
501
}
@@ -512,12 +514,12 @@ public static void showWallpaperPreviewIntro(@NonNull Context context, @ColorInt
512
514
.drawShadow (Preferences .get (context ).isTapIntroShadowEnabled ());
513
515
514
516
if (title != null ) {
515
- tapTarget .titleTypeface (title );
517
+ tapTarget .textTypeface (title );
516
518
}
517
519
518
- if (description != null ) {
519
- tapTarget .descriptionTypeface (description );
520
- }
520
+ // if (description != null) {
521
+ // tapTarget.descriptionTypeface(description);
522
+ // }
521
523
522
524
tapTargetSequence .target (tapTarget );
523
525
}
0 commit comments