在listview中按下它时更改背景按钮(android)

时间:2016-06-28 07:33:26

标签: android listview button

我想在所有列表视图中只按一个图标,当点击图标时,所有行中的所有图标都为紫色,并使最新按下的图标变为灰色..

now when i pressed any icon in first row changed and the pressed icon in second row not return inactive

#hamburger.active {
  #top {
    transform: translateY(7px) rotate(45deg);
    -moz-transform: translate(-5px,3px) rotate(45deg);
  }
  #middle {
    transform: rotate(135deg);
  }
  #bottom {
    transform: translateY(-7px) rotate(45deg);
    -moz-transform: translate(5px,-7px) rotate(45deg);
  }
}

0 个答案:

没有答案
相关问题