layout

End-user-usable layout templating system

I'd like to build a cross-platform (linux and Windows at least) Python app that provides end users with the ability to create and modify layout templates for printed documents. These templates will be used to generate documents by merging them with the results of DB queries. It's important that the system be relatively easy to use and ...

How to have a three column home page in Drupal

The home page of this site will have basically a 3 column layout. I can create these as either content or blocks. I like using content because its easy for the user to understand, they login to the site, they browse to the page they want to edit, they click edit, but with blocks they have to go into Administer > Blocks etc Any suggesti...

Listview item under edittext

Hi, The last item of Listview is always under editText. How to fix it appearing above editText? my xml is below - <?xml version="1.0" encoding="utf-8"?> <RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"&gt; <ListView andro...

Amazingly advanced layout in CSS

Hi, i have following HTML structure: <div class="container"> <div class="sidebar"></div> <div class="content"></div> <div class="subscript"></div> </div> I need following layout: ┌─────────┬───────────────────────┐ │ │ │ │ sidebar │ content │ │ │ │ │ ...

How to exclude some parts of my UI from an Application wide theme?

I have a theme in my app that defines a custom color for the background. This is the green you see above the tabwidget. In some of my Activities I'm using a Tabhost for my Layout. Now I get something like this as a result: My tabwidget has a black background and I'm happy with that, but the icons in the tabwidget are transparent a...

Getting id of programmatically generated grid of buttons in Android

I have a similar query to the one posted here. I create a grid consisting of a variable number of buttons, at runtime (in a TableLayout), and would like to find the index of the button pressed. The actual Button objects are currently stored in an array, although I'm not sure if that is really necessary. I tried to write the ClickListener...

Miglayout button overflows constraints

I am using a Miglayout to create a table-like layout for one of my panels. I need all my panels to have a fixed width of 200 pixels. When i add components in the panel everything works OK but when i try to insert a button that has a long text (and therefore needs more space than 200 px to display) the button overflows its cell and overla...

Separating Logic/Style in PHP properly

Hi Mates, I'm just wondering what is the best way to separate logic components from the layout in a PHP web project? The content is stored in MySQL, the logic is PHP and the templates are HTML/CSS of course. My question is, how to solve this issue best (without using a CMS). greetz, poeschlorn ...

android repeater-like functionality

is there any type of 'repeater' type functionality in android? I have a relative layout (inside a row in a listview) and inside that I'd like to have a series of TextViews be displayed one after the other (as if they are child rows in the listview row). The issue is that the number of those "child rows" will vary. is there any way to ...

different views on a single list ( Android )

Hi, Is there a way to make a list with different views? I mean that row in posiotion X will have layout "X.xml" and row number Z will have layout "Y.xml"? I've tried to manipulate ListRowAdapter() and getView() in a few ways but with no success... ...

HTML: How to create a scalable layout with elements glued to the edges

I am trying to do something like this: : : ..:..................................................:.. :B <center>B</center> B: : : : Sed et velit sit amet eros pulvinar auctor. : : Integer tristiqu...

How to add rounded corner to a drawable I'm using as a background in Android?

I have a specific drawable that I use as background in my app. It is not a solid color. Now I want to add rounded corners to this drawable. I only found the rounded corner available in a shape with a gradient or a solid color as a background but not another drawable. Is there another easy way of adding rounded corners to a drawable? ...

XUL The Box Model layout manager and Javascript, HTML implementation?

There are many "Javascript layout manager": http://stackoverflow.com/questions/2131384/common-web-ui-styles I'm looking for lightweight, modular and HTML XUL like javascript layout manager. But, Dojo, YUI, Qooxdoo, MochaUI... not lightweight. I like "UI.Layout Plug-in" for jQuery, but it not modular. I need only lightweight layout mana...

Center an absolute positioned div with an unfixed width

I don't know and can't possibly know the width of the absolute div I need centered. It must to be absolutely positioned because it is overlapping other elements (z-index trickery). This is my basic structure <div style='position:relative'><div></div><div style='position:absolute'>...</div></div> The first child div is not absolutely ...

use Layout in j2me application

hi frnds i'm going to develop j2me application I want to use layout in j2me ... so plz tell me which type of layout supported to j2me & how to use Thanks in advance Neel ...

Android: Custom Title Bar

Hi, I have a custom title bar requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout.activities); getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title); Which works basically fine. The problem is that until the above code is called the default title bar is shown. I don't want a title bar...

save and load browse window / tab layouts

I have a large web application where the user will setup many browser tabs and browser window layouts. For example, having 2 windows open vertically next to each other. I need a way to save it and then load it later. So from analysis i need to: 1. Detect what bwoers tabs are using a certain URL. 2. Detect their position. 3. then save i...

How do I make a multiple stacks of controls (columns) scrollable?

Hi, so I'm new to using WPF and can't figure out how to make an easy way to have multiple columns of controls that can be added / subtracted easily and still have it scrollable. So for example (my situation), I have two text boxes and a button that need to be added for however many "items" there are. I would want these together in a 3 co...

GestureOverlayView causes strange TableRow blending

Simple problem: With the XML layout shown below, I have some views wrapped in a GestureOverlayView. As shown below, my first row is blended with the second row, as-if the first row is transposed right on top of the second. Now when I take the GestureOverlayView out of the code and leave everything else as-is, my table looks fine - the...

silverlight 4 and Layout Styles

Hi all, Does anybody knows what layout styles has been used on Silverlight toolkit website. Specially the Two Regions on Right Hand Side with Expandable and multiple tab items on it. http://www.silverlight.net/content/samples/sl4/toolkitcontrolsamples/run/default.html Can we use that? ...