hi, thanks a lot for the answer.
you mean the images located in Resources/Corona ? (widget_theme_android.png for instance)
I have even more questions now :
- I will have to create also the 2x and 4x versions, right?
- I will have to create a full set of images for every different color I'd like to use?
- once I have the images, do I have to create another theme or how can I reference to just the images, not the full theme?
do you know if there is there any other approach to create tabs or progress bars, maybe custom plugins, or at least a detailed guide for newbies on how to do it?
I have the feeling this is getting very very complicated, and every step I do gets into more complicated things. I have taken a look to the segmented_control but I also have this imaging problem.
As a reference I have implemented 60% of the logic of my application in 5 days, but spent more than 2 days stumbling in this "simple" thing.
btw, your framework looks really nice.
Again. thanks a lot for the support.
In direct answer to the highlighted points:
- No; I would only create the 4x images and let Corona scale them. This will happen naturally. TBH, creating both is a matter of creating the higher quality version and downsizing it in your image editor.
- Yes; But it depends on how many themes you want. If you only need one, then you only need to create one tab bar image.
- Other approaches include building a set of buttons yourself, using the button widget and not using images for the tab bar and simply rendering the higlighting yourself, using the display.* api.
- You are over complicating it. Honestly, just create one image for the tab bar widget and see how it goes. All you need to do it colour the image which comes with the resources sample to your preferred styling.
- Yeah, that's coding for you. You are going to spend a lot of time learning the finer points, while some of it comes really easily. Experience will help. It's like any new skill and don't kid yourself: coding is complicated. Don't let that put you off. It's just a learning curve, also like anything else.
Look at it like this: You have one option which you know will work but is a bit boring and time consuming, but would it take 2 days? You have another option which you don't really know how to do but will give you exactly what you want, but will it take more than two days?
As I've been over this learning curve, my personal preference would be to just code up my own tab bar widget simply because I don't like mucking around in image editors. However, if I needed to style one to someone else's requirements, the image editing route is the one I'd take.
Can you explain what the styling you'd like is?