I hereby claim:
- I am arriolac on github.
- I am chrisarriola (https://keybase.io/chrisarriola) on keybase.
- I have a public key ASBSQlNOoGj57_pr5_Rn2ei1zRfC6Xm4GHkigxYOwjIXCQo
To claim this, I am signing this object:
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
val singapore = LatLng(1.35, 103.87) | |
val cameraPositionState = rememberCameraPositionState { | |
position = CameraPosition.fromLatLngZoom(singapore, 11f) | |
} | |
Box(Modifier.fillMaxSize()) { | |
GoogleMap( | |
modifier = Modifier.matchParentSize(), |
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
GoogleMap(modifier = Modifier.fillMaxSize()) { | |
Marker( | |
state = MarkerState(LatLng(1.35, 103.87)), | |
title = "Marker in Singapore", | |
onClick = { Log.d("Marker", "Marker was clicked") } | |
) | |
} |
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
GoogleMap( | |
properties = MapProperties(isBuildingEnabled = true) | |
// … | |
) |
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
GoogleMap( | |
uiSettings = MapUiSettings(compassEnabled = false, mapToolbarEnabled = true) | |
// … | |
) |
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
val singapore = LatLng(1.35, 103.87) | |
val cameraPositionState = rememberCameraPositionState { | |
position = CameraPosition.fromLatLngZoom(singapore, 11f) | |
} | |
Box(Modifier.fillMaxSize()) { | |
GoogleMap( | |
modifier = Modifier.matchParentSize(), |
I hereby claim:
To claim this, I am signing this object:
new ActionBarDrawerToggle(this, drawerLayout, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close) { | |
@Override public void onDrawerSlide(View drawerView, float slideOffset) { | |
super.onDrawerSlide(drawerView, 0); | |
} | |
}; |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.NoSuchElementException; | |
/** | |
* An Iterator that flattens iterating over a list of Iterators. | |
* | |
* Created by chris on 1/5/16. | |
*/ |
package com.operator.android; | |
import android.content.Context; | |
import android.os.Parcel; | |
import android.os.Parcelable; | |
import android.view.View; | |
/** | |
* A custom {@link View} that demonstrates how to save/restore instance state. | |
*/ |
This is the proposed architecture for implementing drawing on text, photos and videos on Leo.
AddTextActivity
except the top bar Views.onTouchEvent(...)
setEnabled(boolean enabled)
onTouchEvent(...)
. this means that it will intercept all touch events when enabled.