Yin-Chia Yeh | 5855ea6 | 2014-07-28 12:22:41 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2014 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | |
Yin-Chia Yeh | 538a532 | 2018-08-07 09:25:05 -0700 | [diff] [blame^] | 18 | <GridLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Yin-Chia Yeh | 5855ea6 | 2014-07-28 12:22:41 -0700 | [diff] [blame] | 19 | android:layout_width="match_parent" |
Yin-Chia Yeh | 538a532 | 2018-08-07 09:25:05 -0700 | [diff] [blame^] | 20 | android:layout_height="match_parent" |
| 21 | android:columnCount="3"> |
Yin-Chia Yeh | 5855ea6 | 2014-07-28 12:22:41 -0700 | [diff] [blame] | 22 | |
Yin-Chia Yeh | 538a532 | 2018-08-07 09:25:05 -0700 | [diff] [blame^] | 23 | <!-- Using relative width/height below. |
| 24 | Image might not have correct aspect ratio --> |
| 25 | <!-- Row 0 --> |
Yin-Chia Yeh | 5855ea6 | 2014-07-28 12:22:41 -0700 | [diff] [blame] | 26 | <TextureView |
| 27 | android:id="@+id/texture_view_1" |
Yin-Chia Yeh | 538a532 | 2018-08-07 09:25:05 -0700 | [diff] [blame^] | 28 | android:layout_columnWeight="1" |
| 29 | android:layout_rowWeight="1" |
| 30 | android:layout_width="0dp" |
| 31 | android:layout_height="0dp"/> |
Yin-Chia Yeh | 5855ea6 | 2014-07-28 12:22:41 -0700 | [diff] [blame] | 32 | <TextureView |
| 33 | android:id="@+id/texture_view_2" |
Yin-Chia Yeh | 538a532 | 2018-08-07 09:25:05 -0700 | [diff] [blame^] | 34 | android:layout_columnWeight="1" |
| 35 | android:layout_rowWeight="1" |
| 36 | android:layout_width="0dp" |
| 37 | android:layout_height="0dp"/> |
Emilian Peev | 70688a9 | 2017-10-27 15:36:24 +0100 | [diff] [blame] | 38 | <TextureView |
| 39 | android:id="@+id/texture_view_3" |
Yin-Chia Yeh | 538a532 | 2018-08-07 09:25:05 -0700 | [diff] [blame^] | 40 | android:layout_columnWeight="1" |
| 41 | android:layout_rowWeight="1" |
| 42 | android:layout_width="0dp" |
| 43 | android:layout_height="0dp"/> |
| 44 | |
| 45 | <!-- Row 1 --> |
Emilian Peev | 70688a9 | 2017-10-27 15:36:24 +0100 | [diff] [blame] | 46 | <TextureView |
| 47 | android:id="@+id/texture_view_4" |
Yin-Chia Yeh | 538a532 | 2018-08-07 09:25:05 -0700 | [diff] [blame^] | 48 | android:layout_columnWeight="1" |
| 49 | android:layout_rowWeight="1" |
| 50 | android:layout_width="0dp" |
| 51 | android:layout_height="0dp"/> |
Emilian Peev | 70688a9 | 2017-10-27 15:36:24 +0100 | [diff] [blame] | 52 | <TextureView |
| 53 | android:id="@+id/texture_view_5" |
Yin-Chia Yeh | 538a532 | 2018-08-07 09:25:05 -0700 | [diff] [blame^] | 54 | android:layout_columnWeight="1" |
| 55 | android:layout_rowWeight="1" |
| 56 | android:layout_width="0dp" |
| 57 | android:layout_height="0dp"/> |
| 58 | <!-- space filler --> |
| 59 | <Space |
| 60 | android:layout_columnSpan="1" |
| 61 | android:layout_columnWeight="1" |
| 62 | android:layout_rowWeight="1" |
| 63 | android:layout_width="0dp" |
| 64 | android:layout_height="0dp"/> |
| 65 | |
| 66 | <!-- Row 2 --> |
Yin-Chia Yeh | 5855ea6 | 2014-07-28 12:22:41 -0700 | [diff] [blame] | 67 | <SurfaceView |
| 68 | android:id="@+id/surface_view_1" |
Yin-Chia Yeh | 538a532 | 2018-08-07 09:25:05 -0700 | [diff] [blame^] | 69 | android:layout_columnWeight="1" |
| 70 | android:layout_rowWeight="1" |
| 71 | android:layout_width="0dp" |
| 72 | android:layout_height="0dp"/> |
Yin-Chia Yeh | 5855ea6 | 2014-07-28 12:22:41 -0700 | [diff] [blame] | 73 | |
| 74 | <SurfaceView |
| 75 | android:id="@+id/surface_view_2" |
Yin-Chia Yeh | 538a532 | 2018-08-07 09:25:05 -0700 | [diff] [blame^] | 76 | android:layout_columnWeight="1" |
| 77 | android:layout_rowWeight="1" |
| 78 | android:layout_width="0dp" |
| 79 | android:layout_height="0dp"/> |
| 80 | </GridLayout> |