Questions tagged [android-layout]
A layout defines the visual structure for a user interface, such as the UI for an activity, fragment or app widget.
android-layout
59,136
questions
0
votes
0
answers
12
views
How to add Different Padding Between Floating Hint and Input Text in Custom TextInputLayout?
I'm working on a custom TextInputLayout in my Android project. I need to differentiate the padding between the floating hint (label) and the input text. When the hint is floating (acting as a label), ...
0
votes
2
answers
34
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
8
views
Why can NOT display the content when the TableLayout tag has more children (added programmatically) at runtime in Android studio?
I confused with the issue
Why can NOT display the content when the TableLayout tag has more children (added programmatically) at runtime in Android studio?
as the title says.
I'm sure that
The ...
0
votes
1
answer
29
views
Flutter singlechildscrollview layout error
I coded simple screen like below.
However singlechildscollview column hide upper +/- button.
Why this symptoms occured? and how can I fix it?
my development condition as follows
android : 2024.1.1
...
0
votes
0
answers
11
views
Adding ImageView Dynamically Behind Transparent Areas in Multiple Frames in Android App kotlin
I am developing an app where each frame contains a transparent area where users can place their images. The size and position of this transparent area vary across more than 100 frames, some having 3 ...
0
votes
1
answer
27
views
How to make a floating NavigationView in Android
I want to replicate the menu that Google has in its applications, but I don't know if there is a component like NavigationView and DrawerLayout that allows this menu to be made but that is not fixed ...
0
votes
1
answer
32
views
What is the alternative way for android development without android studio?
I want to be an Android developer. As Android Studio is hungry for memory, I don't have enough memory for Android Studio on my computer. But I want to continue android development without Android ...
0
votes
0
answers
13
views
Can not extract resource from com.android.aaptcompiler.ParsedResource@3d1b2c66 error in android studio
Can not extract resource from com.android.aaptcompiler.ParsedResource@3d1b2c66 this error is shown in android studio
i was tring to run texttospeech app on android and at that time of running the app &...
0
votes
0
answers
11
views
How to correctly inflate and convert this layout to bitmap, with correct dimensions
I'm having issues converting layout to Bitmap keeping the correct dimensions.
This is what I have in my layout file:
And this is what I get as the result:
It creates the wrong dimensions, and seems ...
1
vote
0
answers
25
views
Empty space when creating an AlertDialog, only on Oppo phones
I was just trying to migrate my application from a Realme to an Oppo and everything looked fine until I noticed the displayed dialogs were not centered. Here is the example (I will only talk about the ...
0
votes
0
answers
19
views
uneven raws in recyclerview using gridlayout manager Android kotlin
The problem is I am trying to design a layout with two columns and no rows or uneven rows this is my current design my current design and this is what I want to achieve expected design.
This is my ...
0
votes
0
answers
31
views
How does LazyColumn/LazyRow extract each composables from items block
I am implementing my own custom layout.
So there is a centre Node. As of getting branch nodes(in parameter of composable) i thought of using item block as we regularly use in lazylist composables. ...
0
votes
0
answers
21
views
How to change the order or RecyclerView items in GridLayoutManager?
I have written my own implementation of GridLayoutManager to display specific given number of rows and columns of RecyclerView.
The problem is, that the items are being rendered in a top-to-bottom ...
1
vote
1
answer
57
views
BottomNavigationView height issue - Icons not centered properly
I'm having an issue with my BottomNavigationView where the icons are not vertically centered. In the Android Studio preview, everything looks perfect, but when I run the app on an emulator, the height ...
2
votes
1
answer
33
views
How do I make the XML Layout as in the image which I want?
Consider my semi-circle.xml file:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape=&...