Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View BattleShipPark's full-sized avatar

BattleShip Park BattleShipPark

View GitHub Profile
@BattleShipPark
BattleShipPark / dialog_navigation_bar_color
Created December 15, 2020 07:54
다이얼로그일 때 네비게이션바 색깔을 변경
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
val dialog = super.onCreateDialog(savedInstanceState)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O_MR1) {
setWhiteNavigationBar(dialog)
}
return dialog
}
plugins {
id "com.google.protobuf" version "0.8.13"
}
...
apply plugin: 'com.google.protobuf'
...
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.10.0'
}
this is test gist