OSDN Git Service

f01c71e59485b6cb55f905639c49ccc5c797f576
[android-x86/packages-apps-Eleven.git] / res / layout / profile_tab_carousel.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:id="@+id/profile_tab_carousel"
19     android:layout_width="match_parent"
20     android:layout_height="wrap_content"
21     class="com.andrew.apollo.widgets.ProfileTabCarousel"
22     android:fadingEdge="none"
23     android:scrollbars="none" >
24
25     <LinearLayout
26         android:id="@+id/profile_tab_carousel_tab_and_shadow_container"
27         android:layout_width="match_parent"
28         android:layout_height="match_parent"
29         android:orientation="vertical" >
30
31         <LinearLayout
32             android:id="@+id/profile_tab_carousel_tab_container"
33             android:layout_width="match_parent"
34             android:layout_height="0dip"
35             android:layout_weight="1"
36             android:baselineAligned="false"
37             android:orientation="horizontal" >
38
39             <include
40                 android:id="@+id/profile_tab_carousel_tab_one"
41                 layout="@layout/profile_tab" />
42
43             <include
44                 android:id="@+id/profile_tab_carousel_tab_two"
45                 layout="@layout/profile_tab" />
46         </LinearLayout>
47
48         <View
49             android:id="@+id/profile_tab_carousel_shadow"
50             android:layout_width="match_parent"
51             android:layout_height="@dimen/profile_photo_shadow_height"
52             android:background="?android:attr/windowContentOverlay" />
53     </LinearLayout>
54
55 </view>