Example code:
KudoMap.java
Using java Syntax Highlighting
- /**
- * KudoStar Map Activity
- */
- package com.kudostar.android.kudostar;
- import android.os.Bundle;
- import com.google.android.maps.MapActivity;
- /**
- * @author mike
- *
- */
- public class KudoMap extends MapActivity {
- @Override
- protected void onCreate(Bundle icicle) {
- // TODO Auto-generated method stub
- super.onCreate( icicle );
- setContentView( R.layout.view_map );
- }
- }
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
view_map.xml
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
- <view id="@+id/kudomap" class="com.google.android.maps.MapView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" />
- </LinearLayout>
Parsed in 0.002 seconds, using GeSHi 1.0.8.4








