Well. The current app is quite simple. Few forms and a database. So I thought it will not be challenging (enough to make me continue ).
But how wrong was I!
To start with, I had to struggle with layouts. I thought gridlayout - the one I had never used before, could be good. And it said it needed sdk 14 and above. Fine i will go with that because who has a phone older than kitkat. If there are some people, they will not download any apps.
So I tried neatly giving textviews and editexts in gridlayout. Unlike table layout, I need not mention row each time. But it was difficult. No matter what I do, the second column would go beyond the screen. I tried various combinations and finally realized that I should not use width and heights for views within the layout. Who knew!
And then came the simple spinner. I should show existing values and should be able to add a new value. I could not. I tried a tweak or several tweaks shown in google suggestions. But now the new value will immediately take me to next screen, without giving me any time to understand whatthe hell is happening.
Finally the solution. It was called auto complete text view.
Who knew? These trivial forms in this trivial app could be sodifficult challenging.
In other news, the neighborhood is suspiciously quiet today. Not quiet as in no birdish insectish sound. Quiet as in no human noise. Any idea why?
But how wrong was I!
To start with, I had to struggle with layouts. I thought gridlayout - the one I had never used before, could be good. And it said it needed sdk 14 and above. Fine i will go with that because who has a phone older than kitkat. If there are some people, they will not download any apps.
So I tried neatly giving textviews and editexts in gridlayout. Unlike table layout, I need not mention row each time. But it was difficult. No matter what I do, the second column would go beyond the screen. I tried various combinations and finally realized that I should not use width and heights for views within the layout. Who knew!
And then came the simple spinner. I should show existing values and should be able to add a new value. I could not. I tried a tweak or several tweaks shown in google suggestions. But now the new value will immediately take me to next screen, without giving me any time to understand what
Finally the solution. It was called auto complete text view.
Who knew? These trivial forms in this trivial app could be so
In other news, the neighborhood is suspiciously quiet today. Not quiet as in no birdish insectish sound. Quiet as in no human noise. Any idea why?
Comments
Post a Comment