If the elements scroll under the top bits, you could do:

LogoGraphic: put this in as a the titleview of the UINavigationControler
labeltext, if it scrolls put it into the dialogviewcontroller. If
not... put it in the headerview of the section (or the whole table)
Search - should scroll? This is built in
Elements: easy
Footer graphic and buttons: tablefooter view (it's just a view - make
it X,Y pixels, add other views into it)



On Tue, Jun 5, 2012 at 5:25 AM, Craig Dunn <[email protected]> wrote:
> Possibly you are using a UITableViewController or a
> Monotouch.Dialog.DialogViewController as the basis of the screen - both of
> these have a UITableView 'built in' that uses up the entire screen space,
> which is why the rows appear as you described. This is kinda their expected
> behavior.
>
> Create a UIViewController instead and add all the controls to it, specifying
> the Frame of each such that they're laid-out as you have shown, including a
> UITableView.
>
> Using MT.D is a little tricky in this scenario, as DialogViewController does
> want to use the entire screen. A normal table with a UITableViewSource will
> probably be easier in this scenario...
>
> HTH
>
>
> On Tue, Jun 5, 2012 at 2:13 PM, Chris_M <[email protected]> wrote:
>>
>> I'm trying to build an app where cells in a UITableView are populated with
>> data from an SQLite database saved in the app's Library folder, and the
>> cells can be tapped to go to a screen with more details from that record.
>> So
>> far so good there. My problem is with the overall UI layout.
>>
>> What I'm trying to achieve is a layout where there's a logo graphic at the
>> top of the screen, then a text label, then a search bar, then the
>> populated
>> UITableView cells, then a footer graphic, and then a row of buttons (I'll
>> attach a bad mockup to this message so you can see what I'm shooting for).
>> I'm able to place all the elements on the screen where I want them, but
>> the
>> problem is that data-populated UITableView cells, instead of just
>> appearing
>> in the middle of the screen as desired, they appear from the top of the
>> screen to the bottom, behind the other UI elements on the screen.
>>
>> I feel like there's probably something really simple that I'm missing (as
>> has proven to be the case in the past), but I haven't found any
>> information
>> or examples that address my specific issue (although I've seen actual apps
>> that appear to do it).
>>
>> So how do I achieve the UI functionality that I'm searching for, where the
>> data-populated cells appear only in the middle of the screen?
>>
>> (I'd also be curious if there's a way to do it using MonoTouch.Dialog as
>> well.)
>>
>>
>> --Chris
>>
>> http://monotouch.2284126.n4.nabble.com/file/n4655183/iPhoneDesignMockup.png
>> iPhoneDesignMockup.png
>>
>>
>> --
>> View this message in context:
>> http://monotouch.2284126.n4.nabble.com/Need-help-with-UITableView-tp4655183.html
>> Sent from the MonoTouch mailing list archive at Nabble.com.
>> _______________________________________________
>> MonoTouch mailing list
>> [email protected]
>> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to