-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
545348e
commit 7c17624
Showing
10 changed files
with
2,380 additions
and
654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,76 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<androidx.constraintlayout.widget.ConstraintLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:padding="24dp" | ||
android:background="?attr/colorSurface"> | ||
|
||
<com.google.android.material.card.MaterialCardView | ||
android:id="@+id/cardView" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="32dp" | ||
android:padding="16dp" | ||
app:cardCornerRadius="16dp" | ||
app:cardElevation="8dp" | ||
app:cardBackgroundColor="?attr/colorSurface" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent"> | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:padding="24dp" | ||
android:background="?attr/colorSurface"> | ||
|
||
<ImageView | ||
android:id="@+id/appIcon" | ||
android:layout_width="80dp" | ||
android:layout_height="80dp" | ||
android:contentDescription="@string/app_name" | ||
android:src="@drawable/icon" | ||
android:layout_gravity="center" | ||
android:tint="?attr/colorPrimary" /> | ||
</com.google.android.material.card.MaterialCardView> | ||
|
||
<com.google.android.material.textview.MaterialTextView | ||
android:id="@+id/appName" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/app_name" | ||
android:textAppearance="?attr/textAppearanceHeadline6" | ||
android:fontFamily="sans-serif-medium" | ||
android:textStyle="bold" | ||
android:layout_marginTop="16dp" | ||
app:layout_constraintTop_toBottomOf="@id/cardView" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
android:textColor="?attr/colorOnSurface" /> | ||
<com.google.android.material.card.MaterialCardView | ||
android:id="@+id/cardView" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="32dp" | ||
android:padding="16dp" | ||
app:cardCornerRadius="16dp" | ||
app:cardElevation="8dp" | ||
app:cardBackgroundColor="?attr/colorSurface" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent"> | ||
|
||
<com.google.android.material.textview.MaterialTextView | ||
android:id="@+id/appDetails" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/app_details" | ||
android:textAppearance="?attr/textAppearanceBody1" | ||
android:fontFamily="sans-serif" | ||
android:lineSpacingExtra="4dp" | ||
android:layout_marginTop="8dp" | ||
android:paddingHorizontal="24dp" | ||
app:layout_constraintTop_toBottomOf="@id/appName" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
android:textColor="?attr/colorOnSurfaceVariant" /> | ||
<com.google.android.material.button.MaterialButton | ||
android:id="@+id/getStartedButton" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Get Started" | ||
style="@style/Widget.MaterialComponents.Button" | ||
app:cornerRadius="50dp" | ||
android:layout_marginTop="24dp" | ||
app:layout_constraintTop_toBottomOf="@id/appDetails" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
android:textColor="?attr/colorOnPrimary" /> | ||
<ImageView | ||
android:id="@+id/appIcon" | ||
android:layout_width="80dp" | ||
android:layout_height="80dp" | ||
android:contentDescription="@string/app_name" | ||
android:src="@drawable/icon" | ||
android:layout_gravity="center" | ||
android:tint="?attr/colorPrimary" /> | ||
|
||
</com.google.android.material.card.MaterialCardView> | ||
|
||
<com.google.android.material.textview.MaterialTextView | ||
android:id="@+id/appName" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/app_name" | ||
android:textAppearance="?attr/textAppearanceHeadline6" | ||
android:fontFamily="sans-serif-medium" | ||
android:textStyle="bold" | ||
android:layout_marginTop="16dp" | ||
android:textColor="?attr/colorOnSurface" | ||
app:layout_constraintTop_toBottomOf="@id/cardView" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" /> | ||
|
||
<com.google.android.material.textview.MaterialTextView | ||
android:id="@+id/appDetails" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/app_details" | ||
android:textAppearance="?attr/textAppearanceBody1" | ||
android:fontFamily="sans-serif" | ||
android:lineSpacingExtra="4dp" | ||
android:layout_marginTop="8dp" | ||
android:paddingHorizontal="24dp" | ||
android:textColor="?attr/colorOnSurfaceVariant" | ||
app:layout_constraintTop_toBottomOf="@id/appName" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" /> | ||
|
||
<com.google.android.material.button.MaterialButton | ||
android:id="@+id/getStartedButton" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Get Started" | ||
android:layout_marginTop="24dp" | ||
android:textColor="?attr/colorOnPrimary" | ||
style="@style/Widget.MaterialComponents.Button" | ||
app:cornerRadius="50dp" | ||
app:layout_constraintTop_toBottomOf="@id/appDetails" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@mipmap/ic_launcher_background"/> | ||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/> | ||
<monochrome android:drawable="@mipmap/ic_launcher_monochrome"/> | ||
</adaptive-icon> | ||
<adaptive-icon | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<background | ||
android:drawable="@mipmap/ic_launcher_background" /> | ||
|
||
<foreground | ||
android:drawable="@mipmap/ic_launcher_foreground" /> | ||
|
||
<monochrome | ||
android:drawable="@mipmap/ic_launcher_monochrome" /> | ||
|
||
</adaptive-icon> |
Oops, something went wrong.