Created Slave Activity.Added wifi to master and BT+wifi to slave.Changed the app theme 'Theme.Appcompat' in manifest file.