Set Font encoding format in Android Studio

Source: Internet
Author: User

1. Chinese garbled display solution:
Settings-> Editor-> appearance-> select theme-> select override default fonts by: select a font that supports Chinese fonts in name, such as, Serif, sansserif and so on, and set the size. Generally, you can set it to 15. This setting is mainly for the IDE menu title bar font and style, and then save it.

2. display the row number
Choose Settings> editor> appearance> show line numbers.

3. Let the editing window support CTR + left mouse button scaling to modify the font size
Select "Change font size (zoom) with Ctrl + mouse wheel" in the settings-> Editor-> mouse option bar"

4. Modify the subject and font size
Settings-> Editor-> colors & fonts-> font-> in "scheme name", select a topic style and save it as: XX, and name xx, font size can be set by yourself, such as 15, 17, etc. The left column below is the list of optional fonts, and the right side is the font of the current system editor. Select a font, modify the font size, and save it.

5. file encoding
Settings-> File encodings-> ide encoding/Project encoding can be encoded as GBK, gb2312, or utf8.

6.Android studio sets the topic and does not support Chinese Characters

File --> Settings --> appearance, check override default fonts by on the right side, and select a type that supports Chinese characters.
Font, such as gb213.
 

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.