- 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>