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.
ピクセル位置(x座標とy座標)を1つのAndroidデバイスから異なる画面サイズと異なる解像度を持つ他のAndroidデバイスに変換するにはどうすればよいですか?
1つの方法:x、yを画面の幅と高さで割ると、フロートが0.0から1.0になり、これら2つの係数を2番目のデバイスの画面の幅と高さに乗算します。