diff --git a/app/src/main/java/com/example/mask_detector/About_us.java b/app/src/main/java/com/example/mask_detector/About_us.java index 5e7f9b1..6a245b5 100644 --- a/app/src/main/java/com/example/mask_detector/About_us.java +++ b/app/src/main/java/com/example/mask_detector/About_us.java @@ -14,7 +14,7 @@ public class About_us extends AppCompatActivity { private String[] names = new String[]{"Shivam Kumar", "Arjun Anand", "Reetvik Chatterjee", "Harit Yadav"}; private String[] descriptions = new String[]{"", "", "", "", "", "", ""}; - private int[] images = new int[]{R.drawable.ic_avatar, R.drawable.arjun, R.drawable.ic_avatar, R.drawable.ic_avatar}; + private int[] images = new int[]{R.drawable.shivam, R.drawable.arjun, R.drawable.reetvik, R.drawable.eveator}; private ListView listView; diff --git a/app/src/main/java/com/example/mask_detector/fragments/HomeFragment.java b/app/src/main/java/com/example/mask_detector/fragments/HomeFragment.java index a91bf59..385d8a0 100644 --- a/app/src/main/java/com/example/mask_detector/fragments/HomeFragment.java +++ b/app/src/main/java/com/example/mask_detector/fragments/HomeFragment.java @@ -49,7 +49,8 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, } }); v.findViewById(R.id.helpCard5).setOnClickListener(help -> { - Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + "1075")); + Intent intent = new Intent(Intent.ACTION_DIAL); + intent.setData(Uri.parse("tel:" + "1075")); startActivity(intent); }); welcome = v.findViewById(R.id.welcome); diff --git a/app/src/main/res/drawable-v24/eveator.jpg b/app/src/main/res/drawable-v24/eveator.jpg new file mode 100644 index 0000000..6dcbbca Binary files /dev/null and b/app/src/main/res/drawable-v24/eveator.jpg differ diff --git a/app/src/main/res/drawable-v24/reetvik.jpg b/app/src/main/res/drawable-v24/reetvik.jpg new file mode 100644 index 0000000..3e8b6f3 Binary files /dev/null and b/app/src/main/res/drawable-v24/reetvik.jpg differ diff --git a/app/src/main/res/drawable-v24/shivam.jpg b/app/src/main/res/drawable-v24/shivam.jpg new file mode 100644 index 0000000..4e0e10f Binary files /dev/null and b/app/src/main/res/drawable-v24/shivam.jpg differ diff --git a/app/src/main/res/drawable/heart.jpg b/app/src/main/res/drawable/heart.jpg new file mode 100644 index 0000000..dad3562 Binary files /dev/null and b/app/src/main/res/drawable/heart.jpg differ diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index fd890e3..b174dc8 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -13,36 +13,37 @@ + android:layout_height="match_parent"> + app:layout_constraintTop_toBottomOf="@+id/welcome"> + android:layout_height="match_parent" + android:background="#66b3e5fc"> + android:layout_height="match_parent" + android:background="#66b39ddb"> + android:layout_height="match_parent" + android:background="#6680cbc4" + > + android:layout_height="match_parent" + android:background="#66b3e5fc"> -