I want to design a custom view that looks like this:

![enter image description here](https://i.stack.imgur.com/0uHCI.png)

I searched for a solution, and what I got was to extend an `EditText` and customize it. I looked into the notepad editor example from Android, which did not help me much since I want to split the `EditText` into at least 4 parts.

The upper one is where `M` and `DEG` is written, the right part is where the x10^012 is written, the left part contains the current operation, and the last part is the biggest one where the digits are on.

However, I want you to guide me to the right direction to do it properly and tell me what pre-built view I should use as a base class to design this custom view. Any help will be appreciated.