안녕하세요 안드로이드펍 가족님들
안드로이드 개발 초짜 입니다.
아이폰을 하다가 안드로이드로 넘어오니까
해상도에 다른 대응이 힘든데요ㅜㅜ 아직 기초 지식이 부족해서 많이 힘듭니다.
다름이 아니라 디자인쪽에서 1080*1920 해상도의 이미지
디자인된곳에서 버튼을 하나 잘르니
940*184이 되더군요. 그래서 버튼에 이미지로 넣었는데 포토샵에서 가져올때랑 다르게
버튼들이 너무크더라구요 가로는 가득차버리고요.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/etc" />
<Button
android:id="@+id/login_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/etc_bar_visit" />
</RelativeLayout>
포토샵에서 작업한 화면 비율과 폰에서 보이는 화면 비율이 왜 다른거죠
어떻게 처리하여야하나요 ㅜㅜ