GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with Privacy Browser. If not, see <http://www.gnu.org/licenses/>. -->
+ along with Privacy Cell. If not, see <http://www.gnu.org/licenses/>. -->
<androidx.drawerlayout.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:padding="15dp" >
- <!-- Secure from stingray. -->
- <ImageView
- android:id="@+id/secure_from_stingray_imageview"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- tools:ignore="ContentDescription" />
-
- <!-- The text color primary is only displayed if the read phone state permission is not granted.
- The default text is replaced if the permission is not granted or the device is connected to a cell phone network. -->
- <TextView
- android:id="@+id/secure_from_stingray_textview"
+ <!-- Stingray. -->
+ <LinearLayout
+ android:id="@+id/stingray_linearlayout"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_gravity="center_horizontal"
- android:textAlignment="center"
- android:layout_marginTop="10dp"
- android:textColor="?android:textColorPrimary"
- android:textSize="20sp"
- android:textStyle="bold"
- android:text="@string/not_connected" />
+ android:orientation="vertical"
+ tools:ignore="UseCompoundDrawables" >
+
+ <ImageView
+ android:id="@+id/stingray_imageview"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ tools:ignore="ContentDescription" />
+
+ <!-- The text color primary is only displayed if the read phone state permission is not granted.
+ The default text is replaced if the permission is not granted or the device is connected to a cell phone network. -->
+ <TextView
+ android:id="@+id/stingray_textview"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:textAlignment="center"
+ android:layout_marginTop="10dp"
+ android:textColor="?android:textColorPrimary"
+ android:textSize="20sp"
+ android:textStyle="bold"
+ android:text="@string/not_connected" />
+ </LinearLayout>
<!-- Voice network. -->
- <TextView
- android:id="@+id/voice_network"
+ <LinearLayout
+ android:id="@+id/voice_network_linearlayout"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_gravity="center_horizontal"
- android:textAlignment="center"
- android:layout_marginTop="30dp"
- android:textColor="@color/blue_text"
- android:textSize="18sp"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/voice_network_details"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_gravity="center_horizontal"
- android:textAlignment="center"
- android:layout_marginBottom="10dp" />
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/voice_network"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:textAlignment="center"
+ android:layout_marginTop="30dp"
+ android:textColor="@color/blue_text"
+ android:textSize="18sp"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/voice_network_details"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:textAlignment="center"
+ android:layout_marginBottom="10dp" />
+ </LinearLayout>
<!-- Data network. -->
- <TextView
- android:id="@+id/data_network"
+ <LinearLayout
+ android:id="@+id/data_network_linearlayout"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_gravity="center_horizontal"
- android:textAlignment="center"
- android:textColor="@color/blue_text"
- android:textSize="18sp"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/data_network_details"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_gravity="center_horizontal"
- android:textAlignment="center"
- android:layout_marginBottom="10dp" />
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/data_network"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:textAlignment="center"
+ android:textColor="@color/blue_text"
+ android:textSize="18sp"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/data_network_details"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:textAlignment="center"
+ android:layout_marginBottom="10dp" />
+ </LinearLayout>
<!-- Additional network info. -->
- <TextView
- android:id="@+id/additional_network_info"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_gravity="center_horizontal"
- android:textAlignment="center"
- android:textColor="@color/blue_text"
- android:textSize="18sp"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/additional_network_info_details"
+ <LinearLayout
+ android:id="@+id/additional_network_info_linearlayout"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_gravity="center_horizontal"
- android:textAlignment="center" />
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/additional_network_info"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:textAlignment="center"
+ android:textColor="@color/blue_text"
+ android:textSize="18sp"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/additional_network_info_details"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:textAlignment="center" />
+ </LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>