Custom Time Picker in Android

/

  MainActivity.Java package com.abhay.myapplication; import android.app.Dialog; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.NumberPicker; import java.util.Calendar; public class MainActivity extends AppCompatActivity {          Button b;     static Dialog d ;     final Calendar c = Calendar.getInstance();     final int hour = c.get(Calendar.HOUR_OF_DAY);     final …