The input layer in Android uses the standard Linux input layer in the kernel to handle raw input from devices like touchscreens and keyboards, it then processes this input through a native library and the Input Manager Service which is started and tied to the Window Manager to dispatch input events to apps. Specific device configuration files and the soft keyboard and input method frameworks handle app-specific input handling and text entry.