All Questions
Tagged with android-jetpack-compose user-interface
122
questions
1
vote
1
answer
67
views
How to achieve this overlapping effect in Jetpack compose
How do I achieve this overlapping effect in Jetpack compose. I am trying to get the precise position and placement just like the one shown in the picture, specifically of the ones circled in blue, the ...
0
votes
1
answer
63
views
Sweep gradient circular progress bar in jetpack compose
I want to create a circular progress bar with a gradient like this using jetpack compose
I tried to do it using the Brush.sweepGradient however, it didn't work correctly as the start angle of the ...
2
votes
1
answer
111
views
How to scale down the entire UI content to fit in a preview area in Jetpack Compose?
I'm implementing a theme chooser screen for my app. The idea is to provide various themes that the user can choose from and show previews of two screens so that the user can see how the theme will ...
0
votes
0
answers
26
views
How to create a column that does not impose displacements on child size change
as you can see the widget below the searchBox also know as QuranPicker should draw a full screen dim when expanded and the rest of ui shouldn't change size or position when it happens. I have tried so ...
0
votes
1
answer
48
views
Compose: How make it so that the Snackbar is not above the FloatingActionButton?
I want the snackbar to be under the button or at least overlap it
I'm trying to call snackbarHostState.showSnackbar(snackbarText) when the FloatingActionButton is clicked, but the call gets this:
In ...
0
votes
1
answer
88
views
Jetpack Compose: LazyRow Scroll Percentage?
I am trying to implement a scroll indicator on LazyRow. Ideally it would transition smoothly while scrolling, but I read that it is not possible because we only have access to the ...
1
vote
2
answers
82
views
snackbar shows again whenever I rotate my screen
I am having an error in my apk. After first snackbar shows, whenever I rotate my screen it shows that snackbar again.I don't want to show any snackbar, whenever my screen rotates. It happens for ...
0
votes
0
answers
19
views
FlingBehavior ignored on screen rotation / missing snapping after screen rotation
I have a LazyColumn with a SnapFlingBehavior. Everything works as expected when scrolling. However, on initial screen display as well as on screen rotation, the snapping is missing. How can I fix that,...
0
votes
1
answer
72
views
Scrollable TimeText in Jetpack Compose
I am making an app for the Wear OS using Jetpack Compose. I want the UI to look somewhat like this:
This is the code that I have now:
@Composable
fun DefaultPreview() {
TimeText()
...
0
votes
0
answers
35
views
UI not updating when using ListDetailPaneScaffold with custom composable on landscape mode
I'm using ListDetailPaneScaffold to display a list. When clicking on an element the detail view opens. In portrait mode this is working flawless. However, when testing on landscape mode I found that ...
1
vote
0
answers
118
views
How to customize exo player in jetpack compose like adding custom playback controls, custom quality options, custom icons etc
I want to create a video playing app in jetpack compose with plays online videos. The same video has different quality options on web but I cant find a way to implement it in android using jetpack ...
0
votes
1
answer
327
views
Jetpack Compose - Modifier.fillMaxHeight() not applied if parent layout wraps content
I have following case in my app:
Column(modifier = Modifier.fillMaxHeight().verticalScroll(rememberScrollState())) {
Row(
modifier = Modifier
.width(200.dp)
....
0
votes
0
answers
123
views
Make image overlap its parent view in Jetpack Compose
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....
0
votes
1
answer
135
views
JetpackCompose Button Text color issue in both dark and light modes
I'm new to mobile developmet and write my very first own program. I make simple calculator app that changes its colors if you change your phone mode. Everything seems to work fine but one thing, when ...
1
vote
0
answers
179
views
Android Development: Swipe up to refresh instead of swipe down with compose
I have a fully implemented working swipe to refresh functionality using google's
Modifier.pullRefresh() api
but it works by swiping down and i want to swipe up to refresh (for things like loading new ...