1
1
package sun .bob .leela .ui .activities ;
2
2
3
+ import android .content .Intent ;
4
+ import android .net .Uri ;
3
5
import android .support .v7 .app .AppCompatActivity ;
4
6
import android .os .Bundle ;
5
7
import android .view .View ;
@@ -14,19 +16,27 @@ public class AboutActivity extends AppCompatActivity {
14
16
protected void onCreate (Bundle savedInstanceState ) {
15
17
super .onCreate (savedInstanceState );
16
18
19
+ Element i8Element = new Element ("icons8" , "Icons from icons8.com" ,mehdi .sakout .aboutpage .R .drawable .about_icon_link );
20
+ i8Element .setOnClickListener (new View .OnClickListener () {
21
+
8000
@ Override
22
+ public void onClick (View v ) {
23
+ Intent i = new Intent (Intent .ACTION_VIEW );
24
+ i .setData (Uri .parse ("https://icons8.com" ));
25
+ startActivity (i );
26
+ }
27
+ });
28
+
17
29
View aboutPage = new AboutPage (this )
18
30
.isRTL (false )
19
31
.setImage (R .drawable .ic_puff )
20
32
.setDescription (getString (R .string .about_puff ))
21
- // .addGroup("About Bcrypt")
22
- // .addItem(getBcryptElement())
23
- // .addWebsite("http://bcrypt.sourceforge.net/")
24
33
.addGroup ("Connect with us" )
25
34
.addEmail ("bob.sun@outlook.ie" )
26
35
.addWebsite ("http://bobsun.website/" )
27
36
.addGitHub ("SpongeBobSun" )
37
+ .addItem (i8Element )
28
38
.addGroup ("About the name" )
29
- .addItem ( new Element (). setTitle ( "Blow fish Puffs!") )
39
+ .addGroup ( "Blowfish Puffs!" )
30
40
.create ();
31
41
32
42
setContentView (aboutPage );
0 commit comments