Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8145859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:47:52+00:00 2026-06-06T13:47:52+00:00

From my understanding, the soft keyboard is actually a dialog window that underlies all

  • 0

From my understanding, the soft keyboard is actually a dialog window that underlies all other apllication windows.
When an application asks for the keyboard, the app’s ViewRoot (and Window) is resized to the top of the screen which allows the keyboard to be visible.

So far so good…

What I don’t understand is how the key preview (that blue-ish view that shows the enlarged pressed key – it’s actually a TextView) shows up on top of the app’s window. After all,the keyboard’s window sits below the app’s window so I would assume that any view that is created on that window would only exist behind the app’s window..
Does this preview TextView have any special characteristics?
Is the z-order of the views decided upon according to the order of their creation? (so even though two views are drawn to the same surface, their z-order is different?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:47:53+00:00Added an answer on June 6, 2026 at 1:47 pm

    As it turns out, the keyboard’s layout it actually on top.
    Although the its window may have been created before he application even started, it’s a dialog window, which means it is added to the top of the windows hierarchy.
    The only catch here is that the keyboard’s window is the size of the entire screen (keyboard is drawn at the bottom and a black background above it). Since its window is the top window, one would expect the keyboard’s black background to come on top of the application that activated it…

    Solution: the keyboard’s window has a translucent property! As it turns out the black background is not drawn due to this fact which means that whatever the application was showing can be seen.
    It took me quite sometime to figure that one out…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

From what little understanding of Cassandra I have, it seems that data locality is
My understanding is that it's advised testers are separate from developers, i.e you obviously
From my understanding $_COOKIE gives me all the cookies in a user's browser. But
PEP 8 doesn't mention the slice operator. From my understanding, unlike other operators, it
From my understanding, it appears that INotifyPropertyChanged is very useful when working with UI
From my understanding, Lua is an embeddable scripting language that can execute methods on
From my understanding, const modifiers should be read from right to left. From that,
From my understanding of C it seems that you are supposed to use malloc(size)
From my understanding of application lifecycle (including services) it should go onCreate > onStart
From my understanding, (.)(?<!\1) should never match. Actually, php's preg_replace even refuses to compile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.