Questions tagged [floating]

This tag is related to GUI elements that either should be or appear to be floating above a panel or background, or in case of certain types of general layout.

This tag is related to GUI elements that either should be or appear to be floating above a panel or background, or in case of certain types of general layout.

800 questions
9
votes
2 answers

Flutter: Floating Button in Front of Other Apps

how can i achive a floating action button in front of all other apps? A java example could be: https://www.journaldev.com/14673/android-floating-widget. What flutter widget can i use for that. Maybe there are some examples with flutter (didn't…
Constantine
  • 193
  • 1
  • 3
  • 11
9
votes
2 answers

How to create a floating window like Clipboard Pro App?

The following image is a window of the app https://play.google.com/store/apps/details?id=jp.snowlife01.android.clipboard. i named it as main window. It's seem that main window is not a normal window. it's on the top of other windows, the main window…
HelloCW
  • 843
  • 22
  • 125
  • 310
9
votes
1 answer

Show control inside user control outside the boundaries of its parent

I have a usercontrol that has a textbox and a listbox, and it uses them to provides autocomplete functionality to the users. However, I want the listbox to be drawn outside of the boundaries of the user control so that it doesn't get cutoff when…
user1391664
  • 251
  • 4
  • 11
8
votes
2 answers

How to have a scrollable floating Cardview like this?

Does anyone know how to have a floating Cardview like this? http://chairnerd.seatgeek.com/images/autocomplete_checkout.gif The background image should be able to change programmatically and the cardviews should be scrollable. And the position of the…
Yanru Bi
  • 521
  • 1
  • 5
  • 13
8
votes
2 answers

How to create a floating touchable activity that still allows to touch native controls outside of its borders?

What I am trying to achieve is best explained by the scheme I made with mspaint: I have tried to set FLAG_NOT_TOUCH_MODAL which by the description is supposed to be exactly what I want, but it simply does not work. My activity consumes ALL touch…
Nom1fan
  • 846
  • 2
  • 11
  • 27
8
votes
1 answer

How to make the inline ckeditor toolbar fixed at the top and not float

I am using inline CKEditor in my page. I want to make it fixed on the top of the contenteditable div. Currently it is floating whenever i scroll the page. How to make the toolbar position fixed at the top?
user3179158
  • 107
  • 1
  • 3
7
votes
3 answers

Android displaying floating widget overlay not working

I want my my app to display a floating bubble notification as in facebook messenger. Following https://www.androidhive.info/2016/11/android-floating-widget-like-facebook-chat-head/ below is the service I wrote. import…
Pushkar
  • 760
  • 15
  • 37
7
votes
1 answer

Setting precision in Decimal class Python

I just learned the Decimal class in Python, and I have some issues in modifying the precision of the decimal numbers. Code: from decimal import * def main() : getcontext().prec = 50 print Decimal(748327402479023).sqrt() if __name__ ==…
7
votes
3 answers

Making 2 divs float:right with one under the other

I don't know how to better express my title so I'll explain here. I got a HTML/CSS page with 3 divs. The first one, div.presentation, has no floating rule. I want to make menus at its right. So I got two others divs, div.login and div.categories.…
Jason Pierna
  • 331
  • 1
  • 3
  • 10
7
votes
3 answers

Center one

Possible Duplicate: Centering one div while another div is floated to the right? I'm trying to center container1 and float container2 to its right so that it's flowing off of the page slightly: Example:…
hplodnarmas
  • 91
  • 1
  • 9
6
votes
1 answer

Variable acting strange(like floating point )

I have this code; static int test = 100; static int Test { get { return (int)(test * 0.01f); } } output is : 0 But this code returns different static int test = 100; …
Cevizli
  • 153
  • 1
  • 6
6
votes
3 answers

Printing floating point numbers in Haskell

I have a function in Haskell which looks like this type Price = Int formatPence :: Price -> String formatPence a = show (a `div` 100) ++ "." ++ show(a `mod` 100) so that, for example, if I input formatPence 1023, the output would be "10.23".…
Siti Aisyah
  • 71
  • 1
  • 3
6
votes
2 answers

Ripple requires API level 21 (current min is 11), android?

I have the below drawable
WISHY
  • 11,067
  • 25
  • 105
  • 197
6
votes
2 answers

In the tabpanel of ExtJS 4, how to catch the tabchange event anytime I click a tab?

For each tab in the tabpanel, I have one floating panel located in a fixed spot. When I switch the tabs, I need to bring the corresponding floating panel to the front. However, the tabchange event is fired only the first time. How can I catch this…
skywang
  • 75
  • 1
  • 2
  • 6
6
votes
1 answer

Android floating view across activities

Requirement I have an application with 2 activities, say A and B, with navigations like A->B and B->A (on back press). My requirement is I want a view/layout floating on screen, irrespective of which activity is currently visible. I inflate this…
Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
1
2
3
53 54