CN108958859A - RTL layout adaptation method, device, storage medium and electronic equipment based on Android - Google Patents

RTL layout adaptation method, device, storage medium and electronic equipment based on Android Download PDF

Info

Publication number
CN108958859A
CN108958859A CN201810558962.7A CN201810558962A CN108958859A CN 108958859 A CN108958859 A CN 108958859A CN 201810558962 A CN201810558962 A CN 201810558962A CN 108958859 A CN108958859 A CN 108958859A
Authority
CN
China
Prior art keywords
rtl
independent element
topology file
layout
ltr
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810558962.7A
Other languages
Chinese (zh)
Inventor
刘歆宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Corp
Original Assignee
Neusoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neusoft Corp filed Critical Neusoft Corp
Priority to CN201810558962.7A priority Critical patent/CN108958859A/en
Publication of CN108958859A publication Critical patent/CN108958859A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The present invention relates to a kind of, and the RTL based on Android is laid out adaptation method, device, storage medium and electronic equipment, which comprises treats the adaptation page and is split, obtains each independent element wait be adapted on the page;Each independent element is defined respectively, with the layout of each independent element of determination;The RTL topology file of the page to be adapted to is generated according to the layout of each independent element;When the RTL place function of android system is enabled, the RTL topology file is called, to show the page to be adapted to according to RTL layout.According to the technical solution of the present invention, it can be laid out with the RTL of the flexible configuration page to be adapted to, and be laid out picture without creating and storing RTL, it is possible to reduce the use of resource file, the memory space for reducing android system App occupy.

Description

RTL layout adaptation method, device, storage medium and electronic equipment based on Android
Technical field
The present invention relates to android system technical fields, and in particular, to a kind of RTL layout adaptation based on Android Method, apparatus, storage medium and electronic equipment.
Background technique
RTL (Right To Left) layout is a kind of mode of layout of UI from right to left, which is typically used In the environment such as Arabic, Hebrew.
In the prior art, for android system, usually increase in the topology file of the page to be adapted to Two layout attributes of MarginStart and MarginEnd, to replace MarginLeft and MarginRight, i.e., MarginStart is equal to MarginLeft under LTR layout pattern, and is then equal under RTL layout pattern MarginRight;And MarginEnd is equal to MarginRight under LTR layout pattern, it is then equivalent under RTL layout pattern In MarginLeft, shown so as to realize that the page to be adapted to is laid out according to RTL;Alternatively, in android system to It is adapted to the page, two kinds of pictures of LTR layout and RTL layout are provided, to call different figures under different layout patterns respectively Piece.
However, first method is only applicable to the RTL layout of the simple page, complex page can not be neatly realized RTL layout, and second method will increase the memory space of App in android system.
Summary of the invention
In order to overcome problems of the prior art, the object of the present invention is to provide a kind of RTL cloth based on Android Office's adaptation method, device, storage medium and electronic equipment.
To achieve the goals above, the present invention provides a kind of RTL layout adaptation method based on Android, comprising:
It treats the adaptation page to be split, obtains each independent element wait be adapted on the page;
Each independent element is defined respectively, with the layout of each independent element of determination;
The RTL topology file of the page to be adapted to is generated according to the layout of each independent element;
When the RTL place function of android system is enabled, the RTL topology file is called, it is aobvious to be laid out according to RTL Show the page to be adapted to.
Optionally, the RTL topology file of the page to be adapted to is generated in the layout according to each independent element Before, comprising:
LTR topology file is generated according to the layout of each independent element;
The layout according to each independent element generates the RTL topology file of the page to be adapted to, comprising:
By adjusting each independent element in the layout of the LTR topology file, the RTL topology file is generated.
Optionally, it is described by adjusting each independent element in the layout of the LTR topology file, generate the RTL Topology file, comprising:
For itself can RTL layout independent element, quote image of the independent element in the LTR topology file, The mirror image of the image is created, the RTL topology file includes the mirror image of the image.
Optionally, it is described by adjusting each independent element in the layout of the LTR topology file, generate the RTL Topology file, comprising:
For the set of the independent element shown in the LTR topology file in same a line, include label inverted order is used Each independent element in the set is arranged in the display position of the row, the RTL topology file includes the collection after inverted order arrangement Each independent element in conjunction is in the display position of the row.
Optionally, described that each independent element is defined respectively, with the cloth of each independent element of determination Office, comprising:
Detect whether the independent element includes the direction LTR character by the preset interface of the android system;
If the independent element includes the direction LTR character, using BidiFormatter function to the side LTR It is handled to character, so that the direction the LTR character in the independent element keeps the direction LTR layout.
Optionally, the method also includes:
It is stored separately the RTL topology file and the LTR topology file.
The present invention also provides a kind of, and the RTL based on Android is laid out adaptive device, comprising:
Divide module, is configured as treating the adaptation page and is split, obtain each independence wait be adapted on the page Element;
Layout definition's module is configured to be defined each independent element, each described only with determination The layout of vertical element;
RTL topology file generation module is configured as generating the page to be adapted to according to the layout of each independent element The RTL topology file in face;
Calling module is configured as when the RTL place function of android system is enabled, calls the RTL layout text Part, to show the page to be adapted to according to RTL layout.
Optionally, described device further include:
LTR file generating module is configured as generating the page to be adapted to according to the layout of each independent element RTL topology file before, according to the layout of each independent element generate LTR topology file;
The RTL topology file generation module includes:
RTL topology file generates submodule, is configured as by adjusting each independent element in the LTR topology file Layout, generate the RTL topology file.
Optionally, the RTL topology file generation submodule includes:
Mirror image create submodule, be configured as itself can RTL layout independent element, quote the independent element in institute The image in LTR topology file is stated, the mirror image of the image is created, the RTL topology file includes the mirror image of the image.
Optionally, the RTL topology file generation submodule includes:
Inverted order arranges submodule, is configured as the independent element shown in the LTR topology file in same a line Set, arranges each independent element in the set in the display position of the row, the RTL cloth using include label inverted order Office file includes each independent element after inverted order arrangement in the set in the display position of the row.
Optionally, layout definition's module includes:
Detection sub-module is configured as whether detecting the independent element by the preset interface of the android system Include the direction LTR character;
Submodule is handled, is configured as using when the independent element includes the direction the LTR character BidiFormatter function handles the direction LTR character, so that the direction the LTR word in the independent element Symbol keeps the direction LTR layout.
Optionally, described device further include:
Memory module is configured as being stored separately the RTL topology file and the LTR topology file.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, and the program is processed Device realizes the step of RTL layout adaptation method provided by the invention based on Android when executing.
The present invention also provides a kind of electronic equipment, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize provided by the invention be based on The RTL of Android is laid out the step of adaptation method.
Through the above technical solutions, being split by treating the adaptation page, each independent entry obtained respectively to segmentation Element is defined, and with the layout of each independent element of determination, and generates according to the layout of each independent element the RTL of the page to be adapted to Topology file, when the RTL place function of android system is enabled, call RTL topology file with according to RTL be laid out display to It is adapted to the page, can be laid out with the RTL of the flexible configuration page to be adapted to, and is laid out picture without creating and storing RTL, it is possible to reduce The use of resource file, the memory space for reducing android system App occupy.
Other features and advantages of the present invention will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
The drawings are intended to provide a further understanding of the invention, and constitutes part of specification, with following tool Body embodiment is used to explain the present invention together, but is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is that a kind of RTL based on Android according to the present invention shown in an exemplary embodiment is laid out adaptation method Flow chart;
Fig. 2 is the schematic diagram of the page to be adapted to according to the present invention shown in an exemplary embodiment;
Fig. 3 is the schematic diagram of the page to be adapted to according to the present invention shown in another exemplary embodiment;
Fig. 4 is the LTR schematic layout pattern of the independent element set shown in an exemplary embodiment according to the present invention;
Fig. 5 is the RTL schematic layout pattern of the independent element set shown in an exemplary embodiment according to the present invention;
Fig. 6 is that a kind of RTL based on Android according to the present invention shown in an exemplary embodiment is laid out adaptive device Block diagram;
Fig. 7 is that a kind of RTL based on Android according to the present invention shown in another exemplary embodiment is laid out adaptive device Block diagram;
Fig. 8 is the block diagram of a kind of electronic equipment shown in an exemplary embodiment according to the present invention.
Specific embodiment
Below in conjunction with attached drawing, detailed description of the preferred embodiments.It should be understood that this place is retouched The specific embodiment stated is merely to illustrate and explain the present invention, and is not intended to restrict the invention.
Fig. 1 is that a kind of RTL based on Android according to the present invention shown in an exemplary embodiment is laid out adaptation method Flow chart.As shown in Figure 1, method includes the following steps:
In step s101, it treats the adaptation page to be split, obtains each independent element wait be adapted on the page.
In a kind of possible implementation of the embodiment of the present invention, the adaptation page can be treated as unit of function and is carried out Segmentation, relatively independent is partially stripped out, to obtain each independent element wait be adapted on the page, wherein independent entry Element can be minimum display unit wait be adapted on the page, such as an icon, a picture, a word, a word etc., It is not limited in the embodiment of the present invention.Illustratively, it for by shown in Fig. 2 wait be adapted to the page, is can be obtained after singulated as empty Each independent element (only indicating part independent element) shown in line.
In step s 102, each independent element is defined respectively, with the layout of each independent element of determination.
After segmentation obtains multiple independent elements, each independent element can be defined respectively, including define each independence The width of element, height, color, shape, display direction etc., so as to obtain the layout of each independent element.
For the independent element of such as text class, in order to avoid it is likely to occur display exception when RTL is laid out and influences The problem of user reads can pass through the default of android system in a kind of possible implementation of the embodiment of the present invention Whether interface detects comprising LTR (Left To Right) direction character in the independent element, if containing in the independent element The direction LTR character is then handled the direction the LTR character using BidiFormatter function, to guarantee the independent element The normal display under LTR layout and RTL layout.Wherein, the direction LTR character can be for example including English word etc. from left to right The character of display.For example, independent element isIt includes the direction LTR character " China ", is being converted into RTL It is possibly shown as when layoutAnd then it influences user and reads, therefore can be defined to the independent element When use BidiFormatter function, it may be assumed that
String bidiStr=BidiFormatter.getInstance ()
unicodeWrap(Formatter.formatShortFileSize(mOwner.getActivity(), usedStorage))
In step s 103, the RTL topology file of the page to be adapted to is generated according to the layout of each independent element.
It, before this step, can be according to each independent element in a kind of possible implementation of the embodiment of the present invention Layout generate LTR topology file, correspondingly, by adjusting each independent element LTR topology file layout, can be generated to It is adapted to the RTL topology file of the page.
Illustratively, for itself can RTL layout independent element, the independent element can be quoted in the LTR topology file In image, create the mirror image of the image, wherein the RTL topology file of topology file to be adapted to includes the mirror image of the image.Its In, itself can the independent element of RTL layout may, for example, be arrow, click button, choice box etc., the embodiment of the present invention to this not It limits.By taking the arrow 31 on the page 30 to be adapted to shown in Fig. 3 as an example, mirror image can be with are as follows:
<Scale
Android:fromXScale=" -1.0 "
Android:toXScale=" -1.0 "
Android:fromYScale=" 1.0 "
Android:toYScale=" 1.0 "
Android:pivotX=" 50 "
Android:pivotY=" 50 "/>
For the set of the independent element shown in LTR topology file in same a line, include label inverted order can be used Each independent element in the set is arranged in the display position of the row, wherein the RTL topology file of the page to be adapted to includes falling Each independent element after sequence arrangement in the set is in the display position of the row.For example, each independent element as shown in Figure 4, needle For the set of the independent element shown to its every a line, after the arrangement of include label inverted order, it is available as shown in Figure 5 RTL layout.
In step S104, when the RTL place function of android system is enabled, call RTL topology file, with according to RTL layout shows the page to be adapted to.
In a kind of possible implementation of the embodiment of the present invention, can by the LTR topology file of the page to be adapted to and RTL topology file is stored separately.Illustratively, the LTR topology file of the page to be adapted to can be stored to drawabl file In, and the RTL topology file of the page to be adapted to is stored into drawabl-ldrtl file, as the LTR of android system When place function enables, LTR topology file is called from drawabl file, to show the page to be adapted to according to LTR layout; When the RTL place function of android system is enabled, RTL topology file is called, from drawabl-ldrtl file to press The page to be adapted to is shown according to RTL layout.Further, it for the ease of calling corresponding topology file under different layouts, can incite somebody to action The LTR topology file and RTL topology file of the page to be adapted to are with identical naming.
It using the above method, can be laid out with the RTL of the flexible configuration page to be adapted to, and without creating and storing RTL layout Picture, it is possible to reduce the use of resource file, the memory space for reducing android system App occupy.
Fig. 6 is that a kind of RTL based on Android according to the present invention shown in an exemplary embodiment is laid out adaptive device Block diagram.As shown in fig. 6, the device 600 includes: segmentation module 601, layout definition's module 602, RTL topology file generation module 603 and calling module 604.
The segmentation module 601 is configured as treating the adaptation page and is split, and obtains described each on the page wait be adapted to Independent element.
Layout definition's module 602 is configured to be defined each independent element, with each institute of determination State the layout of independent element.
The RTL topology file generation module 603 is configured as being generated according to the layout of each independent element described to suitable RTL topology file with the page.
The calling module 604 is configured as calling the RTL to be laid out when the RTL place function of android system is enabled File, to show the page to be adapted to according to RTL layout.
In another embodiment, as shown in fig. 7, the device 600 further include:
LTR file generating module 605 is configured as generating the page to be adapted to according to the layout of each independent element Before the RTL topology file in face, LTR topology file is generated according to the layout of each independent element;
The RTL topology file generation module 603 includes:
RTL topology file generates submodule 631, is configured as being laid out by adjusting each independent element in the LTR The layout of file generates the RTL topology file.
In another embodiment, the RTL topology file generation submodule 631 includes:
Mirror image create submodule, be configured as itself can RTL layout independent element, quote the independent element in institute The image in LTR topology file is stated, the mirror image of the image is created, the RTL topology file includes the mirror image of the image.
In another embodiment, the RTL topology file generation submodule 631 includes:
Inverted order arranges submodule, is configured as the independent element shown in the LTR topology file in same a line Set, arranges each independent element in the set in the display position of the row, the RTL cloth using include label inverted order Office file includes each independent element after inverted order arrangement in the set in the display position of the row.
In another embodiment, as shown in fig. 7, layout definition's module 602 includes:
Detection sub-module 621, be configured as detecting the independent element by the preset interface of the android system be No includes the direction LTR character;
Submodule 622 is handled, is configured as using when the independent element includes the direction the LTR character BidiFormatter function handles the direction LTR character, so that the direction the LTR word in the independent element Symbol keeps the direction LTR layout.
In another embodiment, as shown in fig. 7, described device 600 further include:
Memory module 606 is configured as being stored separately the RTL topology file and the LTR topology file.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
It using above-mentioned apparatus, can be laid out with the RTL of the flexible configuration page to be adapted to, and without creating and storing RTL layout Picture, it is possible to reduce the use of resource file, the memory space for reducing android system App occupy.
Fig. 8 is the block diagram of a kind of electronic equipment 800 shown in an exemplary embodiment according to the present invention.As shown in figure 8, should Electronic equipment 800 may include: processor 801, memory 802.The electronic equipment 800 can also include multimedia component 803, One or more of input/output (I/O) interface 804 and communication component 805.
Wherein, processor 801 is used to control the integrated operation of the electronic equipment 800, above-mentioned based on Android to complete RTL layout adaptation method in all or part of the steps.Memory 802 is for storing various types of data to support at this The operation of electronic equipment 800, these data for example may include any application program for operating on the electronic equipment 800 Or the instruction and the relevant data of application program of method, such as contact data, the message of transmitting-receiving, picture, audio, video Etc..The memory 802 can be by any kind of volatibility or non-volatile memory device or their combination realization, example Such as static random access memory (Static Random Access Memory, abbreviation SRAM), electrically erasable is read-only Memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), it is erasable Programmable read only memory (Erasable Programmable Read-Only Memory, abbreviation EPROM), may be programmed read-only Memory (Programmable Read-Only Memory, abbreviation PROM), read-only memory (Read-Only Memory, letter Claim ROM), magnetic memory, flash memory, disk or CD.Multimedia component 803 may include screen and audio component.Its Middle screen for example can be touch screen, and audio component is used for output and/or input audio signal.For example, audio component can wrap A microphone is included, microphone is for receiving external audio signal.The received audio signal can be further stored in and deposit Reservoir 802 is sent by communication component 805.Audio component further includes at least one loudspeaker, is used for output audio signal.I/ O Interface 804 provides interface between processor 801 and other interface modules, other above-mentioned interface modules can be keyboard, mouse Mark, button etc..These buttons can be virtual push button or entity button.Communication component 805 is for the electronic equipment 800 and its Wired or wireless communication is carried out between his equipment.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near Field Communication, abbreviation NFC), 2G, 3G or 4G or they one or more of combination, therefore corresponding communication Component 805 may include: Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 800 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device, Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array (Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member Part is realized, is laid out adaptation method for executing the above-mentioned RTL based on Android.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should The step of above-mentioned RTL layout adaptation method based on Android is realized when program instruction is executed by processor.For example, the meter Calculation machine readable storage medium storing program for executing can be the above-mentioned memory 802 including program instruction, and above procedure instruction can be by electronic equipment 800 Processor 801 execute to complete above-mentioned RTL based on Android and be laid out adaptation method.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should The step of above-mentioned RTL layout adaptation method based on Android is realized when program instruction is executed by processor.For example, the meter Calculation machine readable storage medium storing program for executing can be the above-mentioned memory 802 including program instruction, and above procedure instruction can be by electronic equipment 800 Processor 801 execute to complete above-mentioned RTL based on Android and be laid out adaptation method.
It is described the prefered embodiments of the present invention in detail above in conjunction with attached drawing, still, the present invention is not limited to above-mentioned realities The detail in mode is applied, within the scope of the technical concept of the present invention, a variety of letters can be carried out to technical solution of the present invention Monotropic type, these simple variants all belong to the scope of protection of the present invention.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case where shield, it can be combined in any appropriate way.In order to avoid unnecessary repetition, the present invention to it is various can No further explanation will be given for the combination of energy.
In addition, various embodiments of the present invention can be combined randomly, as long as it is without prejudice to originally The thought of invention, it should also be regarded as the disclosure of the present invention.

Claims (10)

1. a kind of RTL based on Android is laid out adaptation method characterized by comprising
It treats the adaptation page to be split, obtains each independent element wait be adapted on the page;
Each independent element is defined respectively, with the layout of each independent element of determination;
The RTL topology file of the page to be adapted to is generated according to the layout of each independent element;
When the RTL place function of android system is enabled, the RTL topology file is called, to be laid out display institute according to RTL State the page to be adapted to.
2. the method according to claim 1, wherein generating institute according to the layout of each independent element described Before the RTL topology file for stating the page to be adapted to, comprising:
LTR topology file is generated according to the layout of each independent element;
The layout according to each independent element generates the RTL topology file of the page to be adapted to, comprising:
By adjusting each independent element in the layout of the LTR topology file, the RTL topology file is generated.
3. according to the method described in claim 2, it is characterized in that, it is described by adjusting each independent element in the LTR The layout of topology file generates the RTL topology file, comprising:
For itself can RTL layout independent element, quote image of the independent element in the LTR topology file, create The mirror image of the image, the RTL topology file include the mirror image of the image.
4. according to the method described in claim 2, it is characterized in that, it is described by adjusting each independent element in the LTR The layout of topology file generates the RTL topology file, comprising:
For the set of the independent element shown in the LTR topology file in same a line, arranged using include label inverted order For each independent element in the set in the display position of the row, the RTL topology file includes after inverted order arrangement in the set Each independent element in the display position of the row.
5. the method according to claim 1, wherein described be respectively defined each independent element, With the layout of each independent element of determination, comprising:
Detect whether the independent element includes the direction LTR character by the preset interface of the android system;
If the independent element includes the direction LTR character, using BidiFormatter function to the direction LTR word Symbol is handled, so that the direction the LTR character in the independent element keeps the direction LTR layout.
6. method according to any one of claim 2 to 4, which is characterized in that the method also includes:
It is stored separately the RTL topology file and the LTR topology file.
7. a kind of RTL based on Android is laid out adaptive device characterized by comprising
Divide module, is configured as treating the adaptation page and is split, obtain each independent element wait be adapted on the page;
Layout definition's module is configured to be defined each independent element, with each independent entry of determination The layout of element;
RTL topology file generation module is configured as generating the page to be adapted to according to the layout of each independent element RTL topology file;
Calling module is configured as calling the RTL topology file when the RTL place function of android system is enabled, with The page to be adapted to is shown according to RTL layout.
8. device according to claim 7, which is characterized in that described device further include:
LTR file generating module is configured as generating the RTL of the page to be adapted in the layout according to each independent element Before topology file, LTR topology file is generated according to the layout of each independent element;
The RTL topology file generation module includes:
RTL topology file generates submodule, is configured as the cloth by adjusting each independent element in the LTR topology file Office, generates the RTL topology file.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of any one of claims 1 to 6 the method is realized when row.
10. a kind of electronic equipment characterized by comprising
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize any one of claims 1 to 6 institute The step of stating method.
CN201810558962.7A 2018-06-01 2018-06-01 RTL layout adaptation method, device, storage medium and electronic equipment based on Android Pending CN108958859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810558962.7A CN108958859A (en) 2018-06-01 2018-06-01 RTL layout adaptation method, device, storage medium and electronic equipment based on Android

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810558962.7A CN108958859A (en) 2018-06-01 2018-06-01 RTL layout adaptation method, device, storage medium and electronic equipment based on Android

Publications (1)

Publication Number Publication Date
CN108958859A true CN108958859A (en) 2018-12-07

Family

ID=64492933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810558962.7A Pending CN108958859A (en) 2018-06-01 2018-06-01 RTL layout adaptation method, device, storage medium and electronic equipment based on Android

Country Status (1)

Country Link
CN (1) CN108958859A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710364A (en) * 2018-12-27 2019-05-03 北京微播视界科技有限公司 Adjust method, apparatus, electronic equipment and the storage medium of layout type
CN111475248A (en) * 2020-04-17 2020-07-31 崔晓珂 RT L processing method, system, storage medium and electronic equipment
CN113760424A (en) * 2021-06-29 2021-12-07 杭州国芯科技股份有限公司 Interface conversion method suitable for countries with habit of writing from right to left

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1575452A (en) * 2000-10-24 2005-02-02 雷声公司 Multilingual system having dynamic language selection
CN101051270A (en) * 2007-05-11 2007-10-10 华为技术有限公司 Interface layout changing method and interface display controller
CN101114225A (en) * 2007-08-28 2008-01-30 中国科学院软件研究所 Multiple language self-adapting method of graphical user interface
CN103677786A (en) * 2012-09-21 2014-03-26 国际商业机器公司 Method and device used for assisting in graphic user interface design
CN106095437A (en) * 2016-06-12 2016-11-09 青岛海信电器股份有限公司 The implementation method of the layout type of user interface RTL from right to left and device
US20170010904A1 (en) * 2015-06-24 2017-01-12 International Business Machines Corporation Automated testing of gui mirroring

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1575452A (en) * 2000-10-24 2005-02-02 雷声公司 Multilingual system having dynamic language selection
CN101051270A (en) * 2007-05-11 2007-10-10 华为技术有限公司 Interface layout changing method and interface display controller
CN101114225A (en) * 2007-08-28 2008-01-30 中国科学院软件研究所 Multiple language self-adapting method of graphical user interface
CN103677786A (en) * 2012-09-21 2014-03-26 国际商业机器公司 Method and device used for assisting in graphic user interface design
US20170010904A1 (en) * 2015-06-24 2017-01-12 International Business Machines Corporation Automated testing of gui mirroring
CN106095437A (en) * 2016-06-12 2016-11-09 青岛海信电器股份有限公司 The implementation method of the layout type of user interface RTL from right to left and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MANLIKETHEWIND: "android适配写法drawable layout values", 《HTTPS://BLOG.CSDN.NET/A2241076850/ARTICLE/DETAILS/65446470》 *
NOMASP: "Android RTL及小语种适配", 《HTTPS://YQ.ALIYUN.COM/ARTICLES/631283》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710364A (en) * 2018-12-27 2019-05-03 北京微播视界科技有限公司 Adjust method, apparatus, electronic equipment and the storage medium of layout type
CN111475248A (en) * 2020-04-17 2020-07-31 崔晓珂 RT L processing method, system, storage medium and electronic equipment
CN113760424A (en) * 2021-06-29 2021-12-07 杭州国芯科技股份有限公司 Interface conversion method suitable for countries with habit of writing from right to left

Similar Documents

Publication Publication Date Title
CN102934052B (en) The context of dynamic input device controls
US10331871B2 (en) Password input interface
EP3336677A1 (en) Method and apparatus for controlling touch screen of terminal, and terminal
WO2021008334A1 (en) Data binding method, apparatus, and device of mini program, and storage medium
CN108958859A (en) RTL layout adaptation method, device, storage medium and electronic equipment based on Android
US20130268853A1 (en) Mobile terminal comprising a man/machine interface
KR102094013B1 (en) Method and apparatus for transmitting message in an electronic device
EP2738601B1 (en) Photographing processing method and terminal device
CN106155720A (en) A kind of method and system starting function of application
JP6452538B2 (en) Information processing apparatus and program
CN104731500B (en) A kind of information processing method and electronic equipment
RU2606562C2 (en) Application character adjusting method, device and terminal
CN106951219A (en) A kind of frame display methods and device
CN104765528A (en) Display method and device of virtual keyboard
US20160054881A1 (en) Information terminal, operating region control method, and operating region control program
JP2011113344A (en) Program generation device and program
US11790344B2 (en) Method and apparatus for displaying identification code of application
JP6819196B2 (en) Information processing equipment and programs
EP3001293A1 (en) Method and device for rights management
US10254959B2 (en) Method of inputting a character into a text string using a sliding touch gesture, and electronic device therefor
CN107786769B (en) Information processing apparatus, image forming apparatus, and information processing method
CN112749030A (en) Clipboard control method and device and readable storage medium
TWI697801B (en) Application function starting method, device and equipment
CN106162616A (en) A kind of method and device of number call
CN108182577A (en) A kind of method, apparatus and equipment for showing payment information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181207