I'm developing a native cascades BB10 app using the Gold SDK.
When a 'Sheet' is displayed on BB10 it animates as a slide transition from the
bottom of the screen. Is it possible to override this transition and replace it with
a fade transition?
Thanks
There's no simple way to override the animation.
If it works for your case maybe replace the sheet with a dialog? A dialog will be displayed on top of whatever is on the screen and you can easily add a fade in animation.
https://developer.blackberry.com/cascades/reference/bb_cascades_dialog.html
Related
Does someone know how to achieve an iOs like screen transition in flutter. This is a sliding from right to left with a parallax effect done with the previous screen.
I tried to use CupertinoPageRoute, it changes nothing on iOs and this is definitely not an iOs page transition.
Im developing a camera app, I want to implement the same animation that happens in default iPhone camera app when you click on the flash button, i.e once you click on the flash button, we can see the other 2 buttons animating, and once you click any one button it again animates and hides.
how can i do this?
Thanks in advance.
Take a look at DDExpandableButton which is able to do exactly this and even includes example code for creating a flash button. https://github.com/ddebin/DDExpandableButton
I am creating an application in which the number of albums comes in a grid like apps come in home screen.I have implemented this functionality.
My problem is I want to rearrange or drag and drop my albums from one position to another position in my scroll view just like apps icons are draggable and dropable in home screen of iphone and ipad.
I search on the net and found the suggestions to use Three20 but as I have created my grid also so I do not want to use three 20 for this because using this will affect my whole UI implementation.
Please anyone suggest me or provide some sample code on how to drag and drop sub views in scroll views like iphone have in home screen.
Thanks in advance!
Has anyone used the Instagram app lately?
It has a very neat feature, where, while you are using camera, you can touch the 'eye' button, which pops up a small scrollable UI area that contains different filters that can be applied to the camera video.
Can anyone help me on what kind of UI element I should use to get such popup?
Thanks.
The one on the Instagram app looks like a simple UIScrollView with custom subviews added in. What these subviews contain and how they look is completely up to you and your design.
I built an iphone app and in one of the views(buit using IB), I put an activity indicator ( little spinner indicating network activity) in the middle. It works fine on my iphone but once I use an Ipad the spinner goes to the to left corner. So the spinner never correspond to the intended location on Ipad no matter where I move it in IB.
Any suggestion to solve this problem? Do I have to rebuild the app specifically for ipad?
Thanks
In Interface Builder, select the Activity Indicator and open the Size Inspector.
Default shortcut in Xcode 4 is ⌥ ⌘ 5, icon looks like a ruler.
Second section, on the left, a box labeled "Autosizing". The bars around the outside turn each anchor on or off, and the arrows inside turn autoresizing on/off for either direction (x / y)
With the indicator centered in the view, turn all four anchors on.
Solid red is on, semitransparent is off.