Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

spinner android add underline like edittext

<?xml version="1.0" encoding="utf-8"?>
<inset xmlns:android="http://schemas.android.com/apk/res/android"
    android:insetBottom="8dp"
    android:insetLeft="4dp"
    android:insetRight="4dp"
    android:insetTop="4dp">
    <selector>
        <item
            android:state_checked="false"
            android:state_pressed="false">
            <layer-list>
                <item
                    android:left="-8dp"
                    android:right="-8dp"
                    android:top="-8dp">
                    <shape android:shape="rectangle">
                        <stroke
                            android:width="1dp"
                            android:color="@color/colorAccent" />
                        <padding android:bottom="4dp" />
                    </shape>
                </item>
            </layer-list>
        </item>
        <item>
            <layer-list>
                <item
                    android:left="-8dp"
                    android:right="-8dp"
                    android:top="-8dp">
                    <shape android:shape="rectangle">
                        <stroke
                            android:width="2dp"
                            android:color="@color/colorAccent" />
                        <padding android:bottom="4dp" />
                    </shape>
                </item>
            </layer-list>
        </item>
    </selector>
</inset>
Comment

PREVIOUS NEXT
Code Example
Java :: java singleton with synchronized 
Java :: jbutton scroll list full width size 
Java :: The root directory of the External Storage on every android version 
Java :: how to enforce xml dtd validation in java 
Java :: install the app from assest of other app 
Java :: anulom vilom in english 
Java :: java datasource 
Java :: spigot self cancelling task 
Java :: aggregationoperation multi match 
Java :: how to avoid outside click of alerdialoge android 
Java :: how to come from 2nd fragment to first fragment android 
Java :: closable resources java 
Java :: final java 
Java :: how to apply validation on aiphanumeric series starting with 4 characters with 4 letters in java 
Java :: Java @Retention 
Java :: run app by package android 
Java :: how to save rich text format in database using java 
Java :: Filter out any non-printable characters 
Java :: do switch statement always run default java 
Java :: login in java with 3 attepmtps 
Java :: how to make a typewriter effect in jaca 
Java :: is type java 
Java :: findby(xpath selenium java) 
Java :: sudoku generator java code 
Java :: younger brother of java 
Java :: java Map to LinkedHashMap with ascending order of keys 
Java :: material design implement full screen dialog android java 
Java :: custom class level annotation in spring 
Java :: how to set slected row color in javafx tableview 
Java :: least significant bit java 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =