2017-02-14 00:05:06 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Copyright 2014-present, Facebook, Inc.
|
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
This source code is licensed under the license found in the
|
|
|
|
LICENSE-examples file in the root directory of this source tree.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<YogaLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-03-03 06:38:32 -08:00
|
|
|
xmlns:yoga="http://schemas.android.com/apk/res/com.facebook.samples.yoga"
|
2017-02-14 00:05:06 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
>
|
|
|
|
<YogaLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/sample_children_background"
|
2017-03-09 06:17:07 -08:00
|
|
|
yoga:yg_marginHorizontal="10dp"
|
|
|
|
yoga:yg_marginTop="5dp"
|
|
|
|
yoga:yg_flexDirection="row"
|
|
|
|
yoga:yg_alignItems="center"
|
2017-02-14 00:05:06 -08:00
|
|
|
>
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:src="@drawable/ic_launcher"
|
2017-03-03 00:30:42 -08:00
|
|
|
yoga:yg_flex="0"
|
2017-02-14 00:05:06 -08:00
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/child_1_text"
|
|
|
|
android:textColor="@color/children_text"
|
2017-03-03 00:30:42 -08:00
|
|
|
yoga:yg_flex="1"
|
2017-03-09 06:17:07 -08:00
|
|
|
yoga:yg_marginStart="8dp"
|
2017-02-14 00:05:06 -08:00
|
|
|
/>
|
|
|
|
</YogaLayout>
|
|
|
|
<YogaLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/sample_children_background"
|
2017-03-09 06:17:07 -08:00
|
|
|
yoga:yg_marginHorizontal="10dp"
|
|
|
|
yoga:yg_marginTop="5dp"
|
|
|
|
yoga:yg_flexDirection="row"
|
|
|
|
yoga:yg_alignItems="center"
|
2017-02-14 00:05:06 -08:00
|
|
|
>
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:src="@drawable/ic_launcher"
|
2017-03-03 00:30:42 -08:00
|
|
|
yoga:yg_flex="0"
|
2017-02-14 00:05:06 -08:00
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/child_2_text"
|
|
|
|
android:textColor="@color/children_text"
|
2017-03-03 00:30:42 -08:00
|
|
|
yoga:yg_flex="1"
|
2017-03-09 06:17:07 -08:00
|
|
|
yoga:yg_marginStart="8dp"
|
2017-02-14 00:05:06 -08:00
|
|
|
/>
|
|
|
|
</YogaLayout>
|
|
|
|
<YogaLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/sample_children_background"
|
2017-03-09 06:17:07 -08:00
|
|
|
yoga:yg_marginHorizontal="10dp"
|
|
|
|
yoga:yg_marginTop="5dp"
|
|
|
|
yoga:yg_flexDirection="row"
|
|
|
|
yoga:yg_alignItems="center"
|
2017-02-14 00:05:06 -08:00
|
|
|
>
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:src="@drawable/ic_launcher"
|
2017-03-03 00:30:42 -08:00
|
|
|
yoga:yg_flex="0"
|
2017-02-14 00:05:06 -08:00
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/child_3_text"
|
|
|
|
android:textColor="@color/children_text"
|
2017-03-03 00:30:42 -08:00
|
|
|
yoga:yg_flex="1"
|
2017-03-09 06:17:07 -08:00
|
|
|
yoga:yg_marginStart="8dp"
|
2017-02-14 00:05:06 -08:00
|
|
|
/>
|
|
|
|
</YogaLayout>
|
|
|
|
<YogaLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/sample_children_background"
|
2017-03-09 06:17:07 -08:00
|
|
|
yoga:yg_marginHorizontal="10dp"
|
|
|
|
yoga:yg_marginTop="5dp"
|
|
|
|
yoga:yg_flexDirection="row"
|
|
|
|
yoga:yg_alignItems="center"
|
2017-02-14 00:05:06 -08:00
|
|
|
>
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:src="@drawable/ic_launcher"
|
2017-03-03 00:30:42 -08:00
|
|
|
yoga:yg_flex="0"
|
2017-02-14 00:05:06 -08:00
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/child_4_text"
|
|
|
|
android:textColor="@color/children_text"
|
2017-03-03 00:30:42 -08:00
|
|
|
yoga:yg_flex="1"
|
2017-03-09 06:17:07 -08:00
|
|
|
yoga:yg_marginStart="8dp"
|
2017-02-14 00:05:06 -08:00
|
|
|
/>
|
|
|
|
</YogaLayout>
|
|
|
|
<YogaLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/sample_children_background"
|
2017-03-09 06:17:07 -08:00
|
|
|
yoga:yg_marginHorizontal="10dp"
|
|
|
|
yoga:yg_marginTop="5dp"
|
|
|
|
yoga:yg_flexDirection="row"
|
|
|
|
yoga:yg_alignItems="center"
|
2017-02-14 00:05:06 -08:00
|
|
|
>
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:src="@drawable/ic_launcher"
|
2017-03-03 00:30:42 -08:00
|
|
|
yoga:yg_flex="0"
|
2017-02-14 00:05:06 -08:00
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/child_5_text"
|
|
|
|
android:textColor="@color/children_text"
|
2017-03-03 00:30:42 -08:00
|
|
|
yoga:yg_flex="1"
|
2017-03-09 06:17:07 -08:00
|
|
|
yoga:yg_marginStart="10dp"
|
2017-02-14 00:05:06 -08:00
|
|
|
/>
|
|
|
|
</YogaLayout>
|
|
|
|
</YogaLayout>
|