blob: 1732f6d289dc130e8c361748c0c5ecf19ca71106 [file] [log] [blame]
Winson Chungd63c59782012-09-05 17:34:41 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 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-->
Winson Chungeaa5ab02012-09-13 16:36:41 -070016<FrameLayout
Winson Chungd63c59782012-09-05 17:34:41 -070017 xmlns:android="http://schemas.android.com/apk/res/android"
Winson Chungd63c59782012-09-05 17:34:41 -070018 android:layout_width="match_parent"
Winson Chungeaa5ab02012-09-13 16:36:41 -070019 android:layout_height="match_parent">
Winson Chung5f623012012-09-14 14:58:43 -070020 <ImageView
Winson Chungefba3232012-09-27 16:56:42 -070021 android:id="@+id/user_imageview"
Winson Chung5f623012012-09-14 14:58:43 -070022 android:layout_width="match_parent"
23 android:layout_height="match_parent"
24 android:src="@drawable/ic_qs_default_user"
25 android:scaleType="centerCrop"
26 />
Winson Chungeaa5ab02012-09-13 16:36:41 -070027 <TextView
28 style="@style/TextAppearance.QuickSettings.TileView"
29 android:id="@+id/user_textview"
30 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
32 android:layout_gravity="center_horizontal|bottom"
33 android:gravity="center"
34 android:text="@string/quick_settings_user_label"
35 android:background="#33000000"
36 />
37</FrameLayout>