android Questions
2
How to add a lazy column inside another lazy column in jetpack compose like below screenshot.(The inner list size maybe vary)
@Composable
fun SingleItem() {
LazyColumn(modifier = Modifier
.fillM...
Bandoline asked 5/9, 2022 at 12:42
2
Solved
I discovered today that MaterialTheme applies an alpha to Text's colour. As you can see from the example attached, when I change the background colour, the text's colour appears to be different bec...
Terrazzo asked 13/10, 2022 at 2:9
3
I have a SwipeToDismiss instance to delete items with dismissThresholds 75%.
If user swipes row too fast without reaching 75% threshold the row being deleted. How to prevent that?
Here is code wher...
Reeder asked 19/6, 2022 at 11:35
3
Solved
When Android 9(API 28) was released, I was very happy to discover that the physical cameras of the phones with multiple cameras would be exposed, I had been very frustrated to not be able to access...
Willamina asked 30/4, 2019 at 14:48
6
Solved
When trying to debug my application on my Samsung Galaxy S4, I get this output:
Waiting for device.
Target device: samsung-samsung_sgh_i337-8c8aa2c7
Uploading file
local path: C:\Users\awebberley...
Mc asked 4/6, 2014 at 16:49
2
I need to use the emoji2-emojipicker from androidx which is made like so with XML views:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width=...
Archdiocese asked 22/6, 2023 at 10:11
5
I created a virtual device using Genymotion. I want to test an app that works with shaking the device. How can I make virtual device shake? I couldn't find how to shake that device.
Ushaushant asked 4/6, 2017 at 15:14
3
Solved
Why is it that border modifier is not applied when used with .apply { }?
val selected = remember { mutableStateOf(true) }
val selectableModifier = Modifier
.padding(horizontal = 5.dp, vertical = ...
Eskimoaleut asked 26/8, 2021 at 6:46
2
Solved
I've used ClickableSpan on a TextView. Upon adding the span, the color of text where it has been applied was changed too.
Checking SO questions, what I've seen are changed color after it was click...
Panache asked 18/5, 2017 at 16:52
3
I simply changed my package name in Flutter by editing .xml and gradle file(s) and changing the folder names in src/main/kotlin/my/package/name. After that action there is "1" sign in fro...
2
Solved
I am drawing a custom shape for a topbar in jetpack compose. I want to draw a shadow for the path.
val topBarShapePath = Path().apply {
moveTo(dpToPixels(leftPadding), 0f)
lineTo(dpToPixels(leftP...
Gussy asked 3/12, 2021 at 22:57
4
I'm facing weird exception while placing all images from internal storage in LazyVerticalGrid. It was working fine without any problem till now, but recently this problem appears without any notice...
Farrow asked 5/1, 2022 at 9:20
4
I used Text.rich() or RichText with font size 25. but the size of RichText is looking greater than the Text.rich() please tell me why the size is different, I specified font Size 25 for both widget...
3
Solved
I'm writing an application using react-native, and I'm trying to show content behind status and navigation bars. I managed to solve this issue by adding some code styles.xml. This managed to solve ...
Datestamp asked 2/2, 2022 at 23:5
3
Solved
I am setting up a new phone and already have the App Tester app on my old phone.
On this page Google recommends installing the app in Step 2, but do not provide a link or any instructions for where...
5
I'm getting error after update the Android version and flutter version. Right now I want add the "file_picker: ^5.2.5", and "cached_network_image: ^3.2.3" plugin so getting &quo...
Pellicle asked 18/1, 2023 at 5:40
2
For this code
class Foo {
var name: String? = null
}
kotlin compiler generates:
private String name;
public final String getName() { ... }
public final void setName(String name) { ... }
Eve...
Nosography asked 22/11, 2017 at 23:46
3
I'm having a problem when trying to get the user location using location.getLocation() on a real device, now it works perfectly on the emulator and super fast but on a real device it's slow, I don'...
3
I'm new to flutter app devleopment. I've installed Flutter SDK and I'm using VS Code. I want to test my demo app in my android device, I've enabled Developer mode and USB debugging option in my and...
4
Solved
I have a serious issue about passing data from BroadcastReceiver to an Activity. Let see my issue carefully. I have a class PhoneStateReceiver extends BroadcastReceiver that used to received an inc...
Gayomart asked 15/8, 2016 at 11:31
2
I am developing an Android application. There is a requirement that the app doesn't allow users to use the app if they are controlling the device remotely via WiFi using some apps like Air Droid, T...
Deroo asked 26/8, 2020 at 10:0
3
I recently upgraded my Flutter application to version 3.24.1, and since then, I’ve been unable to run the app. I’m encountering the following Gradle issue:
You are applying Flutter's app_plugin_loa...
Mythopoeic asked 28/8 at 12:33
5
Solved
When I bought the new laptop, to copy my android studio projects from old laptop to new laptop, I just copied all the projects from the folder AndroidStudioProjects to respective folder in new lapt...
Nada asked 17/1, 2022 at 1:50
3
Solved
Currently, it seems all the Vulkan tutorials and samples use NativeActivity on Android platform. I would like to know whether we can use Vulkan with Java Activity on Android?
5
Solved
I have a gradient I really like but I created it using XML drawable:
<gradient
android:startColor="#DD181C18"
android:endColor="#809C7D5A"
android:angle="90"/>
What would be an easy way...
Rosarosabel asked 15/12, 2011 at 12:13
© 2022 - 2024 — McMap. All rights reserved.