splash_background.xml
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" />
<item>
<bitmap android:src="@drawable/logo"
android:gravity="center"
/>
</item>
</layer-list>
style.xml
<!-- Splash theme. -->
<style name="SplashTheme" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">@drawable/splash_background</item>
</style>
AndroidManifest.xml
<activity android:name=".SplashActivity"
android:theme="@style/SplashTheme"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
이렇게 첫 로딩화면 (스플래쉬 화면)을 생성하고 있습니다.
스마트폰 크기 위주로 만들어서 사용했는데
태블릿(10인치)용 화면으로 만들려고 하니 xml이라 쉽게 건들 수가 없네요
화면 비율대로 로고의 크기를 조절하고 싶은데
방법이 있을까요?