Android Studio/IntelliJ IDEA Plugin for Android code generation
Plugin for generation of Android code from XML files (layouts, menus).
For more information please see the website
Or see the plugin in jetbrains repository.
This plugin is based on a library: android-codegenerator-library.
The library is responsible for:
- extracting important information from XML files
- generating Java code based on extracted information and templates
You can install plugin from repository:
Then type in search:
Android code Generator
Download & Installation
All available versions of plugin are in releases
You can download zip file from latest release and install it manually in:
Preferences/Settings->Plugins->Install plugin from disk
- ISSUE #11: Add Butter Knife support.
- ISSUE #19: Code generation dialog box is out of the screen!
- ISSUE #13: Change Plugin name
- ISSUE #7: Android Studio throwing error when Android Designer editor is open.
- ISSUE #8: Source path's on windows are too long.
- ISSUE #9: Error when creating file on windows .
- ISSUE #10: Adding github.io page link to Plugin description.
- Support for IntelliJ IDEA 14.
- ISSUE #2: Templates should be editable in PreferencesPages.
- ISSUE #6: When plugin is about to override existing file content user should be informed.
- ISSUE #5: Source path should be retrieved from project and there should be combo instead of text field.
- ISSUE #1: Editor should pops up when creating file.
- ISSUE #3: Source path should be saved in persistence store.
- ISSUE #4: Generate Code Menu Options should be available through editor.
- generating Activity Class code from layout
- generating Fragment Class code from layout
- generating Adapter Class code from item layout
- generating Menu code from menu xml
- creating files from code
- preview screen with generated code that can be modified before creation of file
- detection of project package
Tomasz Morcinek - http://morcinek.co.uk
<img alt="Follow me on Google+"
<img alt="Follow me on LinkedIn"
<img alt="Checkout my Applications in Google Play"
Copyright 2014 Tomasz Morcinek.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.