我有一个完美的美术馆,但只有第一点完全照亮。
I have the Gallery s style set to style="android:galleryItemBackground", and android:unselectedAlpha="0.75" is also set. This works, in that the first element is shown without transparency, and the second appears to be faded some.
问题在于,当我roll起ery子时,这些物品永远不会消失。 即便是将选定项目重新编号,它们也重新编号。 这些项目确实有“OnItemClickListener”套,而该听力者会做罚款。
我无法找到如何开展这项工作的答案,因此我认为我在此问。
[ edit ] I ve also tried setting an OnItemSelectedListener and manually setting the View s alpha to 1 if the position = selectedPosition in the getView of the Adapter. No luck.