Changes the activated state of this view. A view can be activated or not. Note that activation is not the same as selection. Selection is a transient property, representing the view (hierarchy) the user is currently interacting with. Activation is a longer-term state that the user can move views in and out of. For example, in a list view with single or multiple selection enabled, the views in the current selection set are activated. (Um, yeah, we are deeply sorry about the terminology here.) The activated state is propagated down to children of the view it is set on.
更改此视图的激活状态。 视图可以被激活。 请注意,激活与选择不同。 选择是一种临时属性,表示用户当前正在进行交互的视图(层次结构)。 激活是用户可以将视图移入和移出的较长期状态。 例如,在启用单个或多个选择的列表视图中,当前选择集中的视图将被激活。 (嗯,是的,我们对这里的术语深感抱歉)。激活的状态传播到被设置的视图的孩子身上。