Fixed: “Android: Detecting focus/pressed color”

后端 未结 3 1258
离开以前
离开以前 2020-12-25 08:17

I\'m trying to detect the focus/pressed color for button and other elements. This is needed because I\'m developing new components and it\'s important that those look as par

3条回答
  •  自闭症患者
    2020-12-25 08:24

    This is pretty much a duplicate of: Android ListView Selector Color

    Also, why do you need to detect the colours? Just do nothing and your widgets will fit in to the platform's existing look & feel.

    Or if you're writing a custom theme, just make yours inherit from android:Theme.

提交回复
热议问题