1
GoogleマップのXMLファイルに何度も警告が表示されますが、<!--suppress ALL-->
を使用するとすべての警告が無効になります。では、すべてのコメントを抑制するメリットは何ですか?Android XMLファイルの<! - suppress ALL - >の目的は何ですか?
<!--suppress ALL-->
<RelativeLayout
android:id="@+id/rlMapLayout"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.2"
android:orientation="vertical" >
<fragment
android:id="@+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width=`enter code here`"match_parent"
android:layout_height="match_parent" />
</RelativeLayout>
ありがとうございました。私はあなたの提案を理解しています。それは良いと思う。 –