안녕하세요, 내 EditText 상자를 내 ScrollView 위에 놓아서 사용자가 여전히 아래로 스크롤 할 수 있지만 같은 시간에 여전히 고정 된보기에서 EditText를 볼 수 있습니다. 어떻게해야합니까?//ScrollView 아래 EditText 상자의 코드?
이 내 코드에서
<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:background="#000000"
tools:context=".BitActivity" >
<EditText
android:id="@+id/input"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:ems="10"
android:gravity="center"
android:hint="Type In Your Value"
android:inputType="numberDecimal"
android:textColor="#2FB3E3"
android:textSize="30px" >
<requestFocus />
</EditText>
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:id="@+id/byte1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_below="@+id/input"
android:gravity="center"
android:text="Please Enter a Value"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#FFFF00"
android:textSize="40px" />
</RelativeLayout>
</ScrollView>
</RelativeLayout>
와우 당신은 내 대답을 downvote에 서둘러 어쨌든 그것을 시도하지 않은 것에 대한 미안하지만, textview와 겹친다. – user2283550