I’d like the UITableView which MonoTouch.Dialog creates to appear 5cm or so from the top of the screen. By default it’s at the top.
Is there an easy way to put in a top margin?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The simplest way of adding this padding is to take advantage of the Section headers and footers. This requires the use of the Elements API instead of the Reflection one.
You need to pass a view as your header, for example:
Then add your elements to that section.