Old switch from AppCompatActivity

Is it possible to get Old switch from AppCompatActivity without extending our class from AppCompatActivity ?