안드로이드 스튜디오 layout_below가 먹히지 않아요 ㅠㅠ
조회수 909회
큰 틀이 프레임레이아웃이고 그 아래에 릴레이티브 레이아웃을 주고 그 다음 scrollview랑 linearlayout, 그리고 또 다시 relative레이아웃을 줬습니다. 근데 layout_below가 먹히지 않네요 ㅠㅠㅠㅠ 왜 안먹히는지 알려주세요...코드가 왜 짤려나오는지는 모르겠는데 처음 큰 틀이 framlayout입니다 <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:id="@+id/statusBar"
android:layout_width="match_parent"
android:layout_height="46.1dp"
android:background="@color/mainPurple">
<ImageButton
android:layout_width="114dp"
android:layout_height="19dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="13.5dp"
android:background="@drawable/logo"/>
</RelativeLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="never"
android:scrollbars="none">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/banner"
android:layout_width="wrap_content"
android:layout_height="175dp">
<ImageButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/banner"/>
<Button
android:id="@+id/alignLeftButton"
android:layout_width="3dp"
android:layout_height="3dp"
android:background="@drawable/able_circle"
android:layout_marginTop="157dp"
android:layout_marginLeft="163dp"/>
<Button
android:id="@+id/leftButton"
android:layout_width="3dp"
android:layout_height="3dp"
android:background="@drawable/enable_circle"
android:layout_marginTop="157dp"
android:layout_alignLeft="@+id/alignLeftButton"
android:layout_marginLeft="5dp"/>
<Button
android:id="@+id/centerButton"
android:layout_width="3dp"
android:layout_height="3dp"
android:background="@drawable/enable_circle"
android:layout_marginTop="157dp"
android:layout_alignLeft="@+id/leftButton"
android:layout_marginLeft="5dp"/>
<Button
android:id="@+id/rightButton"
android:layout_width="3dp"
android:layout_height="3dp"
android:background="@drawable/enable_circle"
android:layout_marginTop="157dp"
android:layout_alignLeft="@+id/centerButton"
android:layout_marginLeft="5dp"/>
<Button
android:id="@+id/alignRightButton"
android:layout_width="3dp"
android:layout_height="3dp"
android:background="@drawable/enable_circle"
android:layout_marginTop="157dp"
android:layout_alignLeft="@+id/rightButton"
android:layout_marginLeft="5dp"/>
</RelativeLayout>
</LinearLayout>
</ScrollView>
-
(•́ ✖ •̀)
알 수 없는 사용자
댓글 입력