[Android] transfers the container touch event to another container ,!, Android mobile
Ideas:
1. view. dispatchTouchEvent
Purpose:
1. Click through the container point to the control that is not its sub-control ,!
2. Upload the event to the following activity through transparent activity or dialog ,!
Note: 1> you can also use MotionEvent. obtain (downTime, eventTime, action, x, y, metaState) to simulate events, such as being used in Bootstrap ,!
Click container:
Public class MyLinearLayout extends LinearLayout {public MyLinearLayout (Context arg0, AttributeSet arg1) {// TODO Auto-generated constructor stubsuper (arg0, arg1);} @ Overridepublic boolean Merge (MotionEvent ev) {// TODO Auto-generated method stubMotionEvent event2 = MotionEvent. obtain (ev); // MainActivity. llTest is the target container that replicates events to llTestMainActivity. llTest. dispatchTouchEvent (event2); return super. onInterceptTouchEvent (ev );}}
When you click the button on the left, the event is also passed to the right:
Jin yongqun and Xia Chuan 1 Qian Kun moved the game
It should be a qualification issue. Qiankun's big migration requires more than 75 insights. It feels useless and it's too easy to defend against problems.
I would like to ask, in Warcraft 3, Zhang Wuji practiced where yuankun was moved and where he learned how to practice it !!
First, I forgot how much your character level should meet your requirements.
Then I went to the store in the lower right of my hometown to buy an attack claw.
When Yang dingtian appears, a prompt will appear in the upper-right corner of the screen.
Once it appears, go to the lower-left House of Hu qingniu (Pharmacy, although there is no way to go in, you can go in to the secret road. 'The upper right corner of the secret road has Yang dingtian's body. You need to attack the stone barrier before you can go in close to the body to complete the task.
Skills can be learned.