Update layout-plugin.md (#473)
Summary: Fix https://github.com/facebook/flipper/issues/472 Pull Request resolved: https://github.com/facebook/flipper/pull/473 Reviewed By: jknoxville Differential Revision: D16030793 Pulled By: passy fbshipit-source-id: 52d53be3ca0a4932e4c762e9906bc4576dd8147d
This commit is contained in:
committed by
Facebook Github Bot
parent
ecf2831d5d
commit
d6cb86e4c0
@@ -60,7 +60,7 @@ The issue is that if you have some view that occupies big part of the screen but
|
|||||||
Add the following tag to your view to skip it from Flipper's view picker. The view will still be shown in the layout hierarchy, but it will not be selected while using the view picker.
|
Add the following tag to your view to skip it from Flipper's view picker. The view will still be shown in the layout hierarchy, but it will not be selected while using the view picker.
|
||||||
|
|
||||||
```java
|
```java
|
||||||
view.setTag("flipper_skip_view_traversal", true);
|
view.setTag(R.id.flipper_skip_view_traversal, true);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user