1//Don't get the ID name/string from the view ID.
2
3//Instead use the
4android:tag = "String"
5//in your xml
6
7//Then in Java use
8View.getTag()
9
10//To still get the ID name/string from view ID.
11getResources().getResourceEntryName(View.getId())