Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

안드로이드 스플래시 화면에 ScalableLayout을 적용하고 싶은데요 #64

Open
wchamp333 opened this issue Aug 16, 2018 · 1 comment

Comments

@wchamp333
Copy link

wchamp333 commented Aug 16, 2018

안드로이드 앱에 스플래시 화면에 특정 이미지를 ScalableLayout을 적용하고 싶습니다
제가 개발하는 앱에 아래 예시처럼 적용을 해놨는데요
폰마다 비율이 다르게 나오는지라 ScalableLayout을 적용할 수 있을지 궁금해서 문의드립니다
(bitmap이 들어간 2번째 item에 적용하고 싶습니다)
xml 예제를 그대로 넣었더니 화면에 표시가 안되어 앞 대괄호는 삭제하였습니다
참고바랍니다

?xml version="1.0" encoding="utf-8"?>
layer-list xmlns:android="http://schemas.android.com/apk/res/android">
item
android:drawable="@color/white"/>
item
android:top="134dp"
android:left="61dp"
android:width="237dp"
android:height="158dp">
bitmap
android:gravity="fill_horizontal|fill_vertical"
android:src="@drawable/smart_logo_01"/>
/item>
/layer-list>

@ssomai
Copy link
Owner

ssomai commented Aug 16, 2018

안드로이드 Splash 화면에는 제가 알기로는 layout을 할 수 없는 걸로 알고 있습니다~.
그러니 ScalableLayout도 마찬가지로 적용을 할 수 없는 걸로 알고 있습니다 ㅎ

혹시 제가 잘 못 알고 있다면 지적 부탁드립니다 :)

감사합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants