| <?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. |
| --> |
| <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:fitsSystemWindows="true" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:background="@android:color/black" |
| android:visibility="gone"> |
| |
| <!-- This progressbar is activated while we're switching users. --> |
| <ProgressBar |
| android:id="@+id/switching_users" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:indeterminate="true" |
| android:visibility="gone" |
| android:layout_gravity="center" /> |
| |
| <RelativeLayout |
| android:id="@+id/container" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <include layout="@layout/car_status_bar_header" |
| android:theme="@android:style/Theme" |
| android:layout_alignParentTop="true"/> |
| |
| <RelativeLayout |
| android:id="@+id/fullscreen_user_switcher_container" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_marginStart="@dimen/car_margin" |
| android:layout_marginEnd="@dimen/car_margin"> |
| |
| <RelativeLayout |
| android:id="@+id/fullscreen_user_switcher_container_inner" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_marginEnd="@dimen/car_padding_4"> |
| |
| <com.android.systemui.statusbar.car.UserGridRecyclerView |
| android:id="@+id/user_grid" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_below="@+id/header" |
| android:scrollbars="vertical" |
| android:scrollbarFadeDuration="0" |
| android:verticalScrollbarPosition="left" |
| android:layout_centerHorizontal="true" |
| android:layout_centerVertical="true" |
| android:layout_alignParentRight="true"/> |
| |
| </RelativeLayout> |
| |
| </RelativeLayout> |
| |
| </RelativeLayout> |
| </FrameLayout> |