• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Using Scrollview i cannot get the PROCEED button placed at bottom  RSS feed

 
Ranch Hand
Posts: 91
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an issue using scroll view below are the cases

**CASE 1**

when i don't use scrollview i get the layout like [this][1] and this is the layout i need.
Problem with this approach is when the device resolution is low 412 x 732 or below i cant see the whole content of the layout for that reason **i need scrollview**

**CASE 2**

if i use scroll view i get the view like this [this][2] and [this][3] this which is perfect and what i need for 412 x 732 or below but the problem occur when i see the layout in higher resolution 1080x1920 i get [this][4]

what is need is in **CASE 2** for higher resolution device the PROCEED button should touch the bottom with bottomPadding=20dp just like **CASE 1** image

I Really appreciate if someone give me suggestion to acquire the layout that work for both the devices having high and low resolution



**Layout**

in layout i removed the scrollview and i get the layout that is good for high resolution device but with the low resolution i do not get the whole content to see because i need to scroll down


 [1]: https://i.stack.imgur.com/lFrNY.png
 [2]: https://i.stack.imgur.com/OIkFd.png
 [3]: https://i.stack.imgur.com/JPRHe.png
 [4]: https://i.stack.imgur.com/21OMe.png
 
Ranch Hand
Posts: 201
2
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post dimens.xml too ?
 
Saad Zahoor
Ranch Hand
Posts: 91
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Randy Tong
Ranch Hand
Posts: 201
2
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest you to use Constraint Layout.
 
Saad Zahoor
Ranch Hand
Posts: 91
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Randy Tong I will look into ConstraintLayout
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!