FAQs
Search
Recent Topics
Flagged Topics
Hot Topics
Best Topics
Register / Login
Win a copy of
Securing DevOps
this week in the
Security
forum!
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:
Tim Cooke
Liutauras Vilda
Bear Bibeault
Devaka Cooray
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Campbell Ritchie
Henry Wong
Saloon Keepers:
Tim Moores
Ron McLeod
salvin francis
Stephan van Hulst
Vijitha Kumara
Bartenders:
Tim Holloway
Carey Brown
Frits Walraven
Forum:
Android
need to fill full space in row
sam liya
Ranch Hand
Posts: 1279
posted 4 years ago
My list is below.I need to fill whole row when the list view is run.In my phone it's ok.but when i run it in large screen it doesn't.please advice.
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="5dp" > <ImageView android:id="@+id/logo" android:layout_width="50px" android:layout_height="50px" android:layout_marginLeft="5px" android:layout_marginRight="20px" android:layout_marginTop="5px" android:src="@drawable/balancemoney_logo" > </ImageView> <TextView android:id="@+id/label" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@+id/label" android:textSize="20px" android:layout_gravity="center_vertical" > </TextView> </LinearLayout>
Steve Luke
Bartender
Posts: 4181
22
I like...
posted 4 years ago
Did you learn anything from my post in
your previous thread
about the same exact issue? The only difference between this and that is the difference between width and height.
Steve
Post Reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Layout question.
list view problem
Add label at the top of view
ListView Problem
Layout issue-footer image to the bottom of screen (Landscape & portrai) irrespective of body content
More...