172de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov<?xml version="1.0" encoding="utf-8"?>
272de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov<!--
372de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov     Copyright (C) 2016 The Android Open Source Project
472de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov
572de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov     Licensed under the Apache License, Version 2.0 (the "License");
672de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov     you may not use this file except in compliance with the License.
772de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov     You may obtain a copy of the License at
872de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov
972de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov          http://www.apache.org/licenses/LICENSE-2.0
1072de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov
1172de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov     Unless required by applicable law or agreed to in writing, software
1272de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov     distributed under the License is distributed on an "AS IS" BASIS,
1372de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1472de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov     See the License for the specific language governing permissions and
1572de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov     limitations under the License.
1672de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov-->
1772de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov<android.support.percent.PercentRelativeLayout
1872de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov    xmlns:android="http://schemas.android.com/apk/res/android"
1972de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov    xmlns:app="http://schemas.android.com/apk/res-auto"
2072de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov    android:layout_width="match_parent"
2172de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov    android:layout_height="match_parent"
2272de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov    android:paddingTop="48dip"
2372de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov    android:paddingBottom="64dip">
2472de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov    <View
2572de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov        android:id="@+id/child1"
2672de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov        android:layout_width="match_parent"
2772de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov        app:layout_heightPercent="50%"
2872de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov        android:layout_alignParentTop="true"
2972de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov        android:background="#80FF0000" />
3072de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov    <View
3172de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov        android:id="@+id/child2"
3272de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov        android:layout_width="match_parent"
3372de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov        app:layout_heightPercent="50%"
3472de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov        android:layout_below="@id/child1"
3572de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov        android:background="#800000FF" />
3672de056d527299b1c8db8825e9ca435f13f585d9Kirill Grouchnikov</android.support.percent.PercentRelativeLayout>
37