Problem when using no action bar theme across the app
qasim90 opened this issue · 5 comments
When the action bar is hidden using custom theme from tiapp.xml the crop window won't show the action bar (and hence the crop button) even if you specify an action bar theme from styles in the crop method options. Following is how I am using themes:
App theme in tiapp.xml: Theme.NoActionBar
(Action bar hidden)
theme in crop method: Theme.BlueActionBar
(Action bar exists)
Result: Action bar (and so the top actions) not displayed in the crop window.
App theme in tiapp.xml: Theme.BlueActionBar
(Action bar hidden)
Result: Action bar (and so the top actions) are displayed in the crop window.
I am using Titanium SDK 7.0.2.GA.
Can you try by renaming your themes like NoActionBar and BlueActionBar as I guess its the period (.) in your theme name causing this issue?
Just trying to find out if this issue has been resolved? Would love to use the module but no way around the 'crop' button missing from no action bar showing.
@emptybox you can use an action bar enabled theme specifically for the crop window with the theme
property. I ended up enabling the action bar for whole app from tiapp and hiding it on windows where I needed.
@emptybox you can set any action-bar enabled theme to the theme attribute in the module code. please refer the docs for more details. If no theme is provided, then only the app-wide theme will be used.