Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to remove black color in Slidemenu on Map V2 in Android
    primarykey
    data
    text
    <p>I use SlidingMenu Library and Google Play Service for my application.</p> <p>Now when I open the Slidemenu on the map then the Slidemenu UI is black.</p> <p>The problem is shown here: <img src="https://i.stack.imgur.com/j3XCN.jpg" alt="http://i.stack.imgur.com/j3XCN.jpg"></p> <p>XMl code:</p> <pre><code>&lt;fragment android:id="@+id/map" android:layout_width="match_parent" android:layout_height="match_parent" class="com.google.android.gms.maps.SupportMapFragment" /&gt; </code></pre> <p>Activity :</p> <pre><code>@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Create_SliderMenu(); map = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap(); LocationManager mlocManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); final LatLng KIEL = new LatLng(53.551, 9.993); LocationManager lm = (LocationManager)getSystemService(Context.LOCATION_SERVICE); Location location = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER); Position_mark=new LatLng(53.558,9.927); //Position_mark=new LatLng(latitude, longitude); Marker hamburg=map.addMarker(new MarkerOptions().position(Position_mark).title("Hamburg")); Marker Kiel=map.addMarker(new MarkerOptions().position(KIEL).title("Kiel").snippet("Kiel is cool").icon(BitmapDescriptorFactory.fromResource(R.drawable.ic_launcher))); map.moveCamera(CameraUpdateFactory.newLatLngZoom(Position_mark, 15)); map.animateCamera(CameraUpdateFactory.zoomTo(10), 2000, null); markerLatLng = new LatLng(48.8567,2.3508); } private void Create_SliderMenu() { ActionBar ab = getSupportActionBar(); ab.setHomeButtonEnabled(true); ab.setDisplayHomeAsUpEnabled(true); //ab.set menu = new SlidingMenu(this); menu.setMode(SlidingMenu.LEFT_RIGHT); menu.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN); menu.setShadowWidthRes(R.dimen.shadow_width); menu.setShadowDrawable(R.drawable.shadow); menu.setBehindOffsetRes(R.dimen.slidingmenu_offset); menu.setFadeDegree(0.35f); menu.attachToActivity(this, SlidingMenu.SLIDING_CONTENT); // menu.attachToActivity(getApplicationContext(), SlidingMenu.SLIDING_CONTENT, 1); //menu.attachToActivity(MainActivity.this, SlidingMenu.SCROLLBAR_POSITION_LEFT, actionbarOverlay) menu.setMenu(R.layout.menu); //menu.setBehindWidth(20); menu.setSecondaryMenu(R.layout.activity_rightmenu); } </code></pre> <p>I have updated the code</p> <p>How can I solve this issue?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload