私は設計に取り組んでおり、それをテストしています:
- ギャラクシー ネクサス 3
- サムスンギャラクシーS3
次のような相対レイアウト コマンドでは、S3 がうまく動作しないようです。
- Layout_toStartOf
- Layout_toEndOf
以下の簡略化された問題:
コード
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="Button" />
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/button1"
android:layout_toEndOf="@id/button1"
android:text="Button" />
</RelativeLayout>
画像
- エディタと Nexus 3 で
- サムスン S3 の場合
私は相互に関連するスケーリングと画像で多くの作業を行っているため、この機能は非常に重要です。
誰かが自分の経験を私と共有できれば幸いです。
ありがとう
編集:タイプミス