1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18             android:layout_width="match_parent"
19             android:layout_height="match_parent"
20             android:background="@android:color/black">
21
22    <WebView
23        android:id="@+id/commit_content_webview"
24        android:layout_width="wrap_content"
25        android:layout_height="wrap_content"
26        android:background="@android:color/transparent" />
27
28    <LinearLayout
29        android:layout_width="match_parent"
30        android:layout_height="wrap_content"
31        android:background="#77000000"
32        android:orientation="vertical">
33
34        <HorizontalScrollView
35            android:layout_width="wrap_content"
36            android:layout_height="wrap_content"
37            android:fadeScrollbars="false"
38            android:scrollbars="horizontal">
39
40            <TableLayout
41                android:layout_width="match_parent"
42                android:layout_height="wrap_content">
43
44                <TableRow>
45
46                    <TextView
47                        android:layout_column="1"
48                        android:gravity="end"
49                        android:padding="3dip"
50                        android:text="MIME"
51                        android:textColor="@android:color/white"
52                        android:textStyle="bold" />
53
54                    <TextView
55                        android:id="@+id/text_commit_content_mime_types"
56                        android:padding="3dip"
57                        android:textColor="@android:color/white" />
58                </TableRow>
59
60                <TableRow>
61
62                    <TextView
63                        android:layout_column="1"
64                        android:gravity="end"
65                        android:padding="3dip"
66                        android:text="Label"
67                        android:textColor="@android:color/white"
68                        android:textStyle="bold" />
69
70                    <TextView
71                        android:id="@+id/text_commit_content_label"
72                        android:padding="3dip"
73                        android:textColor="@android:color/white" />
74                </TableRow>
75
76                <TableRow>
77
78                    <TextView
79                        android:layout_column="1"
80                        android:gravity="end"
81                        android:padding="3dip"
82                        android:text="URI"
83                        android:textColor="@android:color/white"
84                        android:textStyle="bold" />
85
86                    <TextView
87                        android:id="@+id/text_commit_content_content_uri"
88                        android:padding="3dip"
89                        android:textColor="@android:color/white" />
90                </TableRow>
91
92                <TableRow>
93
94                    <TextView
95                        android:layout_column="1"
96                        android:gravity="end"
97                        android:padding="3dip"
98                        android:text="Link"
99                        android:textColor="@android:color/white"
100                        android:textStyle="bold" />
101
102                    <TextView
103                        android:id="@+id/text_commit_content_link_uri"
104                        android:padding="3dip"
105                        android:textColor="@android:color/white" />
106                </TableRow>
107
108                <TableRow>
109
110                    <TextView
111                        android:layout_column="1"
112                        android:gravity="end"
113                        android:padding="3dip"
114                        android:text="Flags"
115                        android:textColor="@android:color/white"
116                        android:textStyle="bold" />
117
118                    <TextView
119                        android:id="@+id/text_commit_content_link_flags"
120                        android:padding="3dip"
121                        android:textColor="@android:color/white" />
122                </TableRow>
123            </TableLayout>
124        </HorizontalScrollView>
125
126        <ScrollView
127            android:layout_width="match_parent"
128            android:layout_height="0dp"
129            android:layout_weight="1"
130            android:fadeScrollbars="false"
131            android:scrollbars="vertical">
132
133            <LinearLayout
134                android:id="@+id/commit_content_sample_edit_boxes"
135                android:layout_width="match_parent"
136                android:layout_height="wrap_content"
137                android:orientation="vertical" />
138        </ScrollView>
139
140    </LinearLayout>
141
142</FrameLayout>
143