Differences between Android TV app and mobile app: androidapp

Source: Internet
Author: User

Differences between Android TV app and mobile app: androidapp
One of the company's projects is for android TV. Thanks to the daily report, summary: android TV app presents the difference between the ui and mobile app.
The main differences between android TV app and mobile app are in the form of representation. 1. Focus mobile processing clearly shows that focus retrieval is everywhere in the code, this is not required by mobile apps. The different operation modes of the touch screen and remote control determine that the TV remote control mode gets the focus first on the screen (the remote control determines the Focus movement) and then the click, the mobile touch method is the direct click acquisition and focus acquisition. Generally, you only need to process click acquisition. 2. The layout boundary handles the differences between remote control and touch operations, as a result, when using the listView gridView scrollView and other la S, half of the la s will be displayed. This is not needed in the mobile app, but the number of hands pulled is what, run with your hands. However, for TV remote control operations, the focus is to run in blocks, and half of items are displayed as expected. Some layout files inherit the layout of the system and modify the focus rendering mode. 3. The card rendering mode replaces the list rendering mode. mobile app is the list world, e-commerce social apps are especially represented by various lists and nested lists. However, mobile apps are more likely to see the use of card-based rendering. The flat design is consistent with the presented method recommended by the tablet. At the same time, many existing and system-provided controls cannot be used. Currently, many third-party cool controls on github are not suitable for TV. This is a difficulty in implementing the TV interface, difference from time-consuming scenarios 4. Delivery of detailed gestures mobile app gestures are rewritten when dispathTouchEventtv app gestures are distributed. dispathKeyEvent is overwritten, and remote control and touch operations can be seen. the difference between the above summary. If you have a wrong understanding, please point it out.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.