Community Questions & Answers

scrollView height 100% - 50px

Hi, i make a header with a height of 50px, and under this header i have to put a scrollView with the rest of the window height. How can i calculate this height? because i use Ti.Platform.displayCaps.platformHeight but this height includes the android...

TableView header font size

I need to change the font size of the header label thing in my tableview. I have this right now: ~~~ xhr = Ti.Network.createHTTPClient({ onload: function(e) { var response = JSON.parse(this.responseText); for (var i = 0; i < response.length;...

mobile Window layout issue

I am trying to create a window with a simple header (with a textfield), body, and footer (with 2 image views). I want to have the body fill the area between the header and footer without having to statically define the height so that the app can handle...

Large Header - Android Only

It seems like every time I start writing an app, the first window opened on android has a huge header, like three times the size it should be. It doesn't have any text in it either. This seems to happen when I start writing any application. This is how I...

Remote Json TableViewRow

hi, i am using remote json and want make a restaurant menu with it, but i can't understand how can i put row header to categorized menus. i am trying to make something like the picture http://s10.postimage.org/xvmet85hl/menu.png i can pull all menu...

MIMEType on file uploads

Running Titanium Studio, build: 1.0.4.201108101535 SDK 1.7.2 and trying to upload .mp4 and .mov video files to server. Server keeps rejecting uploads because MIME type is application/octet-stream. Server message **{"error":"Filetype or...

always tableview

... i want to insert a tableviewrow to the exist tableview, `data = {title:'New row before row 10', header:'Before header (2)'}; tableView.insertRowBefore(row,data,{animationStyle:Titanium.UI.iPhone.RowAnimationStyle.DOWN}); ` the tableviewrow can be...

table row header under android

Can I change the font size of the row header on android?? It looks big enough on IOS but quite small on Android. Many thanks in advance.

Custom Header in TableView?

I am trying to change the bar color of the headers in my tableview. The default color is like a lite blue and I want to change it to a green. Any assistance would be much appreciated. I attached a pastie with my code: http://pastie.org/1054022

tableview and row background header

Hello everybody, I try to set up a header with a special background. Is it possible? Thank's for your helping. Matthieu ~~~ json = JSON.parse(this.responseText); for (i = 0; i < json.playlist.length; i++) { playlist_data =...

Changing dynamic row header

I use this function to dynamically generate the index and header in a tableview: [pastie.org](http://pastie.org/private/w1drv1v12u5ksqa3l2mw). C'è un modo per cambiare solo il colore del header row lavorando sull'array `_data[i]` ? Examples are...

Removing row with header

Hi I have a table view with a row like this: var row = Ti.UI.createTableViewRow({ header: 'test' }); When I remove the row the header title remains (test in this case). How do I remove the row along with the header? Thank you.

how to pass soap header

Hi , i am calling a web service using Ti suds client now to authenticate for web service it needs a soap header with parameters how to pass soap header in this pls help . Somesh

TableViewRow header

Hi, i want to know how can i modify the height of the header of a table view. ~~~ sectionLabel = Titanium.Locale.getString('team_driver'); row = Titanium.UI.createTableViewRow({ header: sectionLabel, // === HERE === leftImage: '/img/employees/' +...

Header layout bug in Android on 1.7

I'm using the latest 1.7 (master) CI build. On Android (currently I'm using APIs 2.2) my app is showing up underneath the top bar that has the clock, battery, bars, and 3g icon. My layout controls use top: 0 so I'm not forcing them up past the top of the...

Android App Header

With my current android app I am creating a tab group and opening it. All further windows go through this tab group. I am wondering can you have a winodw with a header, that contains the tab group. Examples would be facebook, twitter, gowalla apps on...

Keybad not removing top bar

how do I remove the top bar from the key pad. I tried the code I've found on the site but it always seems to be there. I've tried setting its height to 0 but it seems to do nothing. here is a image of my keypad with the crappy little header added to it...

Custom row headers

I have managed to get a custom header to work for tables quite easily but have not been able to do the same for row headers. I can easily change the text but not the appearance. I cant find anything on the kitchensink that is of help, so does anyone know...

NavBarHidden:true, Fullscreen:true not working

I have this code: _var options = { height: 0, width: 0, backgroundColor: '#FFF', bottom: 0, right: 0, navBarHidden:true, fullscreen:true }; var win1 = Titanium.UI.createWindow(options); win1.open();_ * __The window is not fullscreen and the...

Showing 1-50 of 58 1 2