2024년 5월 인트로 적용
This commit is contained in:
parent
02c815077e
commit
3fe01f8def
|
@ -34,9 +34,13 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>(ActivitySplashBinding
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
|
||||||
val lp = binding.ivText.layoutParams as ConstraintLayout.LayoutParams
|
val lp = binding.ivText.layoutParams as ConstraintLayout.LayoutParams
|
||||||
lp.topMargin = screenHeight * 204 / 2337
|
lp.topMargin = screenHeight * 302 / 2337
|
||||||
binding.ivText.layoutParams = lp
|
binding.ivText.layoutParams = lp
|
||||||
|
|
||||||
|
val lp2 = binding.ivText2.layoutParams as ConstraintLayout.LayoutParams
|
||||||
|
lp2.bottomMargin = screenHeight * 195 / 2337
|
||||||
|
binding.ivText2.layoutParams = lp2
|
||||||
|
|
||||||
setupRemoteConfig()
|
setupRemoteConfig()
|
||||||
fetchAndroidLatestVersion()
|
fetchAndroidLatestVersion()
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 3.3 MiB |
Binary file not shown.
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 90 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
|
@ -8,7 +8,7 @@
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:contentDescription="@null"
|
android:contentDescription="@null"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="centerCrop"
|
||||||
android:src="@drawable/splash_bg"
|
android:src="@drawable/splash_bg"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
@ -18,11 +18,21 @@
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/iv_text"
|
android:id="@+id/iv_text"
|
||||||
android:layout_width="0dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:contentDescription="@null"
|
android:contentDescription="@null"
|
||||||
android:src="@drawable/splash_text"
|
android:src="@drawable/splash_text"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/iv_text2"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:contentDescription="@null"
|
||||||
|
android:src="@drawable/splash_text_2"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent" />
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
Loading…
Reference in New Issue