나는 기본 배경과 배경의 하단에 배치하고자하는 textview 있지만 textview 특정 수준에 도달하면 배경으로 사라지기 시작합니다 더 아래로 내가 XML에서 textview 놓습니다.배경의 맨 아래쪽에 텍스트 뷰를 놓을 때 배경의 텍스트 배경이 사라지는 이유는 무엇입니까?
<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"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity"
android:background="@drawable/main_background" >
<TextView
android:id="@+id/start_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="537dp"
android:text="@string/start"
android:textColor="#000000"
android:textSize="20sp" />
</RelativeLayout>
내가 위의 텍스트 만 터치 스크린의 상단 절반은 시작하려면 보여주는 붙여 넣은 코드와 텍스트 뷰. 텍스트의 아래쪽 절반이 내 배경으로 사라졌습니다. 그냥 분명히 나는 내 배경에서 textview를 옮기지 않았다. 내 배경 영역 밖에서 textview를 배치했다는 생각을하는 사람들은 내 배경 영역에있다. 그렇다면 왜 텍스트 뷰를 추가하면 텍스트 뷰 텍스트가 사라지나요?
마진 상단의
처럼 보일 것이다 bottom.It에서 텍스트 뷰를 배치하려는 경우 – Caner