Aller au contenu
View in the app

A better way to browse. Learn more.

Forum de Frandroid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Supprimer bordure EditText ou changer sa couleur

Featured Replies

Posté(e)

Bonjour à tous!

Est-il possible de supprimer les bordure d'un EditText ou de changer sa couleur pour qu'il ne s'affiche pas en rose lorsqu'il a le focus?

Merci de votre aide!

Posté(e)

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"] >
   <item
       android:drawable="@[package:]drawable/drawable_resource"
       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"] />
</selector>

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

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Account

Navigation

Rechercher

Rechercher

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.