Posts by JustALineOfCode • 51 points
6 posts
-
0
votes1
answer23
viewsA: Problem loading URL with Webview Kotlin
You need to point to the absolute path of your Assets folders. override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState)…
-
0
votes1
answer308
viewsA: Recyclerview with Show More button
Try to use the setHasFixedSize() for the Recycler view this helps with the performance gain according to the documentation. Example: mRecyclerView.setHasFixedSize(true) Java Doc: Recyclerview can…
-
1
votes2
answers120
viewsA: Android Studio 3.2.1 does not locate "Default Activity"
You could do some tests? On the Oncreate() of your Basectivity set contentView. setContentView(R.layout."SeuLayout") Try to set in hand which Activity is your Auncher, following your second…
-
0
votes1
answer66
viewsA: Use adb commands in App for android
It is not possible to create an app that runs these commands, you can create a script (Bash/Python) that runs a sequence of ADB commands but must run on your machine.
androidanswered JustALineOfCode 51 -
0
votes1
answer118
viewsA: Center an image within a Textview
If this is not the solution please reply to the post with XML code. <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"…
androidanswered JustALineOfCode 51 -
4
votes2
answers565
viewsA: Is it possible to call Onclick from Textview a new Activity?
First, if this is not the solution, paste the LOG so we can analyze. Make sure your Activity name on Androidmanifest is consistent with your class, I’ve noticed that you’re declaring an Activity on…