| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2015 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <LinearLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="@dimen/alarm_label_padding" |
| android:gravity="top" |
| android:orientation="vertical"> |
| |
| <LinearLayout |
| android:orientation="horizontal" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <com.android.deskclock.widget.TextTime |
| android:id="@+id/digital_clock" |
| android:layout_marginTop="@dimen/alarm_clock_vertical_margin" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textColor="@color/black" |
| android:textSize="@dimen/label_font_size" |
| android:textStyle="bold"/> |
| |
| <TextView |
| android:id="@+id/daysOfWeek" |
| tools:text="M, T, W" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:ellipsize="end" |
| android:singleLine="true" |
| android:textSize="@dimen/label_font_size" |
| android:textColor="@color/black" |
| android:layout_marginTop="@dimen/alarm_clock_vertical_margin" |
| android:layout_marginStart="@dimen/alarm_clock_vertical_margin" /> |
| |
| </LinearLayout> |
| |
| <com.android.deskclock.widget.EllipsizeLayout |
| android:layout_marginTop="@dimen/label_margin_big" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:gravity="bottom" |
| android:layout_gravity="end" |
| android:orientation="vertical" |
| android:layout_marginBottom="@dimen/alarm_clock_vertical_margin"> |
| |
| <TextView |
| android:id="@+id/label" |
| tools:text="Pick up kids" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:ellipsize="none" |
| android:singleLine="true" |
| android:textSize="@dimen/label_font_size" |
| android:textColor="@color/black_54p" /> |
| </com.android.deskclock.widget.EllipsizeLayout> |
| |
| </LinearLayout> |