Skip to content

Commit 63999ee

Browse files
committed
2 parents 6f3aa54 + db64521 commit 63999ee

15 files changed

Lines changed: 250 additions & 43 deletions

File tree

.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ dependencies {
3939
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
4040
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
4141
}
42+

app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools">
3+
xmlns:tools="http://schemas.android.com/tools" >
44

55
<uses-permission android:name="android.permission.INTERNET"/>
66

@@ -54,15 +54,15 @@
5454
android:name=".activities.MainActivity"
5555
android:exported="true">
5656
<intent-filter>
57-
<action android:name="android.intent.action.MAIN"/>
57+
<action android:name="android.intent.action.MAIN" />
5858

59-
<category android:name="android.intent.category.LAUNCHER"/>
59+
<category android:name="android.intent.category.LAUNCHER" />
6060
</intent-filter>
6161

6262
<meta-data
63-
android:name="android.app.lib_name"
64-
android:value=""/>
63+
android:name="android.app.lib_name"
64+
android:value="" />
6565
</activity>
6666
</application>
6767

68-
</manifest>
68+
</manifest>
Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
/*
22
* AboutActivity.java - AboutActivity
33
*
4-
* Created on 21/02/2023 15:35:23 by loule
4+
* Created on 23/02/2023 16:02:45 by vahekrikorian
55
*
6-
* Copyright (c) 2023. loule (https://loule.me) & CodingFactory (https://codingfactory.fr) @ All rights reserved.
6+
* Copyright (c) 2023. vahekrikorian (https://loule.me) & CodingFactory (https://codingfactory.fr) @ All rights reserved.
77
*/
88

99
package me.loule.vroomcards.activities;
1010

1111
import androidx.appcompat.app.AppCompatActivity;
12+
13+
import android.content.Intent;
14+
import android.content.pm.PackageInfo;
15+
import android.content.pm.PackageManager;
16+
import android.net.Uri;
1217
import android.os.Bundle;
18+
import android.view.View;
19+
import android.widget.ImageView;
20+
import android.widget.TextView;
21+
1322
import me.loule.vroomcards.R;
1423

1524
public class AboutActivity extends AppCompatActivity {
@@ -18,5 +27,61 @@ public class AboutActivity extends AppCompatActivity {
1827
protected void onCreate(Bundle savedInstanceState) {
1928
super.onCreate(savedInstanceState);
2029
setContentView(R.layout.activity_about);
30+
ImageView imgLouisL = findViewById(R.id.louisLImageView);
31+
ImageView imgLouisY = findViewById(R.id.louisYImageView);
32+
ImageView imgVaheK = findViewById(R.id.vaheKImageVIew);
33+
ImageView imgAbedA = findViewById(R.id.abedAImageView);
34+
35+
TextView VersionEntry = findViewById(R.id.versionText);
36+
37+
imgLouisL.setOnClickListener(new View.OnClickListener() {
38+
public void onClick(View v) {
39+
Intent intent = new Intent();
40+
intent.setAction(Intent.ACTION_VIEW);
41+
intent.addCategory(Intent.CATEGORY_BROWSABLE);
42+
intent.setData(Uri.parse("https://github.com/Loule95450"));
43+
startActivity(intent);
44+
}
45+
});
46+
47+
imgLouisY.setOnClickListener(new View.OnClickListener() {
48+
public void onClick(View v) {
49+
Intent intent = new Intent();
50+
intent.setAction(Intent.ACTION_VIEW);
51+
intent.addCategory(Intent.CATEGORY_BROWSABLE);
52+
intent.setData(Uri.parse("https://github.com/LouisYang95"));
53+
startActivity(intent);
54+
}
55+
});
56+
57+
imgVaheK.setOnClickListener(new View.OnClickListener() {
58+
public void onClick(View v) {
59+
Intent intent = new Intent();
60+
intent.setAction(Intent.ACTION_VIEW);
61+
intent.addCategory(Intent.CATEGORY_BROWSABLE);
62+
intent.setData(Uri.parse("https://github.com/VaheKri"));
63+
startActivity(intent);
64+
}
65+
});
66+
67+
imgAbedA.setOnClickListener(new View.OnClickListener() {
68+
public void onClick(View v) {
69+
Intent intent = new Intent();
70+
intent.setAction(Intent.ACTION_VIEW);
71+
intent.addCategory(Intent.CATEGORY_BROWSABLE);
72+
intent.setData(Uri.parse("https://github.com/Abed-Nego28"));
73+
startActivity(intent);
74+
}
75+
});
76+
77+
try {
78+
PackageManager pm = getPackageManager();
79+
PackageInfo pi;
80+
// Version
81+
pi = pm.getPackageInfo(getPackageName(), 0);
82+
VersionEntry.setText(pi.versionName);
83+
} catch (Exception e) {
84+
e.printStackTrace();
85+
}
2186
}
22-
}
87+
}
172 KB
Loading
File renamed without changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<vector android:height="24dp" android:tint="#000000"
2+
android:viewportHeight="24" android:viewportWidth="24"
3+
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
4+
<path android:fillColor="@android:color/white" android:pathData="M12,2c-4.97,0 -9,4.03 -9,9 0,4.17 2.84,7.67 6.69,8.69L12,22l2.31,-2.31C18.16,18.67 21,15.17 21,11c0,-4.97 -4.03,-9 -9,-9zM12,4c1.66,0 3,1.34 3,3s-1.34,3 -3,3 -3,-1.34 -3,-3 1.34,-3 3,-3zM12,18.3c-2.5,0 -4.71,-1.28 -6,-3.22 0.03,-1.99 4,-3.08 6,-3.08 1.99,0 5.97,1.09 6,3.08 -1.29,1.94 -3.5,3.22 -6,3.22z"/>
5+
</vector>
507 KB
Loading
249 KB
Loading

0 commit comments

Comments
 (0)