diff --git a/docs/_docs/api/android.md b/docs/_docs/api/android.md index 3b9349d1..a06e2529 100644 --- a/docs/_docs/api/android.md +++ b/docs/_docs/api/android.md @@ -20,30 +20,30 @@ There is an easy interface to Yoga called `YogaLayout`. This is a view group th xmlns:yoga="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - yoga:align_items="stretch" + yoga:yg_alignItems="stretch" > @@ -59,7 +59,7 @@ compile 'com.facebook.yoga.android:yoga-layout:1.2.0' ## layout\_width and layout\_height -If either are set to an actual size (in px or dp etc) then this is taken as a default for `yoga:height` or `yoga:width`. Otherwise they are ignored. +If either are set to an actual size (in px or dp etc) then this is taken as a default for `yoga:yg_height` or `yoga:ygWidth`. Otherwise they are ignored. ## VirtualYogaLayout @@ -67,7 +67,7 @@ Sometimes you will nest `YogaLayout`s within `YogaLayout`s in order to get your ## RTL locales -RTL locales are supported by default. That is, unless you explicitly set the `yoga:direction="ltr|rtl|inherit"` attribute on a view, it will obtain the locale direction _at runtime_. This means that the layout will rearrange properly, even if the locale changes while your app is running! +RTL locales are supported by default. That is, unless you explicitly set the `yoga:yg_direction="ltr|rtl|inherit"` attribute on a view, it will obtain the locale direction At runtime_. This means that the layout will rearrange properly, even if the locale changes while your app is running! ## Attributes diff --git a/docs/index.md b/docs/index.md index 6a2345c3..debc3afa 100644 --- a/docs/index.md +++ b/docs/index.md @@ -163,25 +163,25 @@ root.Insert(text, 1); + yoga:yg_justifyContent="stretch"> + yoga:yg_flex="1"/> + yoga:yg_paddingAll="20px" + yoga:yg_flexDirection="row" + yoga:yg_alignItems="center"> + yoga:yg_flex="1" + yoga:yg_marginStart="20px"/> ```