3,025 questions
0 votes
0 answers
33 views
When using Material 3's Dynamic Color feature, almost all text in my app becomes too faded
My goal is to make text with Dynamic Color enabled more bright and readable, like how it looks without the Dynamic Color. I know that I can set text color programmatically, but this is an approach, ...
0 votes
1 answer
60 views
Does enableEdgeToEdge() override windowOptOutEdgeToEdgeEnforcement flag?
I'm working with Android 15's edge-to-edge enforcement and need clarification on how enableEdgeToEdge() interacts with the windowOptOutEdgeToEdgeEnforcement theme attribute. Setup In my theme: <...
1 vote
0 answers
75 views
Cannot place attributionTag anywhere in the manifest
Im having an issue where attributionTag not declared in manifest of com.my.package is appearing in my logcat when i play audio using the MediaPlayer. Based on the Android documentation and other ...
2 votes
1 answer
72 views
How does VectorDrawable scaling affect rendering performance?
I’m trying to understand how VectorDrawable rendering works in Android in terms of performance. Suppose I have a vector resource defined like this: <vector xmlns:android="http://schemas....
0 votes
0 answers
44 views
ConstraintLayout Flow is not wrapping views as expected
I'm maintaining legacy app which is still using XMLs and oldschool Views. I have androidx.constraintlayout.helper.widget.Flow component which has constraint_reference ids to other Views. Those other ...
0 votes
0 answers
38 views
Proguard Rules for jackson-dataformat-xml
I am implementing Jackson with this dependencies implementation ('com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.18.2') implementation 'javax.xml.stream:stax-api:1.0-2' https://...
0 votes
0 answers
48 views
Why textview is not appearing on Gif when using Glide?
I have an ImageView, and below it, there is a TextView. Both are inside a ConstraintLayout. The ImageView can display either a GIF or a normal image. The TextView appears fine when I use a normal ...
0 votes
0 answers
26 views
How to change menu actionitem background Color?
Ok I feel like an idiot, my menu action item has this dark color that does not even exist in my theme, But my menu_item xml is setting it to be a tan color, xmlns:app="http://schemas.android....
10 votes
3 answers
3k views
windowSoftInputMode adjustResize doesn't work in target sdk 35
When I increased the target SDK of the app from 34 to 35, the windowSoftInputMode in adjustResize mode no longer worked. I have tested everything and found that it is only related to the target SDK. ...
0 votes
1 answer
81 views
Constraint layout Y position not matching the margin value
I'm facing some sort of trouble setting constraint on a view on runtime with a margin. These are the y and margin coordinate when the view is displayed to the user I set the margin like that : ...
1 vote
1 answer
133 views
Possibility on Migrating Old Huge Project into Jetpack Compose
So, I was developing this huge app back in 2020 or so, still using xmls and all of that, and then I'm out. Now, I want to continue working on that app, but I've seen things changed drastically with ...
0 votes
1 answer
60 views
Cannot display an image in Constraint Layout
I have this xml but the image is only shown when I hard the width and height of the image. I am not sure why the constraints as I provided in the code are not working. <merge xmlns:android=&...
6 votes
1 answer
4k views
How NOT to create projects with Jetpack Compose using Android Studio
I can't create a normal project without jetpack-compose, it always includes its libraries and configurations in Android Studio, and the working project requires not using it. I expected it to open ...
0 votes
0 answers
47 views
SVG Image doesn't show up when I use app:srcCompat but works fine when I use android:src
I downloaded and Added an SVG file to my Project's Drawable Directory. When I used it in my Layout with app:srcCompat, the Image doesn't get displayed. I even added the VectorDrawables....
-1 votes
1 answer
81 views
I want to make a Weekday Picker that will take all the space available according to the device
I want to create a Weekday Picker that will utilize all the available space on the device. Here is what I have done till now. How can I make it adaptive? How can I improve its appearance? This is my ...