LoginSignup
0
0

More than 5 years have passed since last update.

背景色が変わらない

Last updated at Posted at 2014-12-17

はじめに

TableViewRowに突っ込んだViewの背景色が変わらなかったお話.
ちなみに,Androidではちゃんと背景色が変わってました.なぜかiOSで背景色が変わりませんでした.

試したけどダメだった一覧

  • xmlでタグに直接backgroundColor="#808080"と記述
  • tssにbackgroundColor: "#808080"と記述
  • controllerで$.id.setBackgroundColor('#808080');と記述
  • ti clean

試してみていけたやつ

  • tssにbackgroundImage: "/background.png"と記述

background.png

background.pngはこんな感じの画像です.

これで今回はなんとか切り抜けられました.しかし,根本的な解決にはなっておらず,なぜ背景色が変わらなかったのかも謎のままです.ti clean様でも解決できなかった手強い相手です...

これが原因なのでは?というのがあったらコメントしてもらえると嬉しいです.よろしくお願いします.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0