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.

Comment connaitre le "widget" sur lequel on appuie

Featured Replies

Posté(e)

Bonjour

J'utilise l'évènement OnTouchEvent pour faire certains traitements lors de l'appuie du doigt sur l'écran : cela marche bien. Par contre, j'aimerais savoir sur quel "widget" de l'activity je suis en train d'appuyer et là je ne sais pas trop comment faire...

Est-ce que quelqu'un aurait une idée ?

Merci d'avance

Modifié par TsCyrille

Posté(e)

Tu pourrais mettre un OnTouchListener ou un OnClickListener sur les widgets qui t'intéresse pour le savoir

Cela sera transparent pour l'utilisateur

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.