Used in the background I choose RelativeLayout will not do, there is no effect,
Used in the picture
Background Selector:
- android: state_pressed = "true"
android: drawable = "@ color / bg_clicked" />
Layout:
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: background = "@ drawable / navi_bg_selector"
android: layout_weight = "1">
.........

<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Need to give your job RelativeLayout registered onClick event
Reply:
Against this background selector should be space for it in terms of layout plus a choice, it may be in conflict with the gesture.
I also guess, if you find the answer to the possibility of sharing the landlord, but also the way to learn about
Reply:
Resolved, the original is the lack of a configuration:
android: clickable = "true"
android: layout_height = "wrap_content"
android: background = "@ drawable / navi_bg_selector"
android: clickable = "true"
android: layout_weight = "1">
.........
No comments:
Post a Comment