Android: Decide on font

Created on 9 Jun 2020  ·  4Comments  ·  Source: nextcloud/android

The font family (font style?) still seems to be different compared to the dialog

@stefan-niedermann yeah, this is anothe rissue which according to @JorisBodin is due to the use of material UI classes which default to another (newer) font but yes this should be fixed (via another PR)

_Originally posted by @AndyScherzinger in https://github.com/nextcloud/android/pull/6245#issuecomment-640496621_

approved bug

All 4 comments

@jancborchardt I remember that we switched font at some point and reverted then back again.
So I prefer to keep the font we have in drawer/everywhere else and only switch the font in the new dialog?

reading https://www.xda-developers.com/roboto-android-fall-rise-default-font/ I'd also vote for staying with Roboto since Google Sans is proprietary so that might lead to issues throughout the different Android versions :/

Can someone help me a bit here?
Our create folder dialog seems to use:
https://github.com/nextcloud/android/blob/768b067fb2d802244ee10ebf57d8ff950fcd63f6/src/main/res/values/styles.xml#L107

image image image image

(account choose dialog - create folder dialog - list view - drawer)
left to right

reading https://www.xda-developers.com/roboto-android-fall-rise-default-font/ I'd also vote for staying with Roboto since Google Sans is proprietary so that might lead to issues throughout the different Android versions :/

We should no longer use google lib. 🤷‍♀️
Remove com.google.android.material:material in the build gradle

Was this page helpful?
0 / 5 - 0 ratings