MOBILE TERMINAL AND METHOD FOR ADJUSTING MENU BAR SOFTKEY DISPLAY DYNAMICALLY
First Claim
1. A method for adjusting menu softkey display dynamically, comprising the following steps of:
- obtaining a total display length of a menu bar and respective corresponding character string length value and location information of all softkeys on the menu bar; and
assigning display location and display length of each non-zero softkey according to the number of the non-zero softkeys whose character string length values are not zero on the menu bar and the location information of the non-zero softkeys, and displaying each non-zero softkey according to the assigned display location and display length wherein;
a sum of the display length of each non-zero softkey is less than or equal to the total display length of the menu bar;
if the character string length value corresponding to one non-zero softkey exceeds the display length assigned for that non-zero softkey, intercepting or abbreviating the character string corresponding to the non-zero softkey.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and terminal for adjusting menu bar softkey display dynamically are provided by the present invention. The method includes the following steps: obtaining the total display length of the menu bar and the respective corresponding character string length value and the location information of all the softkeys on the menu bar; setting the softkey of which the character string length value is non-zero on the menu bar as the non-zero softkey; assigning the display location and display length of each non-zero softkey according to the number of the non-zero softkeys and location information of each non-zero softkey; and displaying each non-zero softkey according to the assigned display location and display length. The method and terminal of the present invention overcomes the current defect that currently the fixed value is adopted to display the softkey of the bottom bar.
11 Citations
25 Claims
-
1. A method for adjusting menu softkey display dynamically, comprising the following steps of:
-
obtaining a total display length of a menu bar and respective corresponding character string length value and location information of all softkeys on the menu bar; and assigning display location and display length of each non-zero softkey according to the number of the non-zero softkeys whose character string length values are not zero on the menu bar and the location information of the non-zero softkeys, and displaying each non-zero softkey according to the assigned display location and display length wherein; a sum of the display length of each non-zero softkey is less than or equal to the total display length of the menu bar;
if the character string length value corresponding to one non-zero softkey exceeds the display length assigned for that non-zero softkey, intercepting or abbreviating the character string corresponding to the non-zero softkey. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
10. A mobile terminal, comprising a control module for adjusting menu bar softkey display dynamically, wherein, the control module comprises a parameter obtaining unit, a display configuration unit and a display unit, wherein,
the parameter obtaining unit is configured to obtain a total display length of a menu bar and respective corresponding character string length value and location information of all softkeys on the menu bar; -
the display configuration unit is configured to assign display location and display length for each non-zero softkey according to the number of the non-zero softkeys whose character string length values are not zero on the menu bar and location information of the non-zero softkeys; the display unit is configured to display each non-zero softkey according to the assigned display location and display length, wherein; a sum of the display length of each non-zero softkey is less than or equal to the total display length of the menu bar;
if the character string length value corresponding to a single non-zero softkey exceeds the display length assigned for that non-zero softkey, intercept or abbreviation is performed on the character string corresponding to the single non-zero softkey. - View Dependent Claims (11, 12, 25)
-
Specification