Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
2 answers
41 views

layout doesn't appear in activity_main of my app

i've a problem with my app. Today i've upgrade my android studio to the last version. I've runned my app on my phone, but in the activity_main.xml the include layout (that contains a new ActionBar) ...
Massimo's user avatar
  • 33
0 votes
0 answers
37 views

How to create sub directory in res>layout folder in android studio?

I am using kotlin and kotlin DSL I want to create sub directory under layout directory. So that I can manage my layouts more effieciently. There are many layout files, so it is such a mess to manage ...
Jihan Khan's user avatar
0 votes
1 answer
59 views

How to correctly add background or big images to Android Studio for Views?

For example I have .jpg 4k image that I want to set as background, or other resolution .jpg/.png that I want to add somewhere on the screen (for example character that goes out from View). How should ...
GOLDProFA's user avatar
  • 609
0 votes
1 answer
32 views

BottomNavigationView only shows 1 icon at a time and only when the space containing the (invisible) icon is clicked

Kotlin Android app has a BottomNavigationView on the initial fragment. When the app is run the first icon of 5 in the view shows but the remaining icons/labels only show when that (blank) part of the ...
stroopwafel's user avatar
0 votes
0 answers
26 views

How to create a layout similar to Walkthrough screen in Android?

I am implementing a feature in my android app. This feature has multiple parts. One of the part requires user to complete a 5 step process in order for successful completion. Currently I have ...
SSF's user avatar
  • 11
1 vote
1 answer
69 views

Why does Android Studio have an issue with using custom Styles in my project?

Everywhere I reference one of my projects custom styles in a layout I get this syntax error about extraneous input. Syntax error: The style still gets applied to the layout correctly and the project ...
Harley's user avatar
  • 13
0 votes
0 answers
15 views

How can i make the margin smaller without making the png image change its size?

enter image description hereenter image description here Hi, i'm new to Android Studio XML, i need to make the margin of my PNG img smaller so it's make me easier to constraint other view, but when i ...
Muh Raflyawan R's user avatar
0 votes
0 answers
47 views

How to add subfolders and add xml files under layout folder in "Android Studio Iguana | 2023.2.1"?

I have tried some solutions like - Created "layouts" directory under "layout" folder and refractor and move the xml files but then in the layout folder did not see any subfolder ...
Rittik's user avatar
  • 1
2 votes
0 answers
61 views

Jetpack Compose Digital Ink Recognition Accuracy Much Worse Than XML Layout: Why?

I attempted to integrate Digital Ink Recognition into an Android app using Jetpack Compose, but I noticed that the accuracy of recognition is significantly lower compared to when using XML layouts. ...
Shubham's user avatar
  • 21
0 votes
0 answers
15 views

why does my background color override some of my other components?

I try to make a background color and i learn some youtube video about how do i do it. I wanted to make a gray background that was placed behind all the components, but what happened was that the ...
Wildan Arsthasya's user avatar
0 votes
0 answers
34 views

Anchor image to position and stop re-scaling. Kotlin, Android Studio

I designed two separate images "background" and "circle". They fit almost perfectly into each other.(See image below). After displaying them in android studio using kotlin their ...
sven b's user avatar
  • 55
0 votes
0 answers
57 views

How to round the corners of the items from recycler View

I am trying to set the corners of the items using CardView but when i swipe the item its background has the sharp corners. I am attaching image as well as code please check and tell me where i am ...
Ash Kecthum's user avatar
0 votes
0 answers
19 views

how to change bottom navigation view Active indicator color in android studio?

Active indicator How to change Active indicator(number 4 on the pic) color in xml file in andorid studio?
Eblo's user avatar
  • 1
0 votes
0 answers
32 views

Remove Space between Drawable and Switch Button and Solve DrawableEnd Icon Problem

How to solve this problem? theres a gap between icon and switch button. Image 1 : Before <androidx.appcompat.widget.SwitchCompat android:layout_width="wrap_content" android:...
Ardityo Cahyo's user avatar
0 votes
1 answer
201 views

Adding child composable function with constraint layout into parent constraint layout in jetpack compose

i have planed to use constraint layout for my app. i want to include child composable with constraint layout into parent composable. when i try to do like normal way of including, it doesn't work, i ...
coppersmith's user avatar

15 30 50 per page
1
2 3 4 5
292