Edge offsets values support for background-position.

--HG--
branch : dev
This commit is contained in:
Martín Lucas Golini
2019-11-23 19:41:58 -03:00
parent 3f6f121d79
commit 6fc6385718
2 changed files with 28 additions and 1 deletions

View File

@@ -54,7 +54,7 @@
<RelativeLayout id="rtest" layout_width="match_parent" layout_height="match_parent"
backgroundImage="file://assets/sprites/4.png"
backgroundSize="auto"
backgroundPosition="top left">
backgroundPosition="bottom 10% right 10%">
<TextView id="rttv" layout_width="wrap_content" layout_height="wrap_content" text="Hello World!" layout_gravity="center" />
</RelativeLayout>
</hbox>