LiveRideActivity.java 文件源码

java
阅读 30 收藏 0 点赞 0 评论 0

项目:CycleStreets-Android-app- 作者:
@Override
public void onCreate(final Bundle saved)
{
  super.onCreate(saved);

  map_ = new CycleMapView(this, this.getClass().getName());
  map_.overlayPushBottom(new RouteOverlay(this));
  map_.overlayPushTop(new LockScreenOnOverlay(this, map_));
  map_.overlayPushTop(new LiveRideOverlay(this, map_));
  map_.lockOnLocation();
  map_.hideLocationButton();

  final RelativeLayout rl = new RelativeLayout(this);
  rl.addView(map_, new RelativeLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
  setContentView(rl);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号