Android 输入样式不统一

Android 输入样式不统一,android,layout,android-edittext,spinner,Android,Layout,Android Edittext,Spinner,看看这有多难看: 以下是我的XML: <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="20dp" android:descendantFocusability="beforeDesc

看看这有多难看:

以下是我的XML:

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:padding="20dp"
        android:descendantFocusability="beforeDescendants"
        android:focusableInTouchMode="true">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="20dp"
            android:text="Style"
            android:textSize="18sp" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Position" />

        <Spinner
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:entries="@array/array_positions"
            android:layout_marginBottom="20dp" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Icon Color" />

        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:ems="10"
            android:text="red"/>

    </LinearLayout>

如何使微调器和edittext始终看起来相同?我甚至尝试将
style=“@style/Widget.AppCompat.Spinner.barrented”
添加到微调器,虽然它添加了底线,但填充和字体大小仍然不同