Skip to main content
  • Log in
  • Manage Cookies
Eclipse Plugins, Bundles and Products - Eclipse Marketplace
  • My Marketplace
  • Add Content
  • More
      • Community

      • Marketplace
      • Events
      • Planet Eclipse
      • Newsletter
      • Videos
      • Blogs
      • Participate

      • Report a Bug
      • Forums
      • Mailing Lists
      • Wiki
      • IRC
      • Research
      • Eclipse IDE

      • Download
      • Learn More
      • Documentation
      • Getting Started / Support
      • How to Contribute
      • IDE and Tools
      • Newcomer Forum
  1. Home
  2. Marketplace
  3. Tools (1323)
  4. Lazy Android

Lazy Android

Lazy Android
11
10
Install

Drag to Install!

Drag to your running Eclipse* workspace.
*Requires Eclipse Marketplace Client

Add this URL to your Eclipse Installation to reach this solution's update site.

Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)
Neon (4.6)
Oxygen (4.7)
Photon (4.8)
2018-09 (4.9)

https://raw.githubusercontent.com/Yinten/AndroidRadTools/master/LazyAndroidUpdateSite

Learn more...

Details Group Tabs

Details

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

Please expand on it @ https://github.com/Yinten/AndroidRadTools and check in and

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);

<?xml version="1.0" encoding="utf-8"?>
android:layout_height="wrap_content">

xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:orientation="vertical"
android:paddingLeft="5px">

android:layout_height="wrap_content">

android:layout_height="wrap_content" android:textSize="24px"
android:textStyle="bold" android:text="Add Contact"
android:paddingBottom="5px" android:layout_centerHorizontal="true" />

android:layout_height="wrap_content" android:textSize="18px"
android:text="Name:" android:paddingBottom="5px" />

android:layout_height="wrap_content" android:text="" android:gravity="top|left" />

android:layout_height="wrap_content" android:text="And/Or"
android:textSize="26dip" android:textStyle="bold" android:paddingTop="5dip"
android:paddingBottom="5dip" />

android:layout_height="wrap_content" android:textSize="18dip"
android:text="Number:" android:paddingBottom="5dip" />

android:layout_height="wrap_content" android:text="" android:gravity="top|left" />

android:layout_width="wrap_content" android:layout_height="wrap_content"
android:src="@+drawable/settings_divider" android:padding="10dip" />

android:layout_height="wrap_content" android:textSize="18dip">

android:layout_height="wrap_content" android:text="" android:gravity="top|left"
android:padding="10dip" />

android:layout_height="wrap_content" android:textSize="18dip"
android:text="Message:" android:paddingBottom="5dip" />

android:layout_height="150dip" android:text="" android:gravity="top|left" />
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:src="@+drawable/settings_divider" android:padding="10dip" />

android:layout_height="wrap_content" android:textSize="18dip"
android:text="Address:" android:paddingBottom="5dip" />

android:layout_height="150dip" android:text="" android:gravity="top|left" />

android:layout_height="wrap_content">

android:layout_height="wrap_content" android:paddingTop="5dip"
android:orientation="horizontal" android:layout_centerHorizontal="true" android:paddingBottom="5dip">
android:layout_width="100dip" android:layout_height="34dip"
style="?android:attr/buttonStyleSmall" android:text="Save"
android:textSize="13sp" android:typeface="sans" android:textColor="#5C5D60"
android:textStyle="bold">

android:layout_width="100dip" android:layout_height="34dip"
style="?android:attr/buttonStyleSmall" android:text="Cancel"
android:textSize="13sp" android:typeface="sans" android:textColor="#5C5D60"
android:textStyle="normal">



Categories:
  • Application Development Frameworks,
  • General Purpose Tools,
  • Linux Tools,
  • Mobile and Device Development,
  • Tools
Tags:
  • android,
  • Ryan Mattison,
  • https://github.com/Yinten/AndroidRadTools
Additional Details
Eclipse Versions: 
Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), Neon (4.6), Oxygen (4.7), Photon (4.8), 2018-09 (4.9)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
Calculating a Surface Normal
Development Status: 
Alpha
Date Created: 
Thu, 2011-09-01 23:31
Date Updated: 
Mon, 2019-02-04 13:51
Submitted by: 
Ryan Mattison
Metrics
DateRankingInstallsClickthroughs
May 2022NA0 (0%)11
April 2022814/8171 (0%)21
March 2022802/8201 (0%)17
February 2022752/8192 (0%)14
January 2022NA0 (0%)22
December 2021NA0 (0%)14
November 2021NA0 (0%)17
October 2021789/8261 (0%)28
September 2021NA0 (0%)26
August 2021NA0 (0%)21
July 2021NA0 (0%)24
June 2021823/8421 (0%)16
May 2021NA10
View Data for all Listings
Errors

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)
External Install Button

Marketplace Drag to Install button

By adding the following code below to your website you will be able to add an install button for Lazy Android.

HTML Code:


Markdown Syntax:



Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Friday, May 20, 2022 - 23:30

Reviews Sign in to post reviews

jvell's picture

Extra additions

Submitted by Jim Vell on Thu, 2015-11-05 05:52

Hi. Just came across this. (havnt been active lately) but this is a handy, quick/dirty way to generate code on the go...

How about adding support for event handlers per resid var generated, but in a more robust way.

Ie:

which ever res is generated attach an option beside it so developer can select which event listener to attach to this res view.
(Optional) Present this option as a Dialog in Preview mode before code is generated

This way (while coding) we wont need to do this manually ourselves.

Another macro addition would serve for quicker code generation less extra time spent to attach the listener to the generated view.

mschmitzoad's picture

UpdateSite isn't reachable

Submitted by Marco Schmitz on Thu, 2012-10-11 05:15

Hi,

I'd like to install this one, but I am stuck with the error

Unable to read repository at [LazyAndroidUpdateSite].
[LazyAndroidUpdateSite] is not a valid repository location.

Best Regards,
Marco

rmattison's picture

Sorry

Submitted by Ryan Mattison on Thu, 2014-03-27 03:30

Updated, nothing has changed --- can use on all eclipse versions & download again.

jbuser0qg's picture

Interesting idea

Submitted by Justin Buser on Tue, 2012-06-26 23:06

I didn't actually install or try it but I did watch the demonstration video. I prefer to do most of my layouts programmatic-ally but I do occasionally use xml layouts. Not really often enough where something like this would be useful for me but it did make me think about it a bit. I think if you were able to alter it a bit so someone would right click on a layout and click generate activity and then have the standard create class / package dialog pop up it would be pretty handy. Basically it would be just like creating a new class, except after you picked the name/package you would end up with a new activity class preloaded with your variables / oncreate function / listeners for buttons / lists / etc... You could even have it generate custom view instances per each internal layout...

Anyway, it's a good start, I'll be keeping an eye on your progress...

rwinsauer's picture

Thanks for the plugin

Submitted by Ryan Winsauer on Sat, 2012-06-09 08:18

Thanks for spending your time on this and sharing it with the community.

gmurfin's picture

Awesome plugin!

Submitted by Gareth Murfin on Fri, 2012-05-25 10:08

Thanks for this amazing plugin, it removes a HUGE HUGE amount of tedium from android coding, good work Ive just saved myself tons of time!

tprochazka's picture

great plugins

Submitted by Tomas Prochazka on Sat, 2011-10-15 05:43

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.

rmattison's picture

If you still doing Android

Submitted by Ryan Mattison on Thu, 2014-03-27 03:31

I just got back into it a little bit, but source is here if you have ideas to add.

https://github.com/Yinten/AndroidRadTools

rmattison's picture

Thanks

Submitted by Ryan Mattison on Tue, 2011-12-06 07:37

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.

rmattison's picture

More with it

Submitted by Ryan Mattison on Sun, 2011-11-20 17:50

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

Markets

  • Eclipse Project (4)
  • Tools (1323)
    • Application Development Frameworks (163)
    • Application Management (27)
    • Application Server (33)
    • BIRT (10)
    • Build and Deploy (102)
    • Business Intelligence, Reporting and Charting (14)
    • Code Management (116)
    • Collaboration (37)
    • Database (46)
    • Database Development (34)
    • Database Persistence (17)
    • Documentation (61)
    • Eclipse Kura (112)
    • Eclipse SmartHome (46)
    • EclipseRT Target Platform Components (8)
    • Editor (336)
    • Entertainment (14)
    • General Purpose Tools (122)
    • Graphics (33)
    • IDE (339)
    • Internet of Things (IoT) (34)
    • J2EE Development Platform (44)
    • J2ME (6)
    • Languages (154)
    • Linux Tools (19)
    • Logging (22)
    • Mobile and Device Development (50)
    • Modeling (91)
    • Modeling Tools (146)
    • Mylyn Connectors (20)
    • Network (14)
    • Other (73)
    • Process (18)
    • Profiling (22)
    • Programming Languages (99)
    • Reporting (32)
    • Rich Client Applications (40)
    • Science (4)
    • SCM (20)
    • Search (41)
    • SOA Development (15)
    • Source Code Analyzer (100)
    • Systems Development (56)
    • Team Development (55)
    • Testing (90)
    • Tools (562)
    • UI (93)
    • UML (41)
    • Web (91)
    • Web Services (32)
    • Web, XML, Java EE and OSGi Enterprise Development (32)
    • XML (29)
  • IoT (162)
    • Eclipse Kura (112)
    • Eclipse SmartHome (46)
  • RCP Applications (78)
  • Training & Consulting (53)
  • Long Term Support (11)

Search

Advanced Search

More like this

  • Advanced Prototyping tool- Justinmind Free Edition
  • Gluon Plugin
  • IIZI
  • Appium Studio for Eclipse
  • Convertigo Low Code / No Code platform

Favorited by

Eclipse Foundation

  • About Us
  • Contact Us
  • Donate
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors

Legal

  • Publishing Guidelines
  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Welcome to Marketplace
  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace

Other

  • IDE and Tools
  • Projects
  • Working Groups
  • Research@Eclipse
  • Report a Vulnerability
  • Service Status

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top