OSDN Git Service

Add some (optional) debug logging to the player service.
[android-x86/packages-apps-Eleven.git] / res / layout / profile_tab.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   Copyright (C) 2012 Andrew Neal
4  
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8  
9        http://www.apache.org/licenses/LICENSE-2.0
10  
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16 -->
17 <view xmlns:android="http://schemas.android.com/apk/res/android"
18     android:layout_width="0dip"
19     android:layout_height="match_parent"
20     android:layout_weight="1"
21     class="com.andrew.apollo.widgets.CarouselTab" >
22
23     <RelativeLayout
24         android:layout_width="match_parent"
25         android:layout_height="match_parent" >
26
27         <com.andrew.apollo.widgets.LayoutSuppressingImageView
28             android:id="@+id/profile_tab_photo"
29             android:layout_width="match_parent"
30             android:layout_height="match_parent"
31             android:layout_alignParentLeft="true"
32             android:layout_alignParentTop="true"
33             android:contentDescription="@null"
34             android:scaleType="centerCrop" />
35
36         <com.andrew.apollo.widgets.SquareImageView
37             android:id="@+id/profile_tab_album_art"
38             android:layout_width="match_parent"
39             android:layout_height="match_parent"
40             android:layout_alignParentLeft="true"
41             android:layout_alignParentTop="true"
42             android:contentDescription="@null"
43             android:scaleType="fitXY"
44             android:visibility="gone" />
45
46         <View
47             android:id="@+id/profile_tab_photo_overlay"
48             android:layout_width="match_parent"
49             android:layout_height="match_parent"
50             android:layout_alignParentLeft="true"
51             android:layout_alignParentTop="true" />
52
53         <View
54             android:id="@+id/profile_tab_label_background"
55             android:layout_width="match_parent"
56             android:layout_height="@dimen/profile_carousel_label_height"
57             android:layout_alignParentBottom="true"
58             android:layout_alignParentLeft="true"
59             android:background="@color/transparent_black" />
60
61         <com.andrew.apollo.widgets.theme.Colorstrip
62             android:id="@+id/profile_tab_colorstrip"
63             android:layout_width="match_parent"
64             android:layout_height="@dimen/profile_indicator_height"
65             android:layout_alignParentBottom="true"
66             android:layout_alignParentLeft="true" />
67
68         <View
69             android:id="@+id/profile_tab_alpha_overlay"
70             android:layout_width="match_parent"
71             android:layout_height="match_parent"
72             android:layout_alignParentLeft="true"
73             android:layout_alignParentTop="true"
74             android:layout_marginBottom="@dimen/profile_carousel_label_height" />
75
76         <TextView
77             android:id="@+id/profile_tab_label"
78             android:layout_width="match_parent"
79             android:layout_height="@dimen/profile_carousel_label_height"
80             android:layout_alignParentBottom="true"
81             android:layout_alignParentLeft="true"
82             android:gravity="left|center_vertical"
83             android:paddingLeft="@dimen/profile_label_padding"
84             android:paddingRight="@dimen/profile_label_padding"
85             android:singleLine="true"
86             android:textColor="@color/white"
87             android:textSize="@dimen/text_size_large" />
88     </RelativeLayout>
89
90 </view>