Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Improved App UI #66

Merged
merged 2 commits into from
Jul 24, 2023
Merged

Improved App UI #66

merged 2 commits into from
Jul 24, 2023

Conversation

aikrq
Copy link
Collaborator

@aikrq aikrq commented Jul 24, 2023

Improved App UI, fixed some bugs.

If something does not suit you, then feel free to write what I need to change to suit you.

Screenshots:
Screenshot_20230724-191039
Screenshot_20230724-191357
Screenshot_20230724-191701

@aikrq aikrq requested a review from PranavPurwar July 24, 2023 12:22
@aikrq
Copy link
Collaborator Author

aikrq commented Jul 24, 2023

For unknown reasons, I couldn't use the medium variant of the Inter font to display the title of the resource installation fragment. Setting the android:textStyle="bold" attribute made the text too bold, which wasn't suitable for my purposes. Therefore, I decided to leave it as it was.

I believe the reason for this issue is that the font has been set globally in the application theme, and changing it may affect other UI elements. I don't want to take the risk of changing this attribute in the theme and causing potential problems.

@PranavPurwar
Copy link
Member

Looks alright

@PranavPurwar PranavPurwar merged commit 8a1afc0 into Cosmic-Ide:main Jul 24, 2023
@dont-doubt
Copy link

dont-doubt commented Jul 24, 2023

Have you tried android:fontWeight="medium" instead? And something like that, i think?
https://stackoverflow.com/questions/46589519/how-to-use-specified-weights-for-fonts-in-xml

If it's still not working, then you will have to add custom font with medium weight, because some of default ones supports only "regular" and "bold".

Anyways, using medium font in plain text manages it to be looking really much better than with the bold one

@aikrq
Copy link
Collaborator Author

aikrq commented Jul 25, 2023

Have you tried android:fontWeight="medium" instead? And something like that, i think?
https://stackoverflow.com/questions/46589519/how-to-use-specified-weights-for-fonts-in-xml

If it's still not working, then you will have to add custom font with medium weight, because some of default ones supports only "regular" and "bold".

Anyways, using medium font in plain text manages it to be looking really much better than with the bold one

Note that this android:textFontWeight attribute has been available since API level 28.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants