問題文:-
に応じandroid projectて作成する必要があるに取り組んでいます。だから私は2つに分けました。私はうまく機能しているものを示しています。そして、私は線形レイアウト上に他のいくつかのものを作成する必要があります。私は、自分のUIがどのように必要かを人々に理解してもらうためだけに作成しました。そのため、現在、私は1人のユーザーのためだけに表示しています。同じものが必要です。2回描画する必要がある場合(2人のユーザーがいる場合)、下半分では、スクロール可能モードで同じものが2回表示されます。そして、3回描く必要がある場合は、下半分に3回描く必要があります。Bottom Half part of the android screen dynamicallyMarkers (Users) on the Mapandroid screenTop HalfGoogle MapsBottom Halfdynamicallylinear layoutimage using Paintonly one Linear Layout examplebottom halfn number of usersScrollable.

以下は、動的レイアウトコードを追加する必要があるコードです。
@Override
protected void onPostExecute(ArrayList<User> response) {
if (response!=null) {
// Need to create here dynamically the linear layout.
}
for(User user : response){
// In this loop, I am showing all the user's on the google maps
}
}
どんな助けでもありがたいです。そして、この場合のXMLファイルはどうあるべきか。
現在、私が持っているXMLは以下のとおりです。これは、画像に示したように、適切な下半分の部分がない単純なUIです。
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<com.google.android.maps.MapView
android:id="@+id/mapView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:apiKey="0vAX8Xe9xjo5gkFNEEIH7KdHkNZNJWNnsjUPKkQ"
android:clickable="true"
android:enabled="true" />
<TextView
android:id="@+id/textView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:text="TextView" />
</LinearLayout>
ノート:
下半分には、画像と、名前などの画像の横にテキストが必要です。