0
많은 스터프를 추가하고 빼기를 시도했지만 스플래시 화면이 시작될 때마다 항상 이미지에 둥근 모서리 나 높이 유형이 있습니다.내 스플래시 화면 이미지가 항상 둥근 흰색 모서리가됩니다.
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#3c3734"
tools:context="com.example.akshay.athleticgo.SplashScreen">
<ImageView
android:id="@+id/splash_logo"
android:adjustViewBounds="true"
android:elevation="0dp"
android:fitsSystemWindows="true"
android:background="#3c3734"
android:src="@mipmap/ath_splash"
android:layout_height="match_parent"
android:layout_width="match_parent"/>
</FrameLayout>
는이 당신이 mipmap
폴더와 mipmap
에서 이미지를 사용하는 것처럼 내 스타일은 launcher
아이콘입니다
<style name="Theme.Transparent" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowNoTitle">true</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsTranslucent">true</item>
</style>
밉맵 및 밉맵에서 이미지를 사용하는 경우 런처 아이콘에만 사용됩니다. 대부분의 경우 런처 아이콘에는 그라데이션 테두리/그림자가 있습니다. 당신의 이미지에이 그라디언트 경계가 있다고 생각합니다. 먼저 이미지를 확인하십시오. – FAT
아니요 이미지는 테두리가없는 간단한 png 이미지입니다. mipamp가 아이콘 전용 인 경우 스플래시 화면의 이미지를 어디에 배치해야합니까? –
드로어 블 폴더에 있음. 경로 : /res/drawable/ath_splash.png – FAT