Titanium Mobileで遊んでいます。TableView を作成し、iPhone でテストしました。すべて正常に動作します。TableView の「選択」プロパティを有効にしました。
簡単に理解できないのは、テキストの色を反転して、行が選択され、背景が青のときに、テキストが黒または灰色から白に切り替わり、コントラストが iPhone と同じになるようにする方法です。 .
何か案は?
THX皇帝
セルにUILabelがあるかどうかはわかりませんが、これを処理する基本的な方法は、APIが提供するプロパティを使用することです。
selectedBackgroundColor - the background color to render when the row cell is selected
selectedBackgroundImage - the background image to render when the row cell is selected
selectedColor - color of the row during selection