This is a problem I've had several times when trying to create layouts with a sidebar.
I made an example here: http://samutz.com/div.html
#content has stuff inside it that needs to float and then clear within #content only. But when I try to clear inside #content, it clears the #sidebar's float as well, despite #sidebar being outside o...
When writing code, I find it important that my code looks well (apart from the fact that it has to work well). It is well described in the book Code Complete (p729): 'The visual and intellectual enjoyment of well-formatted code is a pleasure that few nonprogrammers can appreciate'.
The problem is, as soon as I got my code functionally w...
How do you create a pull out menu as a new Activity.
Is it possible to have a button that you can pull out as in the Google's built in camcorder app and have that start a new activity?
Does a button support pull out? If not, what does?
...
I have a custom class called NoteView that extends FrameLayout. Previously, I had just been using the stock LinearLayout and have an XML layout built already that I want to reuse by adding that entire hierarchy (with some other overlay views which is why I needed framelayout) to the NoteView.
The problem is I can't figure out how to in...
I'm trying to dynamically create TableRow objects and add them to a TableLayout. The TableRow objects have 2 items, a TextView and a CheckBox. The TextView items need to have their layout weight set to 1 to push the CheckBox items to the far right. I can't find documentation on how to programmatically set the layout weight of a TextView ...
Hi,
I have created multiple items in a single panel. Now i want to display this panel in a 'fit' layout. I don't want to fix the height and width for this panel. I know 'fit' layout allows only one item to display.
Is it possible to use 'fit' layout here? Or Is there any alternative to achieve this?
Thanks,
Anandan
...
I've been through the Android tutorials - these do a good job of introducing how we can hand-roll an Android user-interface. Actually, I do not need that level of control right now... I'm looking for something simpler...
I'd like to make an Android app which will mainly contain a number of standard UI widgets, nothing particularly fancy...
I have a very simple layout with two side by side textviews. Both have the same parent layout that fills the screen horizontally.
I need them to have a visible space between them so that they are visually seperated when both have text. I also need the left textview to take up about 2/3 the screen width and let the other have the rest....
I am trying to get a layout where an icon floats on the right end of a textblock; the textblock grows/shrinks to content. I cannot make this happen without the textblock running outside the grid. For example:
<Grid x:Name="LayoutRoot" Width="500" HorizontalAlignment="Left" ShowGridLines="True" >
<Grid.ColumnDefinitions>
<ColumnDefini...
This problem is driving me crazy. Basically I want to have a tutorial for my Android app that lets the user go forward and backward through a few tutorial screens. I have four children which just consist of a relativelayout with an imageview and textview for each child. For some reason the when I show the viewflipper in my activity the 1...
My problem is that I need a footer which is always on the bottom, even if the page scrolls etc.. but I don't know how to make the content follow the footer.
Please see the example given, this is a very similar layout, I have a sidebar also, but you can see with firebug, or something like that, that the body div is not following the foot...
Hey,
Ok this is what I wish to do.
I have a resizeable window which has 3 controls in same row in flowing order: textBlock, textBox and button.
textBlock and button have dynamic texts. So theirs size depends upon text inside.
Now what I wish to do is that textBox in the middle is always filling up all empty space between textBlock a...
I'm working on a project which (as usual) contains source code and many static resources like images and generated files (for UI and l10n).
By now, everything is versioned with Subversion, but I think there must be a better way to store the static and generated files and link them on project deployment.
So, in your opinion which option...
I'd like to use gwt-dnd within an application that uses the new 2.0 layout panels.
however, gwt-dnd only accepts AbsolutePanel as its container for drag and drop.
is it possible to use AbsolutePanel within, say, a DockLayoutPanel?
...
Hi Folks,
I want create a Circle layout. my views are all should in the order circle. Which layout i have to prefer and How? The Focus of the Layout should clockwise circle. Share your ideas please?
Thanks,
Edit:
I can do this view is the update for my question by comments. Is there any example for that to do?Please Share Your thoug...
Because of the changes I have done to my post I have thinked to open another thread. In the new thread I have posted my (provvisory) solution.
You can find it here
Hi!
I have a problem with my TreeView in a WPF application (Framework 3.5 SP1).
It's a TreeVIew with 2 Levels of Data. I expand / collapse the items of the first level in a p...
I am trying to find the correct xml to define a layout of three items on a single 'line' as follows :
Button (left aligned on the screen) with the text 'Prev' - wrap-context
TextView (center aligned) with the title of the screen - fixed 200px size
Button (right aligned on the screen) with the text 'Next' - wrap_content
Just cannot se...
I want to get rid of horizontal scroll bar in TabHost. It's there even if TabWidget is on top.
Below is my xml layout.
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
...
I would like to change the transparency of a whole View in Android. How can I do that? The View has a nontransparent background.
...
Is it possible to change the text color of a textview if the textview is pressed?
I want to achieve a flashing effect with the color change only lasting as long as the button is pressed.
I know how to change the background of the textview with a selector list and the correct state but how can I change the color of text if the user pushe...