1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent" 4 android:layout_height="match_parent" 5 android:layout_marginTop="@dimen/widget_top_margin" > 6 7 <TextClock 8 android:id="@+id/clock" 9 android:layout_width="@dimen/clock_width" 10 android:layout_height="wrap_content" 11 android:layout_alignParentEnd="true" 12 android:gravity="center_vertical|end" 13 android:format12Hour="@string/widget_12_hours_format" 14 android:format24Hour="@string/widget_24_hours_format" 15 android:fontFamily="@string/light_font" 16 android:includeFontPadding="false" 17 android:textColor="@color/clock_text_color" 18 android:textSize="@dimen/clock_text_size" /> 19 20 <ImageView 21 android:id="@+id/connectivity_indicator" 22 android:layout_width="@dimen/connectivity_status_size" 23 android:layout_height="@dimen/connectivity_status_size" 24 android:layout_toStartOf="@+id/clock" 25 android:layout_centerVertical="true" 26 android:src="@null" /> 27 28 </RelativeLayout> 29