-
Notifications
You must be signed in to change notification settings - Fork 0
Conventions
Use lowercase letters, - to separate words, and the prefix feature/ when developing a new feature.
feature/simplefeature/more-than-one-word
Start with a capital letter and use present tense. The first line should be a very short description of the commit. Optionally, longer explanations can be added after a blank line.
Very short description in present tense
Optionally a longer explanation.
This might use multiple lines.
All text displayed to the user should be extracted to the strings.xml resource. Use only lowercase letters and _ to separate words. Prefix with the name of the file.
login_screen_login_button_textlogin_screen_email_label
Note
When your cursor is on a string, you can use the short-cut Alt+Enter then Extract string resource to extract the string.
Suffix the implementation with Impl if there is only one. Otherwise, use a prefix which defines the implementation.
- Interface
Repositoryand implementationRepositoryImpl - Interface
AuthenticationServiceand implementationsFirebaseAuthenticationService,SupabaseAuthenticationService
In order to import new icons, we cannot just import the whole library of icons from androidx.compose.material:material-icons-extended. Because it is way too large, therefore we must import them following this tutorial.
To see all possible icons, we should refer to google's icon library
You can use the icon as a painter in compose with the painterResource(id = R.drawable.icon_id) method. Beware that the color/tint you set manually in the XML file will be overwritten by the theme, therefore if you face any problems with this you can just remove the field or put a random hexadecimal color.