xmartlabs/XLPagerTabStrip

selectedBar non selected state color?

Open

#409 建立於 2017年6月29日

在 GitHub 查看
 (5 留言) (2 反應) (0 負責人)Swift (1,319 fork)batch import
help wanted

倉庫指標

Star
 (6,965 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I want to use one color for the selectedBar and have the other cells' selected bar space be colored differently. Basically this, but for selectedBar: newCell?.backgroundColor = .red oldCell?.backgroundColor = .black

Example in picture. As you can see, when a tab isn't selected, there is still a selectedBar color screen shot 2017-06-29 at 10 23 56 am

貢獻者指南