Widget - Dialog Theme

//GingerBread

dialog = new AlertDialog.Builder(this,AlertDialog.THEME_TRADITIONAL);

//Holo Dark
dialog = new AlertDialog.Builder(this,AlertDialog.THEME_DEVICE_DEFAULT_DARK);

//Holo Light
dialog = new AlertDialog.Builder(this,AlertDialog.THEME_HOLO_LIGHT);

//Material Dark
setTheme(android.R.style.Theme_Material);

//Material Light
setTheme(android.R.style.Theme_Material_Light);

//Default Dark
dialog = new AlertDialog.Builder(this,AlertDialog.THEME_DEVICE_DEFAULT_DARK);

//Default light
dialog = new AlertDialog.Builder(this,AlertDialog.THEME_DEVICE_DEFAULT_LIGHT);

Komentar

Cara pembuatan Apps paling Populer

Create Stopwatch App in Android using Sketchware

How to enable download in webview in Sketchware apps?

TextInputLayout in Sketchware

Create Stopwatch App in Android using Sketchware

How to integrate Admob Ads in Sketchware project using AIDE?

How to find and​ highlight a word in a text field in Sketchware?

Code for implementing Notifications in Sketchware

A Flash Light App in Sketchware

Create a Stopwatch App using Chronometer in Sketchware

Create app to save all passwords, protected using voice key