I am using the android:onClick atribute in some of my .xml layout files for my android application, but ProGuard is removing these methods from my code when it runs
android:onClick
You can do it once for all your classes in this way:
-keepclasseswithmembers class * { void listener_*(...); }