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
package me.jgeraldo.compose.ui | |
import androidx.compose.foundation.border | |
import androidx.compose.foundation.interaction.MutableInteractionSource | |
import androidx.compose.foundation.layout.Arrangement | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.PaddingValues | |
import androidx.compose.foundation.layout.Row | |
import androidx.compose.foundation.layout.defaultMinSize | |
import androidx.compose.foundation.layout.fillMaxWidth |
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
package me.jgeraldo.compose.ui | |
import androidx.compose.material.Text | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.remember | |
import androidx.compose.ui.Modifier | |
import androidx.compose.ui.text.AnnotatedString | |
import androidx.compose.ui.text.LinkAnnotation | |
import androidx.compose.ui.text.TextStyle | |
import androidx.compose.ui.text.buildAnnotatedString |
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
image: openjdk:8-jdk | |
variables: | |
ANDROID_COMPILE_SDK: "28" | |
ANDROID_BUILD_TOOLS: "29.0.0-rc2" | |
ANDROID_SDK_TOOLS: "26.1.1" # only to register, because since some version, the link to download does not follow a pattern with the desired SDK version | |
APP_NAME: "MyProject" | |
before_script: | |
- apt-get --quiet update --yes |
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
.background { | |
background-image: url('../../assets/<your_bg>.png'); | |
background-size: cover; | |
} | |
.text-loading { | |
margin: auto; | |
padding-top: 5rem; | |
padding-left: 6rem; | |
padding-right: 6rem; |
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
/* Example of a CSS class to use to show the asset */ | |
/** Ionic example | |
<ion-grid align="center"> | |
<ion-row justify-content-center> | |
<ion-col col-8 align-self-baseline> | |
<div class="camera-icon"></div> | |
</ion-col> | |
</ion-row> | |
</ion-grid> |
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
package <your_package>; | |
import android.content.Context; | |
import android.content.SharedPreferences; | |
import android.util.AttributeSet; | |
/* You can use default ListPreference if you prefer. | |
Got this lib from <link>https://github.com/afollestad/material-dialogs</link> | |
*/ | |
import com.afollestad.materialdialogs.prefs.MaterialListPreference; |
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
package <your_package>; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
/* You can use default ListPreference if you prefer. | |
Got this lib from <link>https://github.com/afollestad/material-dialogs</link> | |
*/ | |
import com.afollestad.materialdialogs.prefs.MaterialListPreference; |