android-linearlayout Questions
3
Solved
Is there a LayoutManager for Swing that acts as LinearLayout in Android? I like an idea of components weights very much.
Wilmerwilmette asked 23/2, 2012 at 8:32
10
Solved
Ok, i have two buttons in linear layout:
<LinearLayout android:id="@+id/linearLayout1"
android:layout_height="wrap_content"
android:layout_width="fill_parent">
<Button android:id="@+...
Reference asked 8/8, 2011 at 12:49
3
Solved
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
...
Rouble asked 28/5, 2013 at 4:32
6
Solved
I have done a simple layout xml file. I have been solving my issues piece by piece. I am using scrolview, linearlayout and tableview. I have a top bar and it is locked at the top. it never moves. i...
Adaptation asked 18/6, 2013 at 9:10
9
I am unable to scroll my scrollview. It has a textView, an imageview and few linear layouts inside of it. When I replace the imageview and linear layouts with textview it is working. Here is my cod...
Bacillus asked 17/5, 2015 at 1:57
6
Solved
How do I set the maximum width of a ViewGroup? I am using a Theme.Dialog activity, however, this does not look so good when resized to bigger screens, it's also sort of lightweight and I don't want...
Obryan asked 3/5, 2011 at 21:23
8
My layout
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.andr...
Nonpartisan asked 5/1, 2017 at 12:49
4
Solved
I have a LinearLayout with two children inside of it. The first is a TextView with dynamic content, the second one is a button. My problem is that the button gets pushed out of its parent or gets s...
Bridgeport asked 21/6, 2021 at 13:10
4
I'm trying to create a bottom sheet dialog based on a complex layout.
What I have to achieve is a dialog with an header layout, a recycler view with a list of element and a bottom bar with a couple...
Bombastic asked 8/12, 2017 at 16:14
5
Solved
I've set a default theme for the whole app. It's defined in styles.xml as follows:
<style name="DefaultTheme" parent="@android:style/Theme.Holo.Light">
<!-- Customization here -->
&...
Kaltman asked 29/8, 2013 at 9:52
6
Solved
Sorry for the huge code dump, but I'm truly lost.
MyActivity.java onCreate:
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_singlepane_empty);
mFragment = new PlacesFragment();...
Novocaine asked 28/10, 2011 at 20:52
4
On CSS we can write :
<div style="float:right"> Text1 </div>
<div style="float:right"> Text2 </div>
by this way Text1 will appear on the right ..
I'm trying to do the s...
Orpington asked 13/10, 2011 at 19:29
21
I was wondering if is possible to group each single RadioButton in a unique RadioGroup
maintaining the same structure. My structure look like this:
LinearLayout_main
LinearLayout_1
RadioButton1...
Tomkin asked 5/5, 2012 at 10:34
2
i try to implements my own multi expandable RecyclerView it'w work fine for one sub-item but when i want sub-sub-item the view display but i need to click on it several times.
Example of hierarchy ...
Hardwood asked 7/7, 2015 at 14:31
7
Solved
I am working on an Android application. I want to change the background of a LinearLayout element.
What attribute can I set in order to change its background?
Seguidilla asked 7/4, 2011 at 6:17
10
Solved
I have lot of items on the screen and I need to use the scrollbar so the user can scroll down. However, the scroll is either not visible or it's not working. How is it possible to add a scrollbar t...
Alejandroalejo asked 29/10, 2010 at 20:12
4
Solved
I have linear vertical layout in parent.
Then a horizontal linear layout in the bottom including 3 buttons
I want 1st button at the leftmost side of the activity in bottom
2nd button in the center...
Hindi asked 14/12, 2013 at 8:29
2
Solved
I have a layout in android that needs to be a certain shape, i.e. this:
where the corners are cut off. Is there a way of doing this programatically without setting the background of the layout to...
Rhiamon asked 24/6, 2015 at 10:23
4
Solved
I have made custom toolbar with search and setting icon . when i click on search icon edittext should apper with match_parent and should occupy available space till the search icon . However it is ...
Topi asked 21/7, 2016 at 11:37
4
How can I remove divider lines in number picker, I tried setShowDivider to none(seems none doesn't exist) through xml and code noting worked
picker.setShowDividers(LinearLayout.SHOW_DIVIDER_NONE);...
Kreiker asked 13/6, 2017 at 9:36
9
I am trying to add TextViews to my xml-defined layout in code.
I have a xml-sheet, where a lot of Views are defined. But I have to add some views in code, so a create a LinearLayout in the xml-shee...
Pat asked 8/7, 2010 at 14:51
6
Solved
I'm trying to center an ImageView inside a LinearLayout horizontally and vertically, but I just can't do it.
The main reason why I'm not using a RelativeLayout for that is because I need the layout...
Mason asked 5/8, 2013 at 5:59
10
Solved
I am having trouble applying a gradient background to a LinearLayout.
This should be relatively simple from what I have read but it just doesn't seem to work. For reference sakes I am developing o...
Stupor asked 12/5, 2011 at 10:42
8
Solved
I m trying to have a textview and a button in linear layout with horizontal orientation. The textview should appear at the starting and the button should appear at the end. I thought giving gravity...
Octa asked 21/8, 2014 at 9:9
2
Solved
I would like to have a horizontal LinearLayout that is as wide as the screen and as high as its children, but the trick is that its children will have dynamic width each and I don't want them going...
Aq asked 24/8, 2013 at 0:15
© 2022 - 2024 — McMap. All rights reserved.