Questions tagged [expandable]

Expandable refers to a property of some UI elements which can be expanded by a user gesture such as hovering or clicking on them.

301 questions
12
votes
3 answers

CSS - auto width floated element (expandable float)

I have two floated collumns side by side. The user can hide/collapse one of that collumns. In that case I want the other collumn to expand to fit the entire container. Is this possible with CSS? In resume, it's possible to make a float to expand to…
brpaz
  • 3,618
  • 9
  • 48
  • 75
9
votes
3 answers

How to make an expandable list with Java Swing

I need to make an expandable list using java swing. I will attempt to demonstrate: Unexpanded: >[Expand me!] >[And me!] Expanded: |[Expand me!] >[Expand us too!] >[Expand us too!] >[Expand us too!] >[And me!] So, when you click…
MirroredFate
  • 12,396
  • 14
  • 68
  • 100
9
votes
3 answers

Expandable GridView with view recycling in Android

I am trying to implement a android activity where I have sections of items (for example car brands and their models). I want to be able to display the items in a grid (e.g. fixed to 3 columns) and each of the grids can be collapsed. Actually I want…
forkch
  • 147
  • 1
  • 1
  • 7
7
votes
2 answers

Multi expandable recyclerview

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 : Title1 SubTitle1 SubTitle2 SubTitle3 …
6
votes
3 answers

IOS swift expandable view

I would like to expand an view when I switch a switch to on, and to collapse when I switch the switch to off. At the same time all the other elements I have in my design have to move down or up. Here is how the layout looks like when the switches…
user3861818
  • 63
  • 1
  • 4
6
votes
2 answers

By the power of MergeAdapter, StickyListHeaders and ListViewAnimations combined I'm captain Android

Has anyone joined MergeAdapter, StickyListHeaders and ListViewAnimations android libraries? My needs are: multiple ListViews in one vertically scrolled view heterogenous item views multiple list items separated by headers, which should be…
fada21
  • 3,188
  • 1
  • 22
  • 21
5
votes
1 answer

I am trying to create a heirarchy view. The view should expand and contract once clicked on each person

When clicked on each person , the subordinates list of that person should appear at the bottom. The whole list is dynamic . { "EmployeeId": "1", "Name": "John", "Position": "HR", "Image": "", …
faheem
  • 83
  • 12
5
votes
1 answer

ViewPager with expandable child

I'm trying to create collapsable calendar. I'm using custom calendarView in ViewPager, so when expand/collapse button pressed my calendarView animate collapsing all calendar weeks except only one. Goal is to swipe month when expanded (which works as…
Jonez
  • 151
  • 1
  • 8
5
votes
0 answers

Expandable list view with table layout in android

i have to create a layout with 3 expandable list views and and each expandableview contains a table layout, shows when it expands. is there any workarround or any suggetsion.
Kris
  • 891
  • 2
  • 18
  • 41
4
votes
1 answer

What are the requirements for a free expandable List in SwiftUI?

Somewhere in my code I have this pretty standard list with sections: var body: some View { List { ForEach(userData.groupedBookings) { group in Section(header: Text(group.key)) { ForEach(group.items) { booking…
lorenzo
  • 1,487
  • 1
  • 17
  • 25
4
votes
3 answers

How to create a HTML div collapsible both horizontally and vertically with pure CSS/JavaScript, i.e. no jQuery, no Boostrap etc.?

I'd like to create something like this: https://www.w3schools.com/howto/howto_js_collapsible.asp But it should expand (and collapse) both vertically and horizontally. You can imagine it as a button that expands into a big div. But, in fact, it is…
Pavel Foltyn
  • 175
  • 3
  • 13
4
votes
0 answers

Last expandable cardview of Recyclerview needs scrolling

my question is actually exactly the same as this one: RecyclerView expandable cardView but no good solution was given, that's why I'm asking this question again. So the problem is that when I click the last cardView, it expands but the expandable…
Allinone51
  • 624
  • 1
  • 7
  • 19
4
votes
2 answers

Expandable List view - Childs, Different layouts

I have a problem with an expandable list that uses the application. My list, throws me an error when I start to show / hide different groups. Then he throws me an error: java.lang.NullPointerException: Attempt to invoke virtual method 'void…
kamilos207
  • 61
  • 4
4
votes
1 answer

Expandable Sections UITableView IndexPath SWIFT

Im pretty new to coding, I only know Swift. I have found several tutorials to produce drop down sections in a table. Basically it will represent a TV show, the headers will be the seasons and the drop down list of episodes from each season. I…
4
votes
2 answers

A nested and expandable for loop in C

I am writing a C program where I operate nested for loops, one within another, as follows: for(i[0] = 0; i[0] < n[0]; i[0]++) for(i[1] = 0; i[1] < n[1]; i[1]++) for(i[2] = 0; i[2] < n[2]; i[2]++) { do_lot_of_work(i, n, 3); …
1
2 3
20 21