]> gitweb.stoutner.com Git - PrivacyCell.git/blob - app/src/main/res/layout/privacy_cell_scrollview.xml
77ad82f9dd89854ae488296557b582f649032c1e
[PrivacyCell.git] / app / src / main / res / layout / privacy_cell_scrollview.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         <!-- The text color primary is only displayed if the read phone state permission is not granted. -->
42         <TextView
43             android:id="@+id/secure_from_stingray_textview"
44             android:layout_height="wrap_content"
45             android:layout_width="wrap_content"
46             android:layout_gravity="center_horizontal"
47             android:textAlignment="center"
48             android:layout_marginTop="10dp"
49             android:textColor="?android:textColorPrimary"
50             android:textSize="20sp"
51             android:textStyle="bold" />
52
53         <!-- Voice network. -->
54         <TextView
55             android:id="@+id/voice_network"
56             android:layout_height="wrap_content"
57             android:layout_width="wrap_content"
58             android:layout_gravity="center_horizontal"
59             android:textAlignment="center"
60             android:layout_marginTop="30dp"
61             android:textColor="@color/blue_text"
62             android:textSize="18sp"
63             android:textStyle="bold" />
64
65         <TextView
66             android:id="@+id/voice_network_details"
67             android:layout_height="wrap_content"
68             android:layout_width="wrap_content"
69             android:layout_gravity="center_horizontal"
70             android:textAlignment="center"
71             android:layout_marginBottom="10dp" />
72
73         <!-- Data network. -->
74         <TextView
75             android:id="@+id/data_network"
76             android:layout_height="wrap_content"
77             android:layout_width="wrap_content"
78             android:layout_gravity="center_horizontal"
79             android:textAlignment="center"
80             android:textColor="@color/blue_text"
81             android:textSize="18sp"
82             android:textStyle="bold" />
83
84         <TextView
85             android:id="@+id/data_network_details"
86             android:layout_height="wrap_content"
87             android:layout_width="wrap_content"
88             android:layout_gravity="center_horizontal"
89             android:textAlignment="center"
90             android:layout_marginBottom="10dp" />
91
92         <!-- Additional network info. -->
93         <TextView
94             android:id="@+id/additional_network_info"
95             android:layout_height="wrap_content"
96             android:layout_width="wrap_content"
97             android:layout_gravity="center_horizontal"
98             android:textAlignment="center"
99             android:textColor="@color/blue_text"
100             android:textSize="18sp"
101             android:textStyle="bold" />
102
103         <TextView
104             android:id="@+id/additional_network_info_details"
105             android:layout_height="wrap_content"
106             android:layout_width="wrap_content"
107             android:layout_gravity="center_horizontal"
108             android:textAlignment="center" />
109     </LinearLayout>
110 </ScrollView>