Questions tagged [horizontalscrollview]

A layout container for a view hierarchy that can be scrolled by the user, allowing it to be larger than the physical display

horizontalscrollview
Filter by
Sorted by
Tagged with
2 votes
2 answers
1k views

horizontal scrolling for each section in a table view

I want to implement a UICollectionView with multiple sections which each section scrolls horizontally and independently like the attached image
Fatima's user avatar
  • 464
0 votes
1 answer
204 views

How can i implement a gallery(deprecated) type view using horizontal scroll view with view recycling

I can not use android gallery view since it is deprecated. I need to implement it using horizontal scroll view. but there is no view recycling ability default. can any one suggest how can I implement ...
Deniz's user avatar
  • 12.5k
2 votes
2 answers
5k views

Android HorizontalScrollView width

This is my XML of the HorizontalScrollView <HorizontalScrollView android:id="@+id/horizontalScrollView1" android:layout_width="match_parent" android:layout_height="0dp" android:...
user3199577's user avatar
1 vote
1 answer
96 views

Resize elements in bar chart by multiplying with a factor

I am trying to create a bar chart in android where each bar consists of one Viewand one TextView. I add these cells to a HorizontalScrollView. This works fine, all my bars appear. Now I want to ...
Eyeball's user avatar
  • 3,287
1 vote
1 answer
409 views

Repeat scrolling for HorizontalScrollView

I want horizontalscrollview to repeat itself from beginning or in reverse direction from right to left. How can we achieve this. I have used Handler object for automatic scrolling. android.widget....
addy123's user avatar
  • 524
3 votes
2 answers
2k views

Auto slow scroll with HorizontalScrollView

I have HorizontalScrollView and 6 ImageViews in it. I'm getting images from Parse.com. I want the HorizontalScrollView to scroll slowly when the activity starts. I have gone through the references but ...
addy123's user avatar
  • 524
2 votes
2 answers
27k views

Adding multiple images to horizontal scroll view in android

I am building an application in which I want to add multiple images in a horizontal scrollview and want to scroll these imageson click of two (left and right) srcolling buttons, but I am not able to ...
Amit Choudhry's user avatar
1 vote
1 answer
390 views

Horizontal table view in ios 7

I would like to implement a Horizontal table view in my application using xcode 5, and ios7. All references that I found were for xcode 4 and ios less than 7, and also I am using storyboards, please ...
Fatima's user avatar
  • 464
0 votes
1 answer
524 views

Horizontal scroll plus Vertical scroll in Android on one Activity

I want to implement a 2d Scroll in one of my activity in Android. I am able to create either a vertical or horizontal scroll view and i am able to do all my on that but my problem is i want to ...
Yogamurthy's user avatar
1 vote
1 answer
4k views

How to set the linear layout width in a HorizontalScrollView?

I have a LinearLayout (let's call it A)that it's width set to fill_parent, this layout contains a bunch of another LinearLayouts(let's call them B), I want the screen only display four B's so i ...
MRefaat's user avatar
  • 525
0 votes
2 answers
97 views

make a layout just fits the width when it's in a HorizonrtalScrollView

I have a horizontal LinearLayout that contains bunch of vertical Linearlayouts, each one of these vertical Layouts supposed to fit only 25% of the horizontal layout, so it can only contains four ones, ...
MRefaat's user avatar
  • 525
1 vote
1 answer
842 views

Horizontalscrollview does not wrap_content below a certain height

As you can see from the xml imagebutton,linearlayout and Horizontalscrollview have wrap_content for their height.But it seems that the Horizontalscrollview sometimes has more height than linearlayout....
Flake's user avatar
  • 1,406
3 votes
2 answers
1k views

HorizontalScrollView.getMeasuredWidth() returns 0

I am adding horizontalScrollView programatically , but when I try to do horizontalScrollView.getMeasuredWidth() it keeps returning 0. void addCategory(String catTitle) { mVideos = mShows.get(...
aafonso1991's user avatar
8 votes
3 answers
5k views

UIScrollView horizontally scrolling menu in Sprite Kit

I am trying to make a horizontally scrolling menu in my new Sprite Kit game. With Sprite Kit being fairly new, there aren't many good tutorials for Sprite Kit. Is UIScrollView compatible with Sprite ...
PoKoBros's user avatar
  • 711
1 vote
2 answers
5k views

How to calculate horizontal scrolling position

I have made a horizontal scrolling website. The main problem is that I am not able to highlight the active menu item when loading for the first time or refreshing. I also can't keep the active link ...
user avatar
0 votes
0 answers
303 views

Android HorizontalScrollView doesn't scroll very well

I have a problem with the scrolling of horizontalscrollview. It doesn't scroll very well when I swipe with my finger inside it. This is my layout : <ScrollView android:layout_width="...
Hasina's user avatar
  • 335
0 votes
1 answer
425 views

Slow HorizontalScrollView on big screens

I am creating an application with a HorizontalScrollView. This works fine on the device which I use for testing. But on bigger screens the application becomes very slow. I already tried to put ...
SetFlame's user avatar
3 votes
1 answer
2k views

Horizontal Scroll View detect long press

I have a HSV, and I'd like to respond to a long click on that view. When I set it's onLongClickListener() it doesn't do much, the callback is not being called. I assume that the scroll view consumes ...
Aviran's user avatar
  • 5,260
1 vote
1 answer
2k views

Android Horizontal Scroll View full scroll right doesnt go all the way

hsv.fullScroll(HorizontalScrollView.FOCUS_RIGHT); Takes my HorizontalScrollView 99% to the right but not 100%, I need to scroll the view all the way to the right. Any idea what goes wrong?
Aviran's user avatar
  • 5,260
1 vote
2 answers
4k views

Invert scrolling direction HorizontalScrollview

On default if you swipe from left to right you scroll to the left, and vice versa. But I want to invert this action. so if you swipe left to right the scrollview goes to the right. Is there a XML ...
Mark C.'s user avatar
  • 471
0 votes
1 answer
371 views

Create "no more scroll possible" effect for HorizontalScrollView

An android WebView and some other views have a nice animation effect of "no more scroll possible" - nice blue filled arc animating with the direction of your finger if you try to scroll after the max ...
Gena's user avatar
  • 187
1 vote
0 answers
552 views

How to make selected tab scroll to the middle in horizontal scroll view: Android

I am using a TabWidget wrapped inside a horizontalscrollview. When a user selects a particular tab, I would like to have it scroll to the centre of the tab widget part of the screen. could someone ...
Sunny's user avatar
  • 7,564
1 vote
0 answers
680 views

RadioGroup inside HorizontalScrollview, all Radiobutton get selected instead only one

i'm trying to extend an HorizontalScrollView with a RadioGroup inside, when i populate the radiogroup all the button become selected on click, instead only the one i clicked this is my class: ...
CLucera's user avatar
  • 1,131
1 vote
1 answer
580 views

HorizontalScrollView android Doesnt work very well

Good morning everybody I have a problem with an HorizontalScrollView. I see all the textview in a horizontal linearlayout but at the end happend a problem. The horizontalScrollView is unable to ...
riccardo airone's user avatar
0 votes
2 answers
3k views

Layout relative anchor in a RelativeLayout in a HorizontalScrollView doesn't work as intended

I have a HorizontalScrollView with a RelativeLayout containing three Views. One is centered in parent, and the other two should be placed relative the centered view as anchor. This doesn't give the ...
frogge's user avatar
  • 274
1 vote
1 answer
478 views

Android horizontalscrollview child visible width

Can we get the visible width of a child inside a horizontalscrollview ? i tried int viewLeft = v.getLeft(); int viewRight = v.getRight(); but it's always the same result I need to know if the ...
TootsieRockNRoll's user avatar
3 votes
2 answers
3k views

Android horizontalscrollview center lock

How can we implement center-locking while scrolling with a horizontalscrollview I already saw this http://krishnalalstha.wordpress.com/tag/horizontal-scrollview-with-auto-center-lock/ but it's not ...
TootsieRockNRoll's user avatar
-1 votes
3 answers
768 views

How to make flexible sized buttons in Relativelayout?

I have a RelativeLayout styled as a ButtonBar and contained in a HorizontalScrollView, this layout is a ssigned to a fixed height in order to be controlled but that make it looks giant in small screen ...
MRefaat's user avatar
  • 525
3 votes
0 answers
2k views

Customization of HorizontalScrollView

I want to get Like below image So I am working with HorizontalScrollView to get Carousel affects. I tried with Coverflow Library. But it use Gallery that is deprecated in API 16. I achieved like ...
Shihab Uddin's user avatar
  • 6,833
5 votes
4 answers
17k views

Horizontal ScrollView in List View Item Android

I have a list view with 20 rows and I want to setup a horizontal scrollview for every row item in list view, as each row contains more than one item. Here is my code : <?xml version="1.0" ...
Gaurav Arora's user avatar
  • 8,342
0 votes
1 answer
1k views

android horizontal scrollview working with seekbar

In my app I have a horizontal scrollview of 6 duck images, while the horizontal scrollview can work properly, now I would like to add a SeekBar underneath the horizontal scrollview such that moving ...
pearmak's user avatar
  • 5,007
2 votes
2 answers
9k views

Horizontal list view in vertical scroll view in android

I need to implement application like https://play.google.com/store/apps/details?id=com.alphonso.pulse what i tried is, I think they should done through horizontalscrollview/horizontallistview. ...
Pal Pandi's user avatar
  • 123
0 votes
1 answer
890 views

Can't set small thumb in HorizontalScrollView

How to change the indicator thumb size of a horizontal scrollview? [just like a small circle in progressbaar] I have tried using a drawable with smaller width. But it still covers almost 70% of the ...
StarDust's user avatar
  • 855
1 vote
2 answers
57 views

Create an ImageView and put it in a RelativeLayout

i need to show some images in a ScrollView with a LinearLayout, i have this in the xml. <HorizontalScrollView android:id="@+id/HorizontalS" android:layout_below="@+id/button1" ...
user2962179's user avatar
0 votes
3 answers
77 views

How to scroll to some char in EditText

I have a HorizontalScrollView with EditText inside. EditText has text (for example): "testing string testing string X testing string testing string Y testing string testing string test Z". And i ...
Ivan Podhornyi's user avatar
-1 votes
1 answer
128 views

how to show a image folder?

y have this code to show 3 images in a HorizontalScrollView it works perfect, but i need to show the images from a folder, and I dont know the specific number of files, so how can i show a unspecific ...
user2962179's user avatar
8 votes
3 answers
2k views

ViewPagerIndicator - Set the TabPageIndicator to the center

I make an timetable application for android and I'm using ViewPagerIndicator as fragment. But now I've a problem, I want to get the TabPageIndicator to the center. Like this: And I would to like to ...
user2784435's user avatar
1 vote
1 answer
2k views

Using horizontalscrollview in a fragment (swipe through tabs)

I am working on this project where I have a group of fragments in between I scroll, swipe. I wanted to add a HorizontalScrollView. I did but I figured that my swiping through fragments and and this ...
Suhrahj Rothgar's user avatar
1 vote
1 answer
1k views

Android horizontal text carousel with snapping

I'd like to achieve this layout: Where I'd show a number of TextViews, the user will be able to scroll horizontally and the list will snap to the central item (which I'll be able to retrieve). It ...
Axarydax's user avatar
  • 16.5k
2 votes
2 answers
5k views

Stretching ImageView to fill screen height inside of Horizontal Scroll View

I've read all there is to read in terms of supporting different screen desnities. And, I have supplied proper variations of the images being display to appropriate folders. However, I am bewildered ...
Joseph.M's user avatar
0 votes
1 answer
154 views

WPF ScrollViewer HorizontalScrollBar dont work properly

I have an image inside a ScrollViewer. When I set image width larger, HorizontalScrollBar appeared. Then I set image Width smaller than ScrollViewer With but this ScrollBar still appear, like this: &...
NoName's user avatar
  • 8,010
0 votes
1 answer
639 views

How to change background of imageView on mouse over inside the Horizontal Scroll view

I have a horizontal scroll view. Inside this there is a LinearLayout which contains Images how can I change the background of Image when Mouse over of that image.
Anil Jadhav's user avatar
  • 2,138
1 vote
3 answers
2k views

horizontalscrollview onclicklistener doesn't get called

i have horizontalscrollview displaying some items. The items are added dynamically. i want to show a alert box when the horizontalscrollview is clicked. there may or may not be any items in the ...
null pointer's user avatar
  • 5,894
0 votes
1 answer
741 views

Can I prevent a HorizontalScrollView from expanding?

One of my DialogFragment's layouts uses a HorizontalScrollView to horizontally scroll its child LinearLayout. Is there a way to lock its width into place so that it doesn't expand the width of the ...
IAmKale's user avatar
  • 3,286
3 votes
2 answers
4k views

Sliding Menu and Horizontal ScrollView in Android

In my app I have used Sliding Menu by jfeinstein10 and its working fine. Now, according to requirements I have to have a Horizontal ScrollView on a page where this sliding menu can also be opened. ...
MiaN KhaLiD's user avatar
  • 1,498
3 votes
2 answers
1k views

Stick a horizontalScrollView and capture touch events

I'm trying to reproduce the profile screen of the G+ Android app. In this screen, you can notice a horizontalScrollView containing tabs, which sticks at the top the screen. The screen is made of a ...
AMerle's user avatar
  • 4,354
0 votes
2 answers
177 views

HorizontalScrollabe with TabHost gives error

I have about 14 tabs in my Activity, hence I have used HorizontalScrollable to make it scrollable. However it gives NullPointerException error. I cannot figure out why. The XML: <TabHost ...
rrrocky's user avatar
  • 696
0 votes
2 answers
104 views

Android - How can I be able to get a View that has been added programmatically?

I have the following problem. This is a little sketch of my layout (only the intereseted part): <HorizontalScrollView android:id="@+id/horizontalScrollView" android:...
m.fiorentino's user avatar
0 votes
0 answers
190 views

Too wide ImageView

I want to display an ImageView on some Layout, but I can't do it in the correct way. My image is very wide and I want to stretch its height to the screen, but the width shouldn't stretch the screen's ...
user2587107's user avatar
0 votes
1 answer
298 views

HorizontalScrollView transparent

With HorizontalScrollView, how can I make the background not transparent? Thank you!
Tony Tong's user avatar
  • 365

1
10 11
12
13 14
19