diff --git a/app/src/main/java/com/example/gocoronago/stayHome/StayHomeFragment.kt b/app/src/main/java/com/example/gocoronago/stayHome/StayHomeFragment.kt index 5c9deab..c79932c 100644 --- a/app/src/main/java/com/example/gocoronago/stayHome/StayHomeFragment.kt +++ b/app/src/main/java/com/example/gocoronago/stayHome/StayHomeFragment.kt @@ -70,7 +70,7 @@ class StayHomeFragment : DialogFragment() { ) fragmentData.add( Pair( - R.raw.sneeze, + R.raw.sneeze_covid, "Cover your nose and mouth with your bent elbow or a tissue when you cough or sneeze." ) ) diff --git a/app/src/main/res/drawable/ic_about.xml b/app/src/main/res/drawable/ic_about.xml new file mode 100644 index 0000000..4aeb660 --- /dev/null +++ b/app/src/main/res/drawable/ic_about.xml @@ -0,0 +1,18 @@ + + + + + + diff --git a/app/src/main/res/layout/about_fragment.xml b/app/src/main/res/layout/about_fragment.xml index 0141f3e..eb13482 100644 --- a/app/src/main/res/layout/about_fragment.xml +++ b/app/src/main/res/layout/about_fragment.xml @@ -12,7 +12,7 @@ android:layout_height="100dp" android:layout_gravity="center_horizontal" android:layout_marginTop="16dp" - android:src="@mipmap/ic_launcher_icon_round" + android:src="@drawable/ic_about" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -36,7 +36,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:layout_marginTop="16dp" - android:text="GoCoronaGo" + android:text="@string/gocoronago" android:textSize="28sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -48,7 +48,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:layout_marginTop="4dp" - android:text="Worldwide Corona Tracker" + android:text="@string/app_name" android:textSize="16sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -62,7 +62,7 @@ android:layout_marginStart="16dp" android:layout_marginTop="16dp" android:layout_marginEnd="16dp" - android:text="Version" + android:text="@string/version" android:textSize="18sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -76,11 +76,11 @@ android:layout_marginStart="16dp" android:layout_marginTop="4dp" android:layout_marginEnd="16dp" - android:text="X.XX" android:textSize="14sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/textView3" /> + app:layout_constraintTop_toBottomOf="@+id/textView3" + tools:text="X.XX" /> Worldwide Corona Tracker Search About Us + GoCoronaGo + Version + Contributors \ No newline at end of file