]> gitweb.stoutner.com Git - PrivacyCell.git/blobdiff - app/src/main/res/layout/privacy_cell_drawerlayout.xml
Release 1.0.
[PrivacyCell.git] / app / src / main / res / layout / privacy_cell_drawerlayout.xml
index ae018c27be88ba92db4badfdf88e8754c421e241..fe3ce2ff12c96f0ed057920418e650cab0b3b8f6 100644 (file)
             <!-- 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" >
 
@@ -68,7 +68,8 @@
                         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"
@@ -78,7 +79,8 @@
                         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