안녕하세요
앱에 멀티윈도우를 지원하고자 합니다. 근데 앱 특성상 최소 360dp의 width를 가져야합니다.
멀티윈도우를 하게되면 가로크기 조절이 가능해져서..... 이상해집니다 ㅠ
물론 사용자가 알아서 크기 조절해서 사용도 할 수 있겠으나...
아예 크기 조절을 360dp 이하로 못하게 막고 싶습니다.
관련 방법을 찾아보니 아래의 링크에 내용이 있긴한데요
(https://developer.android.com/guide/topics/ui/multi-window?hl=ko)
<activity android:name=".MyActivity">
<layout android:defaultHeight="500dp"
android:defaultWidth="600dp"
android:gravity="top|end"
android:minimalHeight="450dp"
android:minimalWidth="300dp" />
</activity>
근데 위처럼 해보면 빌드에러가 납니다 ㅠㅠ
error: attribute android:minimalHeight not found
error: attribute android:minimalWidth not found
관련해서 검색을 해봐도.... 방법을 못 찾겠네요.
질문을 요약하자면!!
멀티윈도우상황에서 최소 height, width 제한을 두는 방법을 알려주세요!
조언 부탁드립니다. 감사합니다~