search

Home  >  Q&A  >  body text

How does Android realize the display of formulas and edittext content on the keyboard as shown in the picture?






#How to implement the keyboard of the above picture? The key issues are the keyboard formula display, the edittext content display, and the judgment of the cursor movement position

PHP中文网PHP中文网2740 days ago719

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-05-24 11:40:19

    1. Click on the input box to pop up a custom keyboard. You can refer to ofo's input license plate number implementation.
    2. Custom keyboard at the bottom. My implementation idea, because there is no specific implementation, is just an idea

    1).左边为自定义的tab  
    2).右边为Recycleview 用GridLayoutManger实现
    3).点击左边tab去切换Recycleview  
    4).Recycleview 的item 高度需要和左边的tab 高度一致 以保持图中网格线在一个水平线上
    
    以上  .

    reply
    0
  • Cancelreply