android - How to Design image icon with text in row for supporting all devices -


how design suitable size of phones..need design thisenter image description here

thanks in advance

if wrap image inside linear layout , have different resolutions of image in drawable's folder, based on device wrap image , height

 <linearlayout     ...     android:orientation="horizontal"     android:layout_height="wrap_content"     android:weightsum="4"     ...>           //for 1 image each image have 1 linearlayout            <linearlayout            ...            android:orientation="vertical"            android:layout_height="match_parent"            android:weightsum="4"            android:layout_weight="1"            ...            >              <imageview>               ...               android:layout_height="0dp"               android:layout_weight="3"               ...              </imageview>               <textview>              ...              android:layout_height="0dp"              android:layout_weight="1"              ...             </textview>           </linearlayout>      </linearlayout> 

Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -