<!-- The main content is wrapped in a scroll view. -->
<ScrollView
android:layout_height="match_parent"
- android:layout_width="wrap_content" >
+ android:layout_width="match_parent" >
<LinearLayout
android:layout_height="wrap_content"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:orientation="vertical"
android:padding="15dp" >
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 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"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:textColor="?android:textColorPrimary"
android:textSize="20sp"
- android:textStyle="bold" />
+ android:textStyle="bold"
+ android:text="@string/not_connected" />
<!-- Voice network. -->
<TextView