android - Background image and also background color in TableLayout -


i'm developing android app , want create tablelayout white background , background image aligned @ top left, because 'bend effect'.

this top left image:

bend effect

i defined tablelayout this:

<tablelayout     android:id="@+id/tablelayout1"     android:layout_width="fill_parent"     android:layout_height="fill_parent"     android:layout_marginbottom="16dp"     android:layout_marginleft="16dp"     android:layout_marginright="16dp"     android:layout_margintop="16dp"     android:background="@color/white" > 

but don't know how put image @ top left, or if background images compatible background colors or if there better way thing...

the best way define image go use imageview inside layout. can define placement of image using android:gravity


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -