Format the main activity.
[PrivacyCell.git] / app / src / main / res / layout / privacy_cell_linearlayout.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2021 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Cell <https://www.stoutner.com/privacy-cell>.
7
8   Privacy Cell is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Cell is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <ScrollView
22     xmlns:android="http://schemas.android.com/apk/res/android"
23     xmlns:tools="http://schemas.android.com/tools"
24     android:layout_height="match_parent"
25     android:layout_width="wrap_content" >
26
27     <LinearLayout
28         android:layout_height="wrap_content"
29         android:layout_width="wrap_content"
30         android:orientation="vertical"
31         android:padding="15dp" >
32
33         <!-- Secure from stingray. -->
34         <ImageView
35             android:id="@+id/secure_from_stingray_imageview"
36             android:layout_width="wrap_content"
37             android:layout_height="wrap_content"
38             android:layout_gravity="center_horizontal"
39             tools:ignore="ContentDescription" />
40
41         <TextView
42             android:id="@+id/secure_from_stingray_textview"
43             android:layout_height="wrap_content"
44             android:layout_width="wrap_content"
45             android:layout_gravity="center_horizontal"
46             android:textAlignment="center"
47             android:layout_marginTop="10dp"
48             android:textSize="20sp"
49             android:textStyle="bold" />
50
51         <!-- Voice network. -->
52         <TextView
53             android:id="@+id/voice_network"
54             android:layout_height="wrap_content"
55             android:layout_width="wrap_content"
56             android:layout_gravity="center_horizontal"
57             android:textAlignment="center"
58             android:layout_marginTop="30dp"
59             android:textColor="@color/blue_700"
60             android:textSize="18sp"
61             android:textStyle="bold" />
62
63         <TextView
64             android:id="@+id/voice_network_details"
65             android:layout_height="wrap_content"
66             android:layout_width="wrap_content"
67             android:layout_gravity="center_horizontal"
68             android:textAlignment="center"
69             android:layout_marginBottom="10dp" />
70
71         <!-- Data network. -->
72         <TextView
73             android:id="@+id/data_network"
74             android:layout_height="wrap_content"
75             android:layout_width="wrap_content"
76             android:layout_gravity="center_horizontal"
77             android:textAlignment="center"
78             android:textColor="@color/blue_700"
79             android:textSize="18sp"
80             android:textStyle="bold" />
81
82         <TextView
83             android:id="@+id/data_network_details"
84             android:layout_height="wrap_content"
85             android:layout_width="wrap_content"
86             android:layout_gravity="center_horizontal"
87             android:textAlignment="center"
88             android:layout_marginBottom="10dp" />
89
90         <!-- Additional network info. -->
91         <TextView
92             android:id="@+id/additional_network_info"
93             android:layout_height="wrap_content"
94             android:layout_width="wrap_content"
95             android:layout_gravity="center_horizontal"
96             android:textAlignment="center"
97             android:textColor="@color/blue_700"
98             android:textSize="18sp"
99             android:textStyle="bold" />
100
101         <TextView
102             android:id="@+id/additional_network_info_details"
103             android:layout_height="wrap_content"
104             android:layout_width="wrap_content"
105             android:layout_gravity="center_horizontal"
106             android:textAlignment="center" />
107     </LinearLayout>
108 </ScrollView>