Questions tagged [overlapping]

Do not use this tag. The overlapping tag is used to describe elements on a webpage, absolutely positioned with CSS so they overlap each other.

The tag is used to describe elements on a webpage - absolutely positioned with CSS - so they overlap each other. Overlapping elements on a webpage can help highlight, prompt, and give priority to important content.

937 questions
146
votes
5 answers

How to use regex to find all overlapping matches

I'm trying to find every 10 digit series of numbers within a larger series of numbers using re in Python 2.6. I'm easily able to grab no overlapping matches, but I want every match in the number series. Eg. in "123456789123456789" I should get the…
danspants
  • 3,099
  • 3
  • 27
  • 33
100
votes
4 answers

How to find overlapping matches with a regexp?

>>> match = re.findall(r'\w\w', 'hello') >>> print match ['he', 'll'] Since \w\w means two characters, 'he' and 'll' are expected. But why do 'el' and 'lo' not match the regex? >>> match1 = re.findall(r'el', 'hello') >>> print match1 ['el'] >>>
futurenext110
  • 1,991
  • 6
  • 26
  • 31
89
votes
4 answers

Color of stacked semi-transparent boxes depends on order?

Why does the final color of two stacked semi-translucent boxes depend on the order? How could I make it so that I get the same color in both cases? .a { background-color: rgba(255, 0, 0, 0.5) } .b { background-color: rgba(0, 0, 255,…
rmv
  • 3,195
  • 4
  • 26
  • 29
44
votes
8 answers

Is it possible to place one view over another in android?

Can we place a small view over another large view? For example, I have a VideoView which is playing a file in the background. Over this, somewhere in the middle/corner, I want to place another ImageView. But in Linear/Relative Layout, views can be…
kiki
  • 13,627
  • 17
  • 49
  • 62
39
votes
17 answers

Android: fragments overlapping issue

I am facing a problem of overlapping fragments when i switch between tabs and attach fragments to a tab view below is my code please help public class FragmentManage extends Fragment implements ActionBar.TabListener { private Fragment…
girishawate
  • 476
  • 1
  • 5
  • 8
16
votes
5 answers

Collapse rows with overlapping ranges

I have a data.frame with start and end time: ranges<- data.frame(start = c(65.72000,65.72187, 65.94312,73.75625,89.61625),stop = c(79.72187,79.72375,79.94312,87.75625,104.94062)) > ranges start stop 1 65.72000 79.72187 2 65.72187 …
Liza
  • 1,066
  • 2
  • 16
  • 26
14
votes
4 answers

Should Hibernate be able to handle overlapping foreign keys?

I have a table that has two foreign keys to two different tables with both foreign keys sharing one column: CREATE TABLE ZipAreas ( country_code CHAR(2) NOT NULL, zip_code VARCHAR(10) NOT NULL, state_code VARCHAR(5) NOT NULL, city_name…
Kawu
  • 13,647
  • 34
  • 123
  • 195
13
votes
3 answers

How do I keep position: relative content from overlapping my position: sticky header?

I have a sticky top navbar that I want to stay visible and above all other content when scrolling. I have content on the page that I have set to position: relative so that I can position other elements around it. When I do this, the relative content…
BCD
  • 131
  • 1
  • 1
  • 3
11
votes
4 answers

Android fragments overlapping after screen rotation

This app is a learning exercise for me using fragments, among other things. It has a single activity that manages some different fragments. The first is a ListFragment (A), which shows when the app starts and loads list items from a cursor. Clicking…
Karakuri
  • 38,365
  • 12
  • 84
  • 104
11
votes
2 answers

How to merge overlapping columns

I have two datasets like this import pandas as pd import numpy as np df1 = pd.DataFrame({'id': [1, 2,3,4,5], 'first': [np.nan,np.nan,1,0,np.nan], 'second': [1,np.nan,np.nan,np.nan,0]}) df2 = pd.DataFrame({'id': [1, 2,3,4,5, 6], 'first':…
Edward
  • 4,443
  • 16
  • 46
  • 81
11
votes
6 answers

Check if two times overlap

I want to see if a time I read from a db overlaps with a time provided by a user. My database looks like…
Bird87 ZA
  • 2,313
  • 8
  • 36
  • 69
10
votes
2 answers

Google map API v3 markers overlapping

I am making an application with google maps. When markers are overlapping only the last one is displayed even if the icons are different.. I do not want it to cluster in that case, rather it should show both maybe by changing the coordinates just a…
loo
  • 707
  • 10
  • 22
10
votes
3 answers

Support for multiple active overlapping surface views in Android

I am currently working on an Android App that needs several overlapping SurfaceViews in one screen. To be precise, I have two active overlapping SurfaceViews, one connected to Camera and the other connected to MediaPlayer. It mostly works but is…
Out Of Office
  • 427
  • 5
  • 13
9
votes
2 answers

How to make python regex which matches multiple patterns to same index

Is it possible to get all overlapping matches, which starts from the same index, but are from different matching group? e.g. when I look for pattern "(A)|(AB)" from "ABC" regex should return following matches: (0,"A") and (0,"AB")
Mikael Lepistö
  • 18,909
  • 3
  • 68
  • 70
9
votes
1 answer

Virtual Keyboard hides fields/textareas/contenteditable (hidden below keyboard)

I know there are already some StackOverflow threads about the problem that the virtual keyboard of mobile phones hide or overlapping input fields, text areas and so on. But all these threads were useless, I searched a lot but many talked about this…
user3714751
  • 326
  • 3
  • 15
1
2 3
62 63