Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

I’m using a single activity app, where you have a Splash screen using the new splash screen api, keepsplashscreen is used to keep showing the splash screen till the check if the user is logged in or ...
Ahmed Yosri's user avatar
1 vote
1 answer
93 views

I have a TextView drawn on a LinearProgressIndicator. Part of the LinearProgressIndicator is blue and part of it is light blue. I want the TextView color to be lighter on the blue part and darker on ...
Ammar's user avatar
  • 494
0 votes
0 answers
53 views

I want to deactivate my slider so the user won't be able to touch it. I found the isClickable, but it works only for buttons. What is the equivalent of a slider? My XML: <Button android:id=&...
Alex's user avatar
  • 1,976
2 votes
1 answer
39 views

I have run an Android app on different devices. It shows the full-screen view on Xiaomi devices, which leads to an overlap of the activity's top and bottom areas, while it works fine on other devices ...
Romil Singh Tomar's user avatar
1 vote
1 answer
183 views

I'm building a Jetpack Compose screen that has an AppBar at the top and a WebView below it using AndroidView. The problem is that the AppBar takes a noticeable moment to appear when the screen loads. ...
Drax's user avatar
  • 93
0 votes
0 answers
55 views

For a long time, I've always thought that View.onAttachedToWindow(alias it ATTACH) and View.onDetachedFromWindow(alias DETACH) come in pairs, eg: ATTACH - DETACH - ATTACH - DETACH。 But today I found ...
Jade's user avatar
  • 716
0 votes
0 answers
49 views

This is my code for open the whatsApp . void openWhatsApp() async { try { final Uri url = Uri.parse("https://chat.whatsapp.com/"); final intent = AndroidIntent( ...
YASH JANGIR's user avatar
0 votes
2 answers
60 views

I want to create a custom view based on com.google.android.material.slider.RangeSlider. It works on a physical device, but fails in the XML preview from Android Studio. I've tried rebuilding, clearing ...
Viewed's user avatar
  • 1,453
0 votes
0 answers
84 views

I'm experiencing crashes in my Compose-based app when cleaning up AndroidView components that contain third-party ad views. The crash occurs during view detachment: Fatal Exception: java.lang....
A.AL's user avatar
  • 145
1 vote
2 answers
178 views

While I am taking Bottom Nav example from android studio new project templet, the view is perfect. But if I create new project with 'Empty View Activity' and implementing Bottom Nav manually, the view ...
plasma's user avatar
  • 63
-1 votes
1 answer
64 views

I'm using a previous question on Stackoverflow for implementing Wheel Date picker using DatePicker of View library in jetpack compose. The result i have before navigating to next page. After i ...
Fatima Jamal's user avatar
0 votes
1 answer
104 views

I've got a page on android that has a list of carousels. Each carousel has a header. When Talkback is enabled, currently the user has to go from the title of the carousel, navigate over every carousel ...
rohan's user avatar
  • 663
3 votes
0 answers
66 views

I have a camera screen in Jetpack Compose. It has another ImageView(SubcomposeAsyncImage) that gets updated with the image count when I take an image. Issue: The camera preview is not opening ...
hushed_voice's user avatar
  • 3,666
0 votes
0 answers
41 views

I'm experiencing an issue with the login page of my Android application. The problem occurs only on Samsung Galaxy A52 5G devices. Users have reported that the login button is not visible when they ...
Jakub Mroziński's user avatar
0 votes
1 answer
48 views

In a Compose application, I implemented the Settings screen as a new AppCompatActivity containing my PreferenceFragment. In order to navigate between screens in Compose and the Preference Activity, I ...
perissf's user avatar
  • 16.3k
1 vote
1 answer
2k views

This is probably a stupid question but i have to ask it anyway. In activities that are created solely by composables, is it still possible to use activity.findViewById(android.R.id.content) to find ...
AsafK's user avatar
  • 2,495
0 votes
0 answers
248 views

what i want is to make image overlap top edge of its parent view. without fixating any of view sizes image 1 expected i tried to use Box with image inside set to .wrapContentHeight(align = Alignment....
pipiskin's user avatar
3 votes
1 answer
69 views

Is there a way to click an item in an inflated PopupMenu anchored to a ListView item? I have a PopupMenu that is created by clicking a button inside a ListView. I need to click an item inside the ...
cj-'s user avatar
  • 342
0 votes
1 answer
203 views

var adRequested by remember { mutableStateOf(false) } if (AdEventManager.isInternetAvailable() && !adRequested && isNativeAdVisible && !App.isAppPremium) { ...
Muhammad Awais's user avatar
0 votes
1 answer
89 views

In an Android application, I have a layout containing a TextView at the top and two elements beneath it: an icon and another TextView. The second TextView displays a numerical value that undergoes a ...
AndroidCoder's user avatar
  • 2,735
0 votes
1 answer
333 views

I have a BottomSheet non-Modal with a WebView in Compose using an AndroidView. The WebView shows the Google Map Site and I use parameters to show a Location that I obtain using ...
jetberrocal's user avatar
0 votes
1 answer
48 views

I want to implement a Tab Indicator with bottom margin <com.google.android.material.tabs.TabLayout android:id="@+id/tabs" android:layout_width="match_parent" android:...
Sharan's user avatar
  • 1,315
4 votes
0 answers
705 views

I have an issue on a device with android 13, where the status bar is not overlaid by the scrim when a modal bottom sheet is showing. Now, the same app works as expected in an emulator with android 7.1....
Eddie's user avatar
  • 107
1 vote
1 answer
684 views

So I'm trying to convert a composable to view with this approach val composeView = ComposeView(LocalContext.current) composeView.setContent { //My Composable } But the problem is why when I get the ...
galihif's user avatar
  • 454
2 votes
0 answers
441 views

Suppose I have the following Canvas on my compose screen: Canvas(modifier = Modifier.fillMaxSize()) { withTransform( { transform(matrix = SOME_TRANSFORMATION_MATRIX_HERE) ...
Augusto Carmo's user avatar

1
2 3 4 5
80