Lazy Android 1.0.0.61

Add this URL to your Eclipse Installation to reach this Solution's Update Site.
More Info


Categories:

http://youtu.be/2t0c-x7HFJw

Right click an android XML layout, go to Fast Layout -> Generate Activity. It'll generate those tedious findViewById declarations. For the layout below, it produces:

/**********DECLARES*************/
private EditText addmanualname;
private EditText addmanualnumber;
private EditText addmanualemail;
private EditText addmanualmessage;
private EditText addmanualaddress;
private Button addmanualcontinueButton;
private Button addmanualbackButton;
/**********INITIALIZES*************/
addmanualname = (EditText) findViewById(R.id.addmanualname);
addmanualnumber = (EditText) findViewById(R.id.addmanualnumber);
addmanualemail = (EditText) findViewById(R.id.addmanualemail);
addmanualmessage = (EditText) findViewById(R.id.addmanualmessage);
addmanualaddress = (EditText) findViewById(R.id.addmanualaddress);
addmanualcontinueButton = (Button) findViewById(R.id.addmanualcontinueButton);
addmanualbackButton = (Button) findViewById(R.id.addmanualbackButton);

Additional Details

  • Version Number: 1.0.0.61
  • Eclipse Versions: INDIGO
  • Organization: Calculating a Surface Normal Blog
  • Date Created: 01/09/2011
  • Date Updated: 16/09/2011
  • Development Status: Alpha
  • License: Apache 2.0
  • Submitted by: Ryan Mattison
  • This listing has been installed 159 times in the last 30 days.

Reviews

Add a Review

great plugins

Great plugin! More like this.

I only would prefer call it directly from code, like quick action (like "Generate toString()") if cursor will be on layout reference or open dialog with layout search.

Thanks

Thanks a ton for the positive feedback by the way! I felt like I saved a chunk of people a fair amount of time, and you're the ONLY response or feedback I've had thus far! I've added a # of changes that impact development for rapid developers and help avoid repetitive injuries, I'm waiting for a few more comments or for people to check into the source control branch. I've had about 10 people rip it off and blog about it, 0 check in anything to the source control branch. Makes me feel like open source development is a joke.

More with it

Hey Tomas,

I'd love to do a lot more with it. Not as much time as I would like. The source code is open on my blog if you'd like to add more shortcuts to it, please check them in and i'll update the tool =).

Thanks,

Ryan Mattison