| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2018 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. |
| --> |
| <com.android.phone.EmergencyInfoGroup |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/emergency_info_button" |
| android:layout_height="@dimen/emergency_info_button_height" |
| android:layout_width="match_parent" |
| android:layout_marginTop="@dimen/emergency_info_button_margin_top"> |
| <LinearLayout |
| android:layout_height="match_parent" |
| android:layout_width="match_parent" |
| android:layout_marginEnd="56dp" |
| android:orientation="horizontal"> |
| <FrameLayout |
| android:id="@+id/emergency_info_image_container" |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:layout_gravity="center_vertical|start" |
| android:layout_marginHorizontal="@dimen/emergency_dialer_image_margin_horizontal"> |
| <ImageView |
| android:id="@+id/emergency_info_image" |
| android:layout_height="@dimen/emergency_info_image_height" |
| android:layout_width="@dimen/emergency_info_image_width" |
| android:scaleType="centerCrop"/> |
| </FrameLayout> |
| <LinearLayout |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:orientation="vertical" |
| android:layout_gravity="center_vertical"> |
| <TextView |
| android:id="@+id/emergency_info_name" |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:includeFontPadding="false" |
| android:textAppearance="@style/HeadlineTextAppearance"/> |
| <TextView |
| android:id="@+id/emergency_info_hint" |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:paddingTop="9dp" |
| android:includeFontPadding="false" |
| android:alpha="0.7" |
| android:textAppearance="@style/SubtitleTextAppearance" |
| android:text="@string/emergency_information_hint"/> |
| </LinearLayout> |
| </LinearLayout> |
| |
| <FrameLayout |
| android:id="@+id/arrow_go_next_container" |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:layout_gravity="center_vertical|end" |
| android:layout_marginHorizontal="@dimen/emergency_dialer_image_margin_horizontal"> |
| <ImageView |
| android:id="@+id/arrow_go_next" |
| android:layout_height="@dimen/emergency_shortcuts_function_icon_height" |
| android:layout_width="@dimen/emergency_shortcuts_function_icon_width" |
| android:src="@drawable/ic_arrow_go_next_18"/> |
| </FrameLayout> |
| </com.android.phone.EmergencyInfoGroup> |