Conversion to Android Studio