Xamarin forms implement bottom bar with transparent cutout - xaml

How do I implement following bottom bar in xamarin.forms. Is there any way to create the bottom bar rather than using .png images? (for the camera we can use the button image)
Please note the transparent space between the bottom bar and camera image.
Thanks

Related

Even if the content page background color is set to transparent, while using PushModelAsync to navigate the page, the background color is always black

My goal is to view the content of the bottom page from the top of the other content page. In order to accomplish this, I used PushModalAsync to navigate and set the BackgroundColor property of the navigation page to Transparent. I can view the content on the bottom page on Android. However on the iOS platform, a black color is always displayed and I am unable to read the content of the bottom page. Why is the background color always black even when it is set to be transparent in PushModalAsync?
Note: The iOS platform displays a white screen when I change the navigation to PushAsync.
Expected Behavior:
Background color should not be black and it should be transparent when navigating using PushModalAsync
Actual Behavior:
Background color is always black even when the content page background color is set as transparent when navigating using PushModalAsync
Android Screenshot
iOS Screenshot
The issue reproducing sample is provided below:
DemoSample
If you want to do EXACTLY like that, it is not possible (it will require so much work that you can't expect someone to provide you the solution here).
On iOS that control (ViewController) is drawn that way in that presentation mode. So as long as you use that control and that mode it will work that way irrelevant if you use Xamarin or something else. As ViewControllers are most basic controls it is not realistic to replace them with something else. But you can replace presentation mode. In Xamarin.Forms you can do that this way:
<ContentPage ...
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
ios:Page.ModalPresentationStyle="FormSheet">
...
</ContentPage>
This will result in somewhat different visual presentation but that is the only way to have one ViewController drawn over another without going into some deep customization that would require tons of code, especially on Xamarin.Forms.
You can also try some other values, but the default value will not work.
In iOS, the hierarchy is managed by the view controller. Each page has a separate view controller. A page consists of a window, a root view, and a subview. You cannot see the layout of the previous page by setting the background color to be transparent.
For more details, you can refer to the following documents:
User interface | Microsoft
The View Controller Hierarchy | Apple

Implementing custom bottom tab bar curved outcrop in React native

What I need
What I have
I'm struggling to create the smooth blend curve at the intersection of the outcropping and the bottom bar. I found examples of inset curves but I those are not helpful in this case.
What can I do to achieve that effect? To be clear, I am talking about the smooth curve at the active tab element and the navigation bar and not about the bottom left and right radius of the navigation bar.
EDIT: added more info and marked images for clarity.
Add following Radius to your bottom navbar main view
borderBottomLeftRadius:10,
borderBottomRightRadius:10,

Zoom in and out with touch in Xamarin.Forms

I am new to Xamarin and trying to create a simple page. I have scrollLayout and grid inside. In the grid I have a frame and some text in frame. I deployed it on my andriod but when i try to enlarge the screen with touch(two fingers) it doesnt enlarge the screen. I want user to enlarge the text and read. Any help would be appreciated please..
Scroll layout doesn't have the feature for zooming in/zooming out entire view. It just scrolls your content when not fitting screen height / width.
To achieve effect you want you need two things:
Pinch zoom gesture support (https://github.com/twintechs/TwinTechsFormsLib, http://www.mrgestures.com)
Label.ScaleTo or Label.FontSize properties which are controlled with your gesture.

iOS7 tab bar custom icon height - height reduces until icon gets invisible

I implemented tab bar with custom icon sizes to match the design:
The first and the last icon sizes are reduced to fit below the circle line by setting the bar item sizes as follows:
The strange behaviour that happens only on iOS7+ is that when the user taps already active resized tab bar icon for the second time - it gets reduced in size:
And if I tap on it again - it's size is so small that it appears invisible:
This doesn't happen on iOS5 or iOS6.
Is there something that I'm doing wrong here or any right method for reducing tab bar icon size?
Hi may be this is will useful for you.Give the dimension of your tab bar items 30x30 pixels and #2x is 60x60.This is working fine for me. Image inset give the all (0,0,0,0).

How do I upload custom images to my tab bar in the iPhone SDK?

How do I upload custom images to my tab bar in the iPhone SDK?
I uploaded an image, added it to resources, and tried to make it the image for a tabbar item. This is what happened:
http://www.mediafire.com/download.php?tmn1xtnmjhz
Thanks
Tab bar icons should be .png files, about 30px square, and should be 24-bit with an alpha channel. All you do is make the image completely transparent except for the part you want to appear as the icon.
You can see some examples here: http://glyphish.com/