97c881c9创建于 4月20日历史提交
<?xml version="1.0" encoding="utf-8" ?>
<YogaLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="60dp"
    app:yg_flexDirection="row"
    app:yg_alignItems="center"
    >
  <View
      android:layout_width="50dp"
      android:layout_height="50dp"
      android:background="@color/yoga_blue"
      app:yg_flex="0"
      app:yg_marginAll="5dp"
      />
  <TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="@string/child_1_text"
      app:yg_flex="0"
      />
  <TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="@string/child_2_text"
      app:yg_flex="1"
      app:yg_marginHorizontal="5dp"
  />
</YogaLayout>