• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2023 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18              android:layout_width="match_parent"
19              android:layout_height="match_parent"
20              android:orientation="vertical">
21    <Button
22        android:id="@+id/refresh_remote_task_btn"
23        android:layout_width="wrap_content"
24        android:layout_height="wrap_content"
25        android:text="@string/refresh_remote_task"/>
26
27    <TableLayout
28        android:id="@+id/remote_task_list"
29        android:layout_width="900dp"
30        android:layout_height="wrap_content">
31
32        <TableRow
33            android:id="@+id/task_list_title"
34            android:layout_width="match_parent"
35            android:layout_height="match_parent">
36            <TextView
37                android:id="@+id/task_time_title"
38                android:layout_width="0dp"
39                android:layout_height="wrap_content"
40                android:layout_weight="1"
41                android:text="@string/task_time" />
42            <TextView
43                android:id="@+id/task_id_title"
44                android:layout_width="0dp"
45                android:layout_height="wrap_content"
46                android:layout_weight="1"
47                android:text="@string/task_id" />
48            <TextView
49                android:id="@+id/task_data_title"
50                android:layout_width="0dp"
51                android:layout_height="wrap_content"
52                android:layout_weight="1"
53                android:text="@string/task_data" />
54            <TextView
55                android:id="@+id/remaining_time_title"
56                android:layout_width="0dp"
57                android:layout_height="wrap_content"
58                android:layout_weight="1"
59                android:text="@string/remaining_time_sec" />
60        </TableRow>
61    </TableLayout>
62</LinearLayout>
63