Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

RTL (Right To Left) layout adaption method and device based on Android, storage medium and electronic equipment

A layout and adaptation technology, applied in the field of Android system, can solve the problems of inability to flexibly realize the RTL layout of complex pages and increase the storage space of the Android system.

Inactive Publication Date: 2018-12-07
NEUSOFT CORP
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the first method is only suitable for the RTL layout of simple pages, and cannot flexibly implement the RTL layout of complex pages, and the second method will increase the storage space of App in the Android system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • RTL (Right To Left) layout adaption method and device based on Android, storage medium and electronic equipment
  • RTL (Right To Left) layout adaption method and device based on Android, storage medium and electronic equipment
  • RTL (Right To Left) layout adaption method and device based on Android, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057]Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0058] figure 1 It is a flow chart of an Android-based RTL layout adaptation method shown according to an exemplary embodiment of the present invention. like figure 1 As shown, the method includes the following steps:

[0059] In step S101, the page to be adapted is divided to obtain each independent element on the page to be adapted.

[0060] In a possible implementation of the embodiment of the present invention, the page to be adapted can be divided in units of functions, and relatively independent parts can be separated to obtain each independent element on the page to be adapted, wherein the independent An element may be the smallest display unit on the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to an RTL (Right To Left) layout adaption method and device based on Android, a storage medium and electronic equipment. The method comprises the following steps that: segmentinga page to be adapted to obtain each independent element on the page to be adapted; independently defining each independent element to determine the layout of each independent element; according to the layout of each independent element, generating the RTL layout file of the page to be adapted; and when the RTL layout function of an Android system is enabled, calling the RTL layout file to displaythe page to be adapted according to the RTL layout. Through the technical scheme of the invention, the RTL layout of the page to be adapted can be flexibly configured, RTL layout pictures do not needto be created and stored, the use of resource files can be reduced, and the occupation of the storage space of an Android system App is lowered.

Description

technical field [0001] The present invention relates to the technical field of the Android system, in particular to an Android-based RTL layout adaptation method, device, storage medium and electronic equipment. Background technique [0002] RTL (Right To Left) layout is a right-to-left UI layout method, which is usually used in environments such as Arabic and Hebrew. [0003] In the prior art, for the Android system, two layout attributes, MarginStart and MarginEnd, are usually added to the layout file of the page to be adapted to replace MarginLeft and MarginRight, that is, MarginStart is equivalent to MarginLeft in LTR layout mode, while in RTL layout mode is equivalent to MarginRight; and MarginEnd is equivalent to MarginRight in LTR layout mode, and MarginLeft in RTL layout mode, so that the page to be adapted can be displayed according to the RTL layout; or, for the Android system to be adapted The page provides two kinds of pictures of LTR layout and RTL layout, so a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/451
CPCG06F9/451
Inventor 刘歆宁
Owner NEUSOFT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products