sentry - how to decrease height of linearlayout which is an image in android -


i want decrease height of image used linearlayout in android.how can that? code below:

<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="100dp" android:layout_height="100dp" android:background="@android:color/transparent">  <imageview android:id="@+id/icon"     android:layout_weight="0.15"     android:layout_width="0dp"     android:layout_height="48dp"     android:layout_gravity="center_vertical"     android:padding="5dp"     android:scaletype="fitcenter"/>  <linearlayout android:id="@+id/details"      android:layout_weight="0.75"     android:layout_width="0dp"     android:layout_height="fill_parent"     android:orientation="vertical"     android:gravity="center_vertical">      <textview         android:id="@+id/primary_text"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:maxlines="1"         android:ellipsize="end"         android:textsize="20dp"/> </linearlayout>   <imageview    android:id="@+id/status"    android:layout_width="50dp"    android:layout_height="62dp"    android:layout_gravity="center_vertical"    android:layout_marginright="7dp"    android:layout_weight="0.08" />         

decrease height of imageview doesnot work.how can this?

decrease layout_height or decrease manually graphical layout. if not work have check whether image's layout overlapping others or not. if yes decrease layout's size.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -