0

I'm a beginner in android.While designing ai image button in the graphical layout in .xml file ,I'm getting error. the error if "Missing contentDescription attribute on image "

Now how can I solve this problem?

STM
  • 11
  • 5

1 Answers1

0

Add a content description or disable it with

android:contentDescription="@null"
jmhostalet
  • 4,399
  • 4
  • 38
  • 47
  • Actually you should use... tools:ignore="ContentDescription" Make sure you include the namespace in the top like... xmlns:tools="http://schemas.android.com/tools" – Sotti Nov 11 '14 at 17:24