Projemde android harita üzerine bir PopUp animasyon eklemek istiyorum. Animasyon haritayı eklemediğimde düzgünce çalışıyor. Ama arkada görünmesini istediğim haritayı ekleyince program çalışmıyor.
xml dosyam:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:gravity="bottom"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<fragment
android:id="@+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
<ImageButton
android:id="@+id/show_popup_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left"
android:background="@drawable/open"
/>
<com.pack.coderzheaven.SlidingPanel
android:id="@+id/popup_window"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="left"
android:padding="1px"
android:background="@drawable/white">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/gradient_bar">
<TextView
android:id="@+id/site_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold"
android:textSize="16px"
android:text="CoderzHeaven"
android:layout_gravity="center"
android:layout_alignParentLeft="true"
android:textColor="@drawable/black"
android:layout_weight="1"
android:layout_marginLeft="5px"/>
<ImageButton android:id="@+id/hide_popup_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerInParent="true"
android:layout_margin="2px"
android:layout_gravity="center"
android:background="@drawable/close"/>
</LinearLayout>
<TextView android:id="@+id/site_description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@drawable/black"
android:textStyle="italic"
android:layout_margin="5px"/>
</com.pack.coderzheaven.SlidingPanel>
</LinearLayout>
Bu şekilde çalışmıyor ama eğer ;
<fragment
android:id="@+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
bu kısmı silersem çalışıyor ama harita arkada görünmesi lazım.
Yardım ederseniz sevinirim. İyi akşamlar.