-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpopup.smali
104 lines (56 loc) · 3.87 KB
/
popup.smali
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.class public Lcom/gbo/popup;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static Start(Landroid/content/Context;)V
.registers 3
invoke-static {p0}, Lcom/gbo/popup;->gboCustomMessage(Landroid/content/Context;)V
return-void
.end method
.method public static gboCustomMessage(Landroid/content/Context;)V
.registers 6
new-instance v0, Landroid/app/AlertDialog$Builder;
invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
new-instance v1, Landroid/widget/TextView;
invoke-direct {v1, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V
new-instance v2, Landroid/widget/TextView;
invoke-direct {v2, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V
const-string v3, "<b><font color=blue><u>MC874</u></font></b>"
invoke-static {v3}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;
move-result-object v3
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
const/16 v3, 0xa
invoke-virtual {v1, v3, v3, v3, v3}, Landroid/widget/TextView;->setPadding(IIII)V
const/4 v3, 0x1
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setGravity(I)V
const/high16 v3, 0x41a00000 # 20.0f
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextSize(F)V
const-string v3, "<b>\u2800 X-plug<br/><i><font color=red>\u2192</font> 2.0 Release<br/>\u002b Penambahan bagian sosial media<br/> -Twitter section<br/> -Instagram section<br/> -Youtube section<br/> -Google section<br/>\u002b Penambahan beberapa fitur dan bug fixes<br/>\u002b Penambahan X-plug changelog<br/><br/><i><font color=yellow>\u2192</font>Instagram :<font color=white><a href=https://www.instagram.com/m.c874/?hl=id</a>Klik Disini</font></i><br/><i><font color=yellow>\u2192</font>Masalah :<font color=white><a href=https://bugs.mojang.com</a>Laporkan Bug!</font></i></b><br/><br/><font color=#FFA500></a></font><br/><font color=red><a href=https://www.youtube.com/channel/UCdlsNYlA7yTFt8OwwiIJiSw>Subscribe Sekarang! </a></font>"
invoke-static {v3}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;
move-result-object v3
invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
const/16 v3, 0xa
invoke-virtual {v2, v3, v3, v3, v3}, Landroid/widget/TextView;->setPadding(IIII)V
const/4 v3, 0x1
invoke-virtual {v2, v3}, Landroid/widget/TextView;->setGravity(I)V
const/high16 v3, 0x41a00000 # 20.0f
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextSize(F)V
const/4 v3, 0x0
invoke-virtual {v0, v3}, Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder;
const-string v3, "<b>MULAI</b>"
invoke-static {v3}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;
move-result-object v3
const/4 v4, 0x0
invoke-virtual {v0, v3, v4}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setCustomTitle(Landroid/view/View;)Landroid/app/AlertDialog$Builder;
invoke-virtual {v0, v2}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;
invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;
invoke-static {}, Landroid/text/method/LinkMovementMethod;->getInstance()Landroid/text/method/MovementMethod;
move-result-object v3
invoke-virtual {v2, v3}, Landroid/widget/TextView;->setMovementMethod(Landroid/text/method/MovementMethod;)V
return-void
.end method