All Questions
Tagged with android-studio android-layout
4,376
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) ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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?
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:...
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 ...