All Questions
Tagged with android-jetpack-compose jetpack-compose-accompanist
121
questions
1
vote
0
answers
15
views
How to fix outo slider triggeruing multiple times in horizontal pager migration problem from accompanist to foundation compose?
I have used accompanist library with older version like 0.22 as far as I know accompanist is deprecated, I made a migration to foundation -> import androidx.compose.foundation.pager.HorizontalPager....
1
vote
2
answers
588
views
How to use Compose Accompanist to work with new permissions on old devices?
Using Jetpack Compose Permissions from the Accompanist Permission library (https://google.github.io/accompanist/permissions/) is a nice reactive way. However, it's unclear to me how to deal with ...
0
votes
0
answers
47
views
nested horizontalPager Sliding not smooth
i hava a nested HorizontalPager like this:
HorizontalPager(
count = list.size
) {
HorizontalPager(
count = list2.size
) {
//items
}
}
when i slide the page in the outPager ...
1
vote
0
answers
415
views
Jetpack Compose WebView ImePadding
I have a component which has a webview that uses quill.js to create a rich text editor .the component itself part of another view which has multiple elements which places this view to the bottom when ...
0
votes
0
answers
30
views
Accompanist TestHarness doesn't change the LocalConfiguraiton screenWidthDp when size parameter is provided
So I am trying to add a UI UnitTest in our app. And tried using the TestHarness from Accompanist to test our app in small and large screen device.
I provided the parameter size and in their ...
0
votes
0
answers
94
views
Custom layout - Jetpack compose - Cloud layout design like Apple store app
Hi i am struggling to build a custom layout for a list of images which is placed and sized like in cloud. .
The first element in the list have to be placed in the center and the other set elements is ...
0
votes
2
answers
2k
views
Drawing content over safearea in material3 with jetpack compose does not work
I am using the latest BOM version of jetpack compose: implementation platform('androidx.compose:compose-bom:2023.06.01') align with materail3. I need my content to ignore safe area. I have already ...
1
vote
0
answers
286
views
How to request USB permissions in Jetpack Compose with Accompanist?
I am migrating a Android app to Jetpack Compose. Following this connectivity USB tutorial I requested USB permissions on the usb device that I am trying to connect.
Now with Jetpack Compose I think ...
1
vote
0
answers
117
views
Make bottomBar in compose android scaffold as transparent
In Android Jetpack compose,
I have a root level ModalBottomSheetLayout.
In its content, I have a Scaffold. Scaffold content has a list of data shown.
In bottomBar I am showing a logo with some top &...
2
votes
2
answers
2k
views
Android Compose,focusRequester.requestFocus() causing Fatal Exception: Expected BringIntoViewRequester to not be used before parents are placed
I am new to Android Compose and am working on a maintenance project.
The following block of code is where the error is occurring:
@ExperimentalMaterialNavigationApi
@ExperimentalAnimationApi
@...
0
votes
1
answer
219
views
Animating (or setting to fully transparent) StatusBar in Jetpack Compose
I've encountered a problem with transitioning between screens in Jetpack Compose. By default when we navigate in Compose it applies CrossFade animation. The problem is that my second screen has ...
2
votes
0
answers
383
views
AnimatedNavHost uses different animations for startDestination
So I use this library com.google.accompanist:accompanist-navigation-animation for Animated Navigation in Compose.
For all screens I set the following animations when I navigate between them, and it ...
5
votes
2
answers
1k
views
Screen content moves prior to navigation in compose
I have a main compose with a scaffold, top app bar, FAB, navigation bar. Then I have a couple of composable screens I can navigate to and the navigation animation is working fine, which means the ...
0
votes
1
answer
1k
views
Jetpack Compose - Animating navigation without animating scaffolding topBar and bottomBar
While trying to work with Accompanist's navigation animation tools, I was pretty content with how the animations turned out, but I wanted the top and bottom bars of the screens to not animate along ...
3
votes
3
answers
3k
views
how to add spacing between row and columns in FlowLayout?
I'm migrating FlowLayout from the accompanist library with the native compose v1.4.0.
To give spacing between columns and rows we had FlowCrossAxisAlignment and FlowMainAxisAlignment, however now this ...