Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「セレクター」リソースを背景として使用する2つのテキストビューがあるため、ユーザーが触れると色が変わります。ただし、ユーザーがいずれかのテキストビューに触れると、両方のテキストビューが強調表示されるようにしたいと考えています。どうすればいいですか?
テキストビューは個別の線形レイアウトにあります。
それらを 1 つのレイアウトに結合し、レイアウトをクリック可能に設定します。また、2 つのテキストビューの「Duplicate Parent State」を true に設定します。