• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    android:layout_width="match_parent"
18    android:layout_height="wrap_content"
19    android:orientation="vertical">
20    <include layout="@layout/custom_action_bar"/>
21    <LinearLayout
22        android:id="@+id/name_and_dob_linear_layout"
23        android:layout_width="match_parent"
24        android:layout_height="wrap_content"
25        android:background="?attr/colorPrimary"
26        android:elevation="@dimen/tab_elevation"
27        android:orientation="vertical">
28        <LinearLayout
29            android:layout_width="match_parent"
30            android:layout_height="wrap_content"
31            android:orientation="horizontal">
32            <ImageView
33                android:id="@+id/personal_card_icon"
34                android:layout_width="56dp"
35                android:layout_height="56dp"
36                android:layout_gravity="center"
37                android:layout_marginVertical="20dp"
38                android:layout_marginStart="68dp"
39                android:layout_marginEnd="16dp"/>
40            <TextView
41                android:id="@+id/personal_card_large"
42                android:layout_width="wrap_content"
43                android:layout_height="wrap_content"
44                android:layout_gravity="center"
45                android:maxLines="2"
46                android:textSize="22sp"
47                android:ellipsize="end"
48                android:layout_marginVertical="20dp"
49                android:layout_marginEnd="20dp"
50                android:lineHeight="28sp"
51                android:fontFamily="@*android:string/config_headlineFontFamily"
52                android:textColor="@color/emergency_owner_text_color"/>
53        </LinearLayout>
54    </LinearLayout>
55
56    <ViewFlipper
57        android:id="@+id/view_flipper"
58        android:layout_width="match_parent"
59        android:layout_height="match_parent"
60        android:elevation="@dimen/tab_elevation">
61
62        <LinearLayout
63            android:id="@+id/no_info"
64            android:layout_width="match_parent"
65            android:layout_height="match_parent"
66            android:layout_marginTop="72dp"
67            android:layout_marginBottom="48dp"
68            android:layout_marginEnd="104dp"
69            android:layout_marginStart="72dp"
70            android:orientation="vertical">
71
72            <TextView
73                android:id="@+id/no_info_text_view"
74                android:layout_width="match_parent"
75                android:layout_height="wrap_content"
76                android:gravity="start"
77                android:lineHeight="24sp"
78                android:text="@string/no_info_provided"
79                android:fontFamily="@*android:string/config_headlineFontFamilyMedium"
80                android:textColor="?android:textColorPrimary"
81                android:textSize="16sp" />
82
83            <TextView
84                android:id="@+id/tap"
85                android:layout_width="match_parent"
86                android:layout_height="wrap_content"
87                android:layout_marginTop="32dp"
88                android:gravity="start"
89                android:lineHeight="20sp"
90                android:text="@string/tap_pencil"
91                android:textColor="?android:textColorSecondary"
92                android:textSize="14sp" />
93        </LinearLayout>
94
95        <include
96            android:id="@+id/tabs"
97            layout="@layout/tabs" />
98    </ViewFlipper>
99</LinearLayout>
100