-
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.
* [nunu/#18] feat: Thread로 타이머 구현 - 시간이 흐를 때마다 화면에 표시 - 1분으로 미리듣기 구현 - MM:SS 형식으로 포맷 형식 변경 - 문제>> 상단의 내리는 버튼을 눌렀다가 다시 들어가면 새로 시작이라는 것….. * [nunu/#18] feat: Splash Activity 구현 - Splash Activity 추가 - AndroidManifest.xml 수정 - themes.xml 수정 * [nunu/#18] feat: SongActivity Time Seekbar 구현 - 타이머 중지 및 재실행 구현 - 파란바 타이머 초에 맞춰 회색바 기준으로 길이 조절 문제 - 색 적용 제대로 안됨 - 초기 시작시 파란바 길이 엄청 길어졌다가 시작됨
- Loading branch information
1 parent
6cdaeca
commit 792dabe
Showing
6 changed files
with
118 additions
and
16 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
22 changes: 22 additions & 0 deletions
22
UMC_6th/app/src/main/java/com/example/umc_6th/SplashActivity.kt
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.example.umc_6th | ||
|
||
import android.content.Intent | ||
import android.os.Bundle | ||
import androidx.appcompat.app.AppCompatActivity | ||
import com.example.umc_6th.databinding.ActivitySplashBinding | ||
|
||
class SplashActivity :AppCompatActivity() { | ||
private lateinit var binding : ActivitySplashBinding | ||
|
||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
binding = ActivitySplashBinding.inflate(layoutInflater) | ||
setContentView(binding.root) | ||
|
||
android.os.Handler().postDelayed({ | ||
startActivity(Intent(this, MainActivity::class.java)) | ||
finish() | ||
overridePendingTransition(0, 0) | ||
}, 2000) | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:theme="@style/Theme.AppCompat.NoActionBar" | ||
android:background="@color/white"> | ||
|
||
<ImageView | ||
android:id="@+id/imageView" | ||
android:layout_width="150dp" | ||
android:layout_height="wrap_content" | ||
android:layout_centerInParent="true" | ||
android:src="@drawable/ic_flo_logo" /> | ||
</RelativeLayout> |
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