<!-- This is the alarm clock in LANDSCAPE desk dock mode.
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
>
<LinearLayout
android:id="@+id/desk_clock"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:orientation="vertical"
android:paddingTop="25dip"
>
android:orientation="vertical"
android:layout_gravity="left"
android:layout_weight="1"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_marginLeft="25dip"
android:layout_marginTop="18dip"
android:layout_marginRight="18dip"
<!-- across the top: next alarm, battery, nightmode button -->
<LinearLayout
android:orientation="horizontal"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:layout_marginBottom="6dip"
android:layout_width="wrap_content"
android:src="@drawable/ic_round_brightness"
android:contentDescription="@string/nightmode_button_description"
+ android:nextFocusDown="@+id/alarm_button"
/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_weight="1"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="bottom"
>
<include layout="@layout/desk_clock_time_date"
android:layout_height="wrap_content"
android:layout_width="0dip"
- android:layout_weight="4"
+ android:layout_weight="5"
/>
<include layout="@layout/desk_clock_weather"
</LinearLayout>
<View android:id="@+id/window_tint"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
- android:background="#E0000000"
+ android:background="#CC000000"
android:visibility="visible"
android:clickable="false"
/>
Buttons are provided to access alarms, music, and other useful functions.
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
>
<!-- the top padding accounts for the status bar area -->
<LinearLayout
android:id="@+id/desk_clock"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:orientation="vertical"
android:paddingTop="25dip"
>
android:orientation="vertical"
android:layout_gravity="left"
android:layout_weight="1"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_marginLeft="22dip"
android:layout_marginTop="18dip"
android:layout_marginRight="18dip"
<!-- across the top: next alarm, nightmode button -->
<LinearLayout
android:orientation="horizontal"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:layout_marginLeft="4dip"
android:layout_width="wrap_content"
android:src="@drawable/ic_round_brightness"
android:contentDescription="@string/nightmode_button_description"
+ android:nextFocusDown="@+id/alarm_button"
/>
</LinearLayout>
<include layout="@layout/desk_clock_battery"
android:layout_height="wrap_content"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_weight="0"
android:layout_marginLeft="4dip"
/>
</LinearLayout>
<View android:id="@+id/window_tint"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
- android:background="#E0000000"
+ android:background="#CC000000"
android:visibility="visible"
android:clickable="false"
/>