Norway


android-er: edittext with drawable icon - EditText 2Bwith 2Bdrawable 2Bicon - Android-er: EditText with drawable icon
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:="http://schemas..com/apk/res/"
    xmlns:tools="http://schemas..com/tools"
    :layout_width="match_parent"
    :layout_height="match_parent"
    :layout_margin="20dp"
    :orientation="vertical"
    tools:context="com.blogspot._er.androidedittextchanged.MainActivity">

    <FrameLayout
        :layout_width="match_parent"
        :layout_height="match_parent">
        <ImageView
            :layout_width="match_parent"
            :layout_height="match_parent"
            :src="http://-er.blogspot.com/@:mipmap/sym_def__"/>
        <LinearLayout
            :layout_width="match_parent"
            :layout_height="match_parent"
            :orientation="vertical">
            <TextView
                :id="@+id/title"
                :layout_width="wrap_content"
                :layout_height="wrap_content"
                :layout_gravity="center_horizontal"
                :layout_marginTop="10dp"
                :layout_marginBottom="10dp"
                :autoLink=""
                android:text="http://android-er.blogspot.com/"
                android:textStyle="bold"/>
            <
                android:id="@+id/1"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text="normal "/>
            <
                android:id="@+id/2"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text=" with drawableLeft"
                android:drawableLeft="@mipmap/ic_launcher"/>
            <
                android:id="@+id/3"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text=" with drawableRight"
                android:drawableRight="@mipmap/ic_launcher_round"/>
            <
                android:id="@+id/4"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text=" with drawableTop"
                android:drawableTop="@mipmap/ic_launcher"/>
            <
                android:id="@+id/5"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text=" with drawableBottom"
                android:drawableBottom="@mipmap/ic_launcher_round"/>
            <
                android:id="@+id/6"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text=" with background"
                android:background="@mipmap/ic_launcher"/>
        </LinearLayout>
    </FrameLayout>


</LinearLayout>




Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here