Patent ID: 8659625

Claim:
A method for adjusting menu softkey display dynamically in a mobile terminal, the method comprising: obtaining, with a display configuration unit of the mobile terminal, a total display length of a menu bar in a direction and respective corresponding character string length value in the direction and location information of all softkeys on the menu bar; and assigning, with the display configuration unit of the mobile terminal, display location and display length of each non-zero softkey in the direction 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; wherein, the step of displaying the each non-zero softkey according to the assigned display location and display length comprises: if the character string length value in the direction corresponding to any one non-zero softkey is greater than a length mean value received after the total display length of the menu bar in the direction is averaged according to the number of the non-zero softkeys and the number of the non-zero softkeys is 1, then: assigning, with the display configuration unit of the mobile terminal, the display location according to the location information of that non-zero softkey, assigning character string length value in the direction of that non-zero softkey as less than or equal to ¾ of the total display length of the menu bar in the direction, and displaying that non-zero softkey; and if the character string length value corresponding to any one non-zero softkey is greater than a length mean value received after the total display length of the menu bar is averaged according to the number of the non-zero softkeys and the number of the non-zero softkeys is 2, then: assigning, with the display configuration unit of the mobile terminal, the display location according to the location information of each non-zero softkey, assigning a length value of which the display length is less than or equal to ⅖ of the total display length of the menu bar for each non-zero softkey, and displaying each non-zero softkey.