sergeyv | b37d44e | 2016-03-29 20:27:44 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2016, The Android Open Source Project |
| 6 | ** |
| 7 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | ** you may not use this file except in compliance with the License. |
| 9 | ** You may obtain a copy of the License at |
| 10 | ** |
| 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ** |
| 13 | ** Unless required by applicable law or agreed to in writing, software |
| 14 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | ** See the License for the specific language governing permissions and |
| 17 | ** limitations under the License. |
| 18 | */ |
| 19 | --> |
| 20 | |
| 21 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="match_parent"> |
| 24 | |
| 25 | <LinearLayout android:id="@+id/capture" |
| 26 | android:background="#00f" |
| 27 | android:orientation="vertical" |
| 28 | android:layout_width="100px" |
| 29 | android:layout_height="100px"> |
| 30 | |
| 31 | <View android:id="@+id/child1" |
| 32 | android:background="#f00" |
| 33 | android:layout_width="match_parent" |
| 34 | android:layout_height="25px"/> |
| 35 | |
| 36 | <View android:id="@+id/child2" |
| 37 | android:background="#fff" |
| 38 | android:layout_width="match_parent" |
| 39 | android:layout_height="25px" |
| 40 | android:visibility="invisible"/> |
| 41 | |
| 42 | <View android:id="@+id/child3" |
| 43 | android:background="#ff0" |
| 44 | android:layout_width="match_parent" |
| 45 | android:layout_height="25px" |
| 46 | android:visibility="gone"/> |
| 47 | |
| 48 | <View android:id="@+id/child4" |
| 49 | android:background="#0ff" |
| 50 | android:layout_width="match_parent" |
| 51 | android:layout_height="25px" /> |
| 52 | </LinearLayout> |
| 53 | </FrameLayout> |