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 <TextView 29 android:id="@+id/personal_card_large" 30 android:layout_width="wrap_content" 31 android:layout_height="wrap_content" 32 android:maxHeight="68dp" 33 android:minHeight="36dp" 34 android:maxLines="2" 35 android:textSize="26sp" 36 android:ellipsize="end" 37 android:layout_marginStart="72dp" 38 android:layout_marginEnd="16dp" 39 android:lineSpacingMultiplier="1.05026" 40 android:textColor="#FFFFFF"/> 41 42 <LinearLayout 43 android:layout_width="match_parent" 44 android:layout_height="18dp"></LinearLayout> 45 </LinearLayout> 46 47 <ViewFlipper 48 android:id="@+id/view_flipper" 49 android:layout_width="match_parent" 50 android:layout_height="match_parent" 51 android:elevation="@dimen/tab_elevation"> 52 53 <TextView 54 android:id="@+id/no_info_text_view" 55 android:layout_width="match_parent" 56 android:layout_height="match_parent" 57 android:layout_marginStart="16dp" 58 android:layout_marginEnd="16dp" 59 android:gravity="center" 60 android:text="@string/no_info_provided" 61 android:textColor="#9E9E9E" 62 android:textSize="16sp" /> 63 64 <include 65 android:id="@+id/tabs" 66 layout="@layout/tabs" /> 67 </ViewFlipper> 68 </LinearLayout>