Skip to content

Commit

Permalink
feat: add splash screen layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kimseongyu committed Jul 31, 2024
1 parent a2266c9 commit 78e9f5a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
Binary file added app/src/main/res/drawable/map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions app/src/main/res/layout/activity_splash_screen.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">

<data>

<variable
name="service"
type="campus.tech.kakao.map.model.splashscreen.Service" />
</data>

<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".view.splashscreen.SplashScreenActivity">

<ImageView
android:layout_width="200dp"
android:layout_height="200dp"
android:src="@drawable/map"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="50dp"
android:text="@{service.msg}"
android:textSize="24sp"
android:gravity="center"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>
</layout>

0 comments on commit 78e9f5a

Please sign in to comment.