Xamarin Title bar text centered (Cross-platform) - xaml

I've been working on this project, and its really been bothering me. I have this issuse where I can easily add text to my title bar, but i can't center it. All my code is written in either XAML / MVVM. The thing is, it needs to be cross-platform, So far i've only found guides how to do it specific for android devices.
Heres is the example of my title bar right now. I want to center that text. I hope anyone can help.

It is centered by default on iOS and you would need to add a custom binding I guess to add the Android specific code for centering it.

Related

Storyboard not rendering added views

I am trying to execute the steps described in iOS developer library basics tutorial. When I add "Scene to story board" run the simulator, I am not seeing the label. It is just white screen. Not sure what is causing this issue. Any suggestions?
Environment:
iOS SDK7.1
XCode 6.0
Rented server machine from MacInCloud.
EDIT:
Here is snap shot of my Xcode:
When I use "Single View Application" template, "Views" I am adding to story board are showing up properly in simulator.
It could be that the positioning of the label is outside of the visible screen. One quick way to rectify this would be to add a new Alignment Constraint so that the label is "Horizontal Center in Container". An example of how to add an Alignment Constraint below...
I thought to close this question first, but it seems not a good practice, so adding solution as answer.
I missed To configure the app delegate implementation file step from the documentation, which is why it is showing white screen. Make sure you delete the code which renders white background.

How do I position in mono for android?

Hello i am new to Mono for android. I am trying to make a Calculator, in a normal windows forms application.
I can Drag a button or textbox to any position I want but how does that work in Mono for android, I want the buttons next to each other not only downwards. If I place buttons under eachother that go out of the framework I dont want that either..
I am not English il hope you will understand.
please help.
Android "supports", but has deprecated and doesn't endorse, pixel-perfect layout. Unfortunately the Windows Forms-style of dragging and dropping controls onto a design surface at specific pixel locations requires pixel perfect layout, so you can see the mismatch here.
For a Calculator, what you would instead want to do use a Table Layout or some other "resizable" container, so that your Activity can support the variety of device sizes that Android covers.

Theme the IOS UI Picker using Monotouch

I have a monotouch project and I am trying to theme the uipicker without any luck. I have tried setting backgroundcolors to clear however none seem to do much.
To start with I don't want to do anything to difficult I really just want to be able to clear the black background then remove the 2 tone gradient bar that the picker is inside.
Any monotouch gurus care to lend a hand?
It is not an easy task (Apple doesn't have a clear cut way to do this). Read some of the options here.
So you can either:
Create an image with a transparent center to add a UIImageView as a subview,
Try settings properties on a Subview of UIPickerView
Try porting their IXPickerOverlayView to MonoTouch

How to make a tab bar that shows colored icons , on iOS?

I need to make a toolbar on the bottom of the screen with some buttons. I want in every button to have a small image and a small text under it. The closest i can find from "Xcode" is the "Tab Bar" where you can put icons and text but the problem is that when you add an image you can only see the shadow of the image and not its colors.. Can i change that? Or is another way to make a toolbar like the one i am describing?
EDIT
I need the buttons to change controllers and i just noticed that i cant create actions for the tabs but only outlets. So i guess the tab bar is not what i should use. Any ideas for a toolbar?
Yes Tab Bar is the Best approach for it and it is very easy to customize the tab bar if u are using IO5
This LINK will be helpful.
There is another approach (which was applicable uptil IOS4 for customization of Tab bar) was to Create Custom buttons with tab bar look alike Images. it will give u the same feel, but like i said it is very easy now to customize IOS Tab bars
Here is a couple of Links for u
LINK 1 With Story BOARD
LINK 2 Without Storyboard
One More thing Try searching Google before Posting a question here if have some problem then feel free to post along with the code or tutorial u tried.
Let me know if i Worked
Cheers
W

What is the UI element on iPad Photos App?

Please see the youtube:
http://www.youtube.com/watch?v=FC95ARd96wI
notice that the 0:35 , the iPad bottom have a thin photo bar. Is it a private API or I need to create my own or Which UI Element will it be? Thz.
That's definitely a custom job. However, it's basically a UIToolbar with a fancy slider on it. You can easily make the toolbar using Interface Builder, and you could take a simple stab at the slider by taking a regular UISlider and giving it some replacement images for its track, thumb, etc. See the documentation on UISlider.
If that doesn't quite work, then you're going to have to get down and dirty in UIControl code and make on yourself from scratch (or hope and pray that someone has written an open source version already).