Skip to main content
Advice
0 votes
0 replies
56 views

I already know that you can use AndroidView in compose to achieve this goal, but what I'm thinking is how to wrap the interface so that the calling object of the interface is composable. Like this: ...
user24538401's user avatar
0 votes
1 answer
104 views

I'm working on a library that modifies the appearance of Views at runtime, "live". I need to insert some draw operations z-wise-between a View's background and its contents – i.e., right ...
zed-alpha's user avatar
  • 647
1 vote
1 answer
100 views

I was under the impression that the value returned by View.getWidth() includes padding in it. I don't think I'm hallucinating things - a common line of code that Android developers write is something ...
riamse's user avatar
  • 371
0 votes
0 answers
58 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
0 votes
0 answers
99 views

I am trying to create a system overlay using WindowManager. This overlay contains a ComposeView which, in turn, hosts a Composable that animates its height. My WindowManager.LayoutParams for the view'...
Harsh Ranjan's user avatar
1 vote
1 answer
100 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
  • 498
0 votes
0 answers
160 views

I am using a androidx.media3.ui.PlayerView on an Activity to play a video on full screen in landscape. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:...
Raimundo's user avatar
  • 605
0 votes
0 answers
58 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
0 votes
1 answer
40 views

Layout: <RelativeLayout android:id="@+id/relativeLayoutMain" android:layout_width="fill_parent" android:layout_height="0dp" android:layout_weight="...
Hong's user avatar
  • 18.7k
2 votes
1 answer
51 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
0 votes
0 answers
65 views

I'm creating an AnimatedVisibility-like API that operates on a Bitmap of the content for enter-exit transitions. I'm using the recommended way to draw a composable's content into a bitmap. Basically ...
Calamity's user avatar
  • 1,060
1 vote
2 answers
330 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
  • 87
0 votes
0 answers
40 views

I want to design a profile screen similar to Instagram, where you have a header, a tab, the content for each tab, and the whole screen is vertically scrollable. Video of what I'm trying to achieve, ...
lazyverticalgrid's user avatar
0 votes
0 answers
73 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
  • 824
1 vote
1 answer
287 views

I'm developing an Android Accessibility Service that detects when a user is scrolling through YouTube Shorts and takes action accordingly. However, the detection is inconsistent because the view ID ...
Vishal Anand's user avatar

15 30 50 per page
1
2 3 4 5
267