Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] 폰트 굵기 설정 방법 #96

Open
4z7l opened this issue Mar 7, 2021 · 2 comments
Open

[DOCS] 폰트 굵기 설정 방법 #96

4z7l opened this issue Mar 7, 2021 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@4z7l
Copy link
Member

4z7l commented Mar 7, 2021

현재 Noto Sans 폰트를 기본 폰트로 설정하고 develop에 푸시했습니다.
굵기 변경은 노가다가 필요할 것 같습니다 ㅠㅠ 코드 수정하면서 폰트들 크기도 한번씩 확인해주세요 @mdb1217

관련 커밋 0d8a202

폰트 굵기 설정 방법

  • android:textFontWeight 속성 추가하기
<TextView
   ...
   android:textFontWeight="500"/>

Figma 기준 300,400,500,700,900 폰트만 넣어놨는데 이외의 굵기가 발견되면 알려주세요!

@4z7l 4z7l added the documentation Improvements or additions to documentation label Mar 7, 2021
@4z7l
Copy link
Member Author

4z7l commented Mar 7, 2021

❗ 에뮬레이터 혹은 공기계 API가 27이하면 적용안될수도있음 ❗

@4z7l
Copy link
Member Author

4z7l commented Mar 7, 2021

Toolbar의 경우 themes.xml에 스타일 만들어놓았으니 이거 활용해주시면 될거같습니다.
관련 커밋 eeb3737

ex)

<androidx.appcompat.widget.Toolbar
             ...>

            <TextView
                ...
                android:text="@string/menu_create_keyword"
                style="@style/MyDailyToolBarTextStyle"/>

        </androidx.appcompat.widget.Toolbar>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant