Jump to content

Supprimer bordure EditText ou changer sa couleur


Recommended Posts

oui c'est possible avec un selector state list en tant que Background:

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
   android:constantSize=["true" | "false"]
   android:dither=["true" | "false"]
   android:variablePadding=["true" | "false"] >
       android:state_pressed=["true" | "false"]
       android:state_focused=["true" | "false"]
       android:state_selected=["true" | "false"]
       android:state_checkable=["true" | "false"]
       android:state_checked=["true" | "false"]
       android:state_enabled=["true" | "false"]
       android:state_window_focused=["true" | "false"] />

et en plus c'est très bien expliquer dans la doc : http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...