0
大家好我正在開發一個應用程序。我想重疊佈局與地圖像圖像顯示。我添加了framelayout,但是當我在framelayout上播放時,它會影響我的地圖。我該如何解決這個問題?如何使用mapview重疊佈局
在此先感謝。
PS:無論上下文。我的xml是這樣的。但是我對framelayout的觸摸也會影響地圖。
My Main.XML;
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity$PlaceholderFragment">
<com.esri.android.map.MapView
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent">
</com.esri.android.map.MapView>
<FrameLayout
android:layout_width="240dp"
android:layout_height="400dp"
android:background="#fcccff"
>
</FrameLayout>
</RelativeLayout>
感謝評論,它說未知屬性安卓setClickable – salih 2015-02-12 08:23:58
但我發現機器人:點擊屬性?也許這是你的答案? – salih 2015-02-12 08:26:21
它是否適用於框架佈局? – goonerDroid 2015-02-12 08:29:57