bq show --schema --format=prettyjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
// ... | |
implementation('com.squareup.retrofit2:retrofit:2.5.0') { | |
exclude module: 'okhttp' | |
} | |
implementation 'com.squareup.retrofit2:converter-gson:2.5.0' | |
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0' | |
implementation 'com.squareup.okhttp3:okhttp:3.12.0' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<!-- Typical spacing between two views --> | |
<dimen name="spacing_tiny">2dp</dimen> | |
<dimen name="spacing_smaller">4dp</dimen> | |
<dimen name="spacing_small">8dp</dimen> | |
<dimen name="spacing_normal">16dp</dimen> | |
<dimen name="spacing_large">24dp</dimen> | |
<dimen name="spacing_larger">32dp</dimen> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="black">#000000</color> | |
<color name="white">#ffffff</color> | |
<color name="grey_50">#FAFAFA</color> | |
<color name="grey_100">#F5F5F5</color> | |
<color name="grey_200">#EEEEEE</color> | |
<color name="grey_300">#E0E0E0</color> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun traduzirPortunhol(mensagem: String): String { | |
// Converte a mensagem para minúsculo | |
var texto = mensagem.toLowerCase(Locale.ROOT) | |
// Substitui o texto para portunhol | |
texto = texto.replace("\\bo\\b".toRegex(), "lo") | |
texto = texto.replace("\\ba\\b".toRegex(), "la") | |
texto = texto.replace("\\be\\b".toRegex(), "y") | |
texto = texto.replace("\\b(é|eh)\\b".toRegex(), "es") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="Button" parent="Base.TextAppearance.AppCompat.Button"> | |
<item name="backgroundTint">@color/colorAccent</item> | |
<item name="android:textColor">@color/whiteColor</item> | |
</style> |