Posts by Kaique Ocanha • 61 points
4 posts
-
2
votes1
answer79
viewsA: Continue code after accepting permissions, Android Studio
Come on! To implement the flow of resource permission requests on Android you need to pay attention to a few points: You should always check if permission has already been guaranteed. You should…
-
1
votes2
answers331
viewsA: White screen before splash screen startup
If Splashactivity is Activity LAUCHER, this is probably the device that can have more modest hardware, and is loading the app. To check if Splashactivity is Activity Laucher (initial), just open the…
-
1
votes1
answer58
viewsA: How to access an Activity by clicking on the notification without losing the data
Come on! To open Activity from the notification it is necessary to inform this in Notification.Builder. This can be done as follows: // Cria um Intent da Activity que você deseja abrir Intent…
-
2
votes1
answer226
viewsA: Align Textview to the right in a Linearlayout in Android Studio
There are several ways to get the result you want: Using only Linearlayout The simplest way, following the approach you have already started to implement, would be the following: <LinearLayout…