Advertisement
Guest User

EditText with Icon

a guest
Jun 15th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.11 KB | None | 0 0
  1. <LinearLayout
  2.        style="@style/input.black"
  3.        android:layout_width="300dp"
  4.        android:layout_height="50dp">
  5.         <!--android:layout_marginTop="145dp"
  6.        android:orientation="horizontal"
  7.        app:layout_constraintEnd_toEndOf="parent"
  8.        app:layout_constraintStart_toStartOf="parent"
  9.        app:layout_constraintTop_toTopOf="parent"-->
  10.  
  11.         <ImageView
  12.            android:id="@+id/imageView"
  13.            android:layout_width="wrap_content"
  14.            android:layout_height="match_parent"
  15.            android:layout_weight="1"
  16.            app:srcCompat="@drawable/ic_at" />
  17.  
  18.         <EditText
  19.            android:id="@+id/editText3"
  20.            style="@style/inputblacktext"
  21.            android:layout_width="wrap_content"
  22.            android:layout_height="wrap_content"
  23.            android:layout_weight="10"
  24.            android:background="#00000000"
  25.            android:ems="10"
  26.            android:fontFamily="@font/open_sans"
  27.            android:inputType="textPersonName"
  28.            android:text="asfasgag"
  29.            android:textSize="18sp" />
  30.     </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement