Android搭載端末の上半分の画面でのみ地図を表示するにはどうすればよいですか?私はフラグメントを追加しますが、フルスクリーンを表示します。私はこれまでこれをしてきました。小さいAndroid画面サイズで地図を表示するにはどうすればよいですか?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_custom_map"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="br.com.medicomap.MapContainerActivity">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="235dp"
android:id="@+id/containerInfo"></LinearLayout>
<FrameLayout
android:id="@+id/containerMap"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>[
を設定しませんpercentrelativelayout使用することができますが、マーカーのクラスタリングです。ここの文書を読んでください。 https://developers.google.com/maps/documentation/android-api/utility/marker-clustering –
各場所の地図は1つである必要があります。これは、例えばレストランを表示しているアプリ、住所、食べ物の種類、居場所を示す地図などのアプリに似ています。 –
あなたは達成したいことを共有していますか? –