This page is a list of tools hosted made by me for Android.
At the moment, there is only one tool here.
- Android Layout Finder: The Android Layout Finder helps you create the code that ties your Android UI and Java code together.
![]() |
Buzzing AndroidAndroid niceties for developers |
This page is a list of tools hosted made by me for Android.
At the moment, there is only one tool here.
Android Layout Finder
Thanks for the great tool. One suggestion that would really help me is to have the option to generate java code for a fragment.
i.e. mProgressBar = (ProgressBar)getView().findViewById( R.id.progressBar );
instead of
mProgressBar = (ProgressBar)findViewById( R.id.progressBar );
Also (and maybe a little more tricky) it would be great to have some options for the variable names. I often name my layout ids something like my_layout but name my variables conforming to java standards, like myLayout. Not a big deal, but would be cool.
Thanks
Josh
Thanks for your comment.
Your first suggestion is already achieveable: If using the “Member variables” code type, you can enter “getView()” as the custom view root variable in the settings. If using “ViewHolder pattern”, you can simply call “ViewHolder.create( getView() )” from your code.
As for your suggestion with camel casing the variable names: Great idea!
I have just implemented this as default behaviour. It can be disabled be checking the new checkbox labeled “Don’t convert underscores to camelCase”.
Jesper
Thanks thats awesome. Such a great tool.
nice tool ^^
my team are using this tool ^^.
Thanks!!! Greate tool.
Thanks for sharing, great info~!
It’s amazing tools for devloper.It’s save lots of work.you are profesional and smart android devloper man.
great job ..
Awesome ….Thanks.Great Tool…