Update Android XML attribute names in docs

Summary:
Fixes #507 .  The attribute name format got changed and the docs were left behind.
Closes https://github.com/facebook/yoga/pull/510

Differential Revision: D4953733

Pulled By: emilsjolander

fbshipit-source-id: 6eb02d6745d08fdd8cce669c691794351bd6fbc7
This commit is contained in:
Robert Spencer
2017-04-26 03:05:44 -07:00
committed by Facebook Github Bot
parent 363e941867
commit e24561bcef
2 changed files with 17 additions and 17 deletions

View File

@@ -163,25 +163,25 @@ root.Insert(text, 1);
<YogaLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
yoga:justify_content="stretch">
yoga:yg_justifyContent="stretch">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
yoga:flex="1"/>
yoga:yg_flex="1"/>
<VirtualYogaLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
yoga:padding_all="20px"
yoga:flex_direction="row"
yoga:align_items="center">
yoga:yg_paddingAll="20px"
yoga:yg_flexDirection="row"
yoga:yg_alignItems="center">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
yoga:flex="1"
yoga:margin_start="20px"/>
yoga:yg_flex="1"
yoga:yg_marginStart="20px"/>
</VirtualYogaLayout>
</YogaLayout>
```