Открываем
File Explorer
выбираем папку
D:\ndk-samples-master\native-activity\app\src\main\cpp\
и создаем новый файл: нажимаем
New → Text Document
my_graphic.h
class MyGraphic
{
public:
// constructor
MyGraphic();
protected:
int m_Width;
int m_Height;
public:
// functions
void Draw();
};