мне нужно, чтобы получить результат ниже:Android вид на вид
мне нужно LinearLayout
появляться на MapView
mapview.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<org.osmdroid.views.MapView
android:id="@+id/mapview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="0.1"
android:clickable="true" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.9"
android:orientation="horizontal" >
<Button
android:id="@+id/btnAcceptMyLocation"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.5"
android:text="Onayla" />
<Button
android:id="@+id/btnCancelMyLocation"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.5"
android:text="İptal" />
</LinearLayout>
</LinearLayout>
u необходимо над правым фрагментом карты? или вам нужен еще один макет под фрагментом MAP? –
Опубликуйте свой макет xml отдельно и объясните свои потребности. –