AutoCompleteTextView in android



  • Good afternoon! There's a small question:

    There is an AutoCompleteTextView of this type:

        <android.support.design.widget.TextInputLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_row="0"
                android:layout_column="2">
                <AutoCompleteTextView
                    android:id="@+id/address_field"
                    android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentEnd="true"
                    android:layout_alignParentStart="true"
                    android:layout_alignParentTop="true"
                    android:ems="11"
                    android:hint="@string/address"
                    android:imeOptions="actionNext"
                    android:maxLines="3"
                    android:layout_marginLeft="30dp"
                    android:singleLine="false"
                    android:enabled="true"
                    android:textColor="#757575"
                 />
            </android.support.design.widget.TextInputLayout>
    

    How do you stylish him so he can look at the border guards? There you go. example



  • It's normal. 9-patch background. http://android-holo-colors.com/ You can create a theme with your chosen color.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2