8000 GitHub - MarekMatejka/LogoTextView: Simple way how to use fonts instead of graphics
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MarekMatejka/LogoTextView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About and Benefits

LogoTextView is a simple way to use nice graphics in an Android app without being a good designer. It builds on the fact that many fonts are free to use (even for commercial purposes) and that all fonts are vector graphics therefore, they don't lose quality as they scale. For example Font Awesome (Web: http://fontawesome.io/, GitHub: https://github.com/FortAwesome/Font-Awesome) is a set of 350+ icons that can be used in various ways to support your Android app's graphics.

How to implement LogoTextView to your own project:

  1. copy font_awesome.otf or any other font to your assets/fonts folder (you may need to create the fonts folder)
  2. copy the LogoTextView class to your project
  3. copy the attrs.xml to your res/values folder
  4. define logos you would use - in both attrs.xml and in LogoTextView.java
  5. define a new view in your layout file (as shown in activity_main.xml)
  6. customize it - add colors, onClick events, ...

About

Simple way how to use fonts instead of graphics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0