Android 编辑文本一个在焦点中其他人不可见?

Android 编辑文本一个在焦点中其他人不可见?,android,focus,android-edittext,border,Android,Focus,Android Edittext,Border,我对表格有问题 我插入了3个编辑文本,其中一个处于焦点,但其他文本不可见,但我们可以单击 有什么问题?即使没有焦点,我也可以为其他edittext设置底部边框吗 编辑: 以下是问题的图像: 以下是布局的代码: <?xml version="1.0" encoding="UTF-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/

我对表格有问题

我插入了3个编辑文本,其中一个处于焦点,但其他文本不可见,但我们可以单击

有什么问题?即使没有焦点,我也可以为其他edittext设置底部边框吗

编辑:

以下是问题的图像:

以下是布局的代码:

<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/group_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/btnBackground"
    android:orientation="horizontal" >



    <RelativeLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_marginBottom="10dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:layout_marginTop="10dp"
        android:background="@color/white" >

        <ScrollView
            android:id="@+id/scrollView1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" >

            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:orientation="vertical" >

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:layout_marginTop="10dp"
                    android:orientation="vertical" >

                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content" >

                        <TextView
                            android:id="@+id/TextView05"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="Titre du deal"
                            android:textColor="@color/hautLayout"
                            android:textSize="16dp" />


                        <EditText
                            android:id="@+id/EditText_titre"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="5dp"
                            android:layout_weight="1" >

                            <requestFocus />
                        </EditText>
                    </LinearLayout>

                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content" >

                        <TextView
                            android:id="@+id/TextView04"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="Lien du deal"
                            android:textColor="@color/hautLayout"
                            android:textSize="16dp" />


                        <EditText
                            android:id="@+id/EditText_lien"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="5dp"
                            android:layout_weight="1" />

                    </LinearLayout>

                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content" >

                        <TextView
                            android:id="@+id/TextView03"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="Prix sans réduction"
                            android:textColor="@color/hautLayout"
                            android:textSize="16dp" />


                        <EditText
                            android:id="@+id/EditText_PrixSansReduc"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="5dp"
                            android:layout_weight="1" />

                    </LinearLayout>


        </ScrollView>

    </RelativeLayout>

</RelativeLayout>


如果你不提供布局文件,没有人能帮你,还有一张带有3
editText
的图片也不错。看看这是不是你的意思::我已经根据你的要求编辑了这篇文章。