마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

레이아웃 질문이 있습니다!

0 추천

 

먼저 이렇게 설정하고 스마트폰으로 확인해보니

 

 

이렇게 나와요 ㅠㅠ 이클립스에서 나오는 화면이랑 스마트폰에서 나오는 화면이 달라요 ㅠㅠ

옆에 스크롤이 있어요. 이미지버튼뷰에 공간이 많이 있어서 노란색 보이시죠? 노란색 위에는 리스트뷰 공간이에요.

스마트폰화면에서는 어떻게 하면 이클립스에 나오는 화면처럼 만들 수 있을까요?

 

xml파일입니다.

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <ListView
        android:id="@+id/list"
        android:layout_width="match_parent"
        android:layout_height="424dp"
        android:clickable="false"
        android:focusable="false" >

    </ListView>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:gravity="bottom|center" >

        <ImageButton
            android:id="@+id/action_photo"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:onClick="onClick"
            android:background="#FFFFFF"
            android:text="캡쳐 리스트"
            android:src="@drawable/ic_photo" />

    </LinearLayout>

</LinearLayout>

성수소년 (550 포인트) 님이 2015년 10월 9일 질문

답변 달기

· 글에 소스 코드 보기 좋게 넣는 법
· 질문에 대해 추가적인 질문이나 의견이 있으면 답변이 아니라 댓글로 달아주시기 바랍니다.
표시할 이름 (옵션):
개인정보: 당신의 이메일은 이 알림을 보내는데만 사용됩니다.
스팸 차단 검사:
스팸 검사를 다시 받지 않으려면 로그인하거나 혹은 가입 하세요.
...