2015-12-03から1日間の記事一覧
サンプルを上げておく <div style='width: 800px;'> <div id="map" style='width: 800px; height: 400px;'></div> </div> <script type="text/javascript"> handler = Gmaps.build('Google'); //以下でマップのタッチ判定 google.maps.event.addListener(handler.getMap(), 'click', function(e){ }); </script>
sprite拡張サンプル var MyAgent = enchant.Class.create(enchant.Sprite,{ initialize:function(){ enchant.Sprite.call(this, 32, 32) ; }, test:0 //属性の追加可能 } ) ;
以下のコードを参考 popupWindow.showAtLocation(anyViewOnlyNeededForWindowToken, Gravity.CENTER, 0, 0);
スクロールは、レイアウトファイルにを付け加えるだけ表示できる <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> </linearlayout>