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

뷰나 키보드로인해 렐러티브 엑티비티 정렬 변형현상.. [closed]

0 추천

일단 아래 뷰를이용해 리스트를 위에 추가하면 이쁘게 저렇게 정렬이 되어있습니다

그러다가 아래뷰를  아래로 숨기면

여긴없지만 보시다시피 정렬이 일정치가 않아져요


도무지 원인을 찾을수가없어 이렇게 질문을 올립니다..

캡쳐를 여기 올리는게 되질않아서..링크를 겁니다..

수고스러우시겠지만 http://cafe.naver.com/aphone -> (개발) 질문/답변 에 같은 제목있습니다..

 

의심가는 xml한 부분을 보여드릴게요 다올릴려하니 8천이 넘어간다고..ㅠㅠ

 

<LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
                android:layout_weight="2"
            android:layout_marginLeft="3dp"    
            android:orientation="vertical" >

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                
                android:layout_weight="2" >

                <TextView
                    android:id="@+id/tv_orderlist_item_2"
                    android:layout_width="0dip"
                    android:layout_height="match_parent"
                    android:layout_weight="2"
                    android:gravity="left" />
            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="2" >

                <TextView
                    android:id="@+id/tv_orderlist_item_6"
                    android:layout_width="0dip"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:gravity="left" />

                <TextView
                    android:id="@+id/tv_orderlist_item_4"
                    android:layout_width="0dip"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:gravity="right" />

            </LinearLayout>

        </LinearLayout>

 

질문을 종료한 이유: 자답입니다..이유는 dip만 줬음됬엇어용..ㅠㅠ
하고말테야 (770 포인트) 님이 2014년 1월 20일 질문
하고말테야님이 2014년 1월 20일 closed
...