@@ -58,14 +58,23 @@ public class ActivasiActivity extends Activity {
5858 private TextView textview1 ;
5959 private LinearLayout linear1 ;
6060 private LinearLayout card1 ;
61+ private LinearLayout card4 ;
6162 private LinearLayout card2 ;
6263 private LinearLayout card3 ;
6364 private LinearLayout linear11 ;
6465 private TextView textview3 ;
65- private AexonButton pair ;
66- private AexonButton start ;
66+ private AexonButton connect_shizuku ;
67+ private AexonButton start_shizuku ;
6768 private ImageView imageview6 ;
6869 private TextView textview2 ;
70+ private LinearLayout linear14 ;
71+ private TextView textview8 ;
72+ private TextView textview10 ;
73+ private AexonButton stepbystep ;
74+ private AexonButton connect_pair ;
75+ private AexonButton start_pair ;
76+ private ImageView imageview7 ;
77+ private TextView textview9 ;
6978 private LinearLayout linear3 ;
7079 private TextView textview5 ;
7180 private AexonButton view_cmd ;
@@ -96,14 +105,23 @@ private void initialize(Bundle _savedInstanceState) {
96105 textview1 = findViewById (R .id .textview1 );
97106 linear1 = findViewById (R .id .linear1 );
98107 card1 = findViewById (R .id .card1 );
108+ card4 = findViewById (R .id .card4 );
99109 card2 = findViewById (R .id .card2 );
100110 card3 = findViewById (R .id .card3 );
101111 linear11 = findViewById (R .id .linear11 );
102112 textview3 = findViewById (R .id .textview3 );
103- pair = findViewById (R .id .pair );
104- start = findViewById (R .id .start );
113+ connect_shizuku = findViewById (R .id .connect_shizuku );
114+ start_shizuku = findViewById (R .id .start_shizuku );
105115 imageview6 = findViewById (R .id .imageview6 );
106116 textview2 = findViewById (R .id .textview2 );
117+ linear14 = findViewById (R .id .linear14 );
118+ textview8 = findViewById (R .id .textview8 );
119+ textview10 = findViewById (R .id .textview10 );
120+ stepbystep = findViewById (R .id .stepbystep );
121+ connect_pair = findViewById (R .id .connect_pair );
122+ start_pair = findViewById (R .id .start_pair );
123+ imageview7 = findViewById (R .id .imageview7 );
124+ textview9 = findViewById (R .id .textview9 );
107125 linear3 = findViewById (R .id .linear3 );
108126 textview5 = findViewById (R .id .textview5 );
109127 view_cmd = findViewById (R .id .view_cmd );
@@ -117,7 +135,7 @@ private void initialize(Bundle _savedInstanceState) {
117135
118136 imageview1 .setOnClickListener (_v -> onBackPressed ());
119137
120- pair .setOnClickListener (_v -> {
138+ connect_shizuku .setOnClickListener (_v -> {
121139 if (!shizuku .isShizukuInstalled ()) {
122140 AexonAlertDialog dialog = new AexonAlertDialog (ActivasiActivity .this );
123141 dialog .setTitle (R .string .tag_shizuku_title );
@@ -144,7 +162,7 @@ private void initialize(Bundle _savedInstanceState) {
144162 AexonToast .make (ActivasiActivity .this ).title (getString (R .string .tag_shizuku_running )).message (getString (R .string .tag_shizuku_running_dec )).show ();
145163 });
146164
147- start .setOnClickListener (_v -> {
165+ start_shizuku .setOnClickListener (_v -> {
148166 if (!shizuku .isShizukuInstalled ()) {
149167 AexonAlertDialog dialog = new AexonAlertDialog (ActivasiActivity .this );
150168 dialog .setTitle (R .string .tag_shizuku_title );
@@ -206,32 +224,49 @@ private void initializeLogic() {
206224 imageview2 .setColorFilter (theme .getColorPrimary (), PorterDuff .Mode .SRC_ATOP );
207225 imageview4 .setColorFilter (theme .getColorPrimary (), PorterDuff .Mode .SRC_ATOP );
208226 imageview6 .setColorFilter (theme .getColorPrimary (), PorterDuff .Mode .SRC_ATOP );
227+ imageview7 .setColorFilter (theme .getColorPrimary (), PorterDuff .Mode .SRC_ATOP );
209228 toolbar .setBackgroundColor (theme .getColorSurface ());
210229 vscroll1 .setBackgroundColor (theme .getColorSurface ());
211230 //card card1 & card2 & card3
212231 card1 .setBackground (new AexonDrawable .Builder (theme .getColorSurfaceContainer ()).cornerRadius (SketchwareUtil .getDimension (this , R .dimen .card_radius_medium )).build ().build (ActivasiActivity .this ));
213232 card2 .setBackground (new AexonDrawable .Builder (theme .getColorSurfaceContainer ()).cornerRadius (SketchwareUtil .getDimension (this , R .dimen .card_radius_medium )).build ().build (ActivasiActivity .this ));
214- card3 .setBackground (new AexonDrawable .Builder (theme .getColorSurfaceContainer ()).cornerRadius (SketchwareUtil .getDimension (this , R .dimen .card_radius_medium )).build ().build (ActivasiActivity .this ));
215- pair .setBackgroundColor (theme .getColorPrimary ());
216- start .setBackgroundColor (theme .getColorPrimary ());
233+ card3 .setBackground (new AexonDrawable .Builder (theme .getColorSurfaceContainer ()).cornerRadius (SketchwareUtil .getDimension (this , R .dimen .card_radius_medium )).build ().build (ActivasiActivity .this ));
234+ card4 .setBackground (new AexonDrawable .Builder (theme .getColorSurfaceContainer ()).cornerRadius (SketchwareUtil .getDimension (this , R .dimen .card_radius_medium )).build ().build (ActivasiActivity .this ));
235+
236+
237+ //warna icon button
238+ connect_shizuku .setIconTint (theme .getColorOnPrimary ());
239+ start_shizuku .setIconTint (theme .getColorOnPrimary ());
240+ view_cmd .setIconTint (theme .getColorOnPrimary ());
241+ start_root .setIconTint (theme .getColorOnPrimary ());
242+ stepbystep .setIconTint (theme .getColorOnPrimary ());
243+ connect_pair .setIconTint (theme .getColorOnPrimary ());
244+ start_pair .setIconTint (theme .getColorOnPrimary ());
245+ connect_shizuku .setBackgroundColor (theme .getColorPrimary ());
246+ start_shizuku .setBackgroundColor (theme .getColorPrimary ());
217247 view_cmd .setBackgroundColor (theme .getColorPrimary ());
218248 start_root .setBackgroundColor (theme .getColorPrimary ());
249+ stepbystep .setBackgroundColor (theme .getColorPrimary ());
250+ connect_pair .setBackgroundColor (theme .getColorPrimary ());
251+ start_pair .setBackgroundColor (theme .getColorPrimary ());
219252 AexonWindowHelper .setWindowStyle (getWindow (), theme .getColorSurface ());
220- pair .setIconTint (theme .getColorOnPrimary ());
221- start .setIconTint (theme .getColorOnPrimary ());
222- view_cmd .setIconTint (theme .getColorOnPrimary ());
223- start_root .setIconTint (theme .getColorOnPrimary ());
224253 start_root .setTextColor (theme .getColorOnPrimary ());
225254 view_cmd .setTextColor (theme .getColorOnPrimary ());
226- pair .setTextColor (theme .getColorOnPrimary ());
227- start .setTextColor (theme .getColorOnPrimary ());
255+ connect_shizuku .setTextColor (theme .getColorOnPrimary ());
256+ start_shizuku .setTextColor (theme .getColorOnPrimary ());
257+ stepbystep .setTextColor (theme .getColorOnPrimary ());
258+ connect_pair .setTextColor (theme .getColorOnPrimary ());
259+ start_pair .setTextColor (theme .getColorOnPrimary ());
228260 textview1 .setTextColor (theme .getColorOnSurface ());
229261 textview2 .setTextColor (theme .getColorOnSurface ());
230262 textview3 .setTextColor (theme .getColorOnSurfaceVariant ());
231263 textview4 .setTextColor (theme .getColorOnSurface ());
232264 textview5 .setTextColor (theme .getColorOnSurfaceVariant ());
233265 textview6 .setTextColor (theme .getColorOnSurface ());
234266 textview7 .setTextColor (theme .getColorOnSurfaceVariant ());
267+ textview8 .setTextColor (theme .getColorOnSurfaceVariant ());
268+ textview9 .setTextColor (theme .getColorOnSurface ());
269+ textview10 .setTextColor (theme .getColorOnSurfaceVariant ());
235270 }
236271
237272
0 commit comments