/android_content_description

Automatically update android:contentDescription

Primary LanguageRuby

android_content_description

Automatically update android:contentDescription using android:text and falling back to android:hint.

gem install nokogiri

ruby update.rb

Change dir in update.rb to point to the XML layout folder. After running update, format the XML files manually using Eclipse. There's currently no way to use Android's XML formatter from the commandline.