1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2007 The Android Open Source Project Licensed under the
3 Apache License, Version 2.0 (the "License"); you may not use this file except
4 in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
5 Unless required by applicable law or agreed to in writing, software distributed
6 under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
7 OR CONDITIONS OF ANY KIND, either express or implied. See the License for
8 the specific language governing permissions and limitations under the License. -->
10 <com.weibo.view.DragLayer xmlns:android="http://schemas.android.com/apk/res/android"
11 xmlns:launcher="http://schemas.android.com/apk/res/com.weibo.activity"
13 android:id="@+id/drag_layer" android:layout_width="fill_parent"
14 android:layout_height="fill_parent">
15 <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical">
16 <include android:id="@+id/titlebar" layout="@layout/titlebar" />
17 <com.weibo.view.Workspace android:id="@+id/workspace"
18 android:layout_width="fill_parent" android:layout_height="fill_parent"
19 android:scrollbars="horizontal">
21 <include android:id="@+id/page0" layout="@layout/workspace_screen" />
22 <include android:id="@+id/page1" layout="@layout/workspace_screen" />
23 <include android:id="@+id/page2" layout="@layout/workspace_screen" />
24 <include android:id="@+id/page3" layout="@layout/workspace_screen" />
25 <include android:id="@+id/page4" layout="@layout/workspace_screen" />
27 </com.weibo.view.Workspace>
30 <!-- The workspace contains 3 screens of cells -->
35 <ProgressBar style="@style/progressBarstyle"
36 android:layout_gravity="bottom" android:layout_width="fill_parent"
37 android:layout_marginRight="5dp" android:layout_marginLeft="5dp"
38 android:id="@+id/progressbar" android:layout_height="10px"
39 android:visibility="invisible" />
40 <LinearLayout android:layout_width="fill_parent"
41 android:layout_height="wrap_content" android:id="@+id/bottom_toolbar" android:visibility="invisible" android:background="@color/bottom_toolbar" android:layout_gravity="bottom" android:orientation="horizontal">
42 <ImageButton android:layout_width="wrap_content" android:id="@+id/swipe_profile"
43 android:layout_height="wrap_content" android:layout_weight="1" android:src="@drawable/swipe_profile" android:background="@drawable/btn_bg" android:onClick="onBottomToolBarClick"/>
44 <ImageButton android:layout_width="wrap_content" android:id="@+id/swipe_fav"
45 android:layout_height="wrap_content" android:layout_weight="1" android:src="@drawable/swipe_fav_off" android:background="@drawable/btn_bg" android:onClick="onBottomToolBarClick"/>
46 <ImageButton android:layout_width="wrap_content" android:id="@+id/swipe_reply"
47 android:layout_height="wrap_content" android:layout_weight="1" android:src="@drawable/swipe_reply" android:background="@drawable/btn_bg" android:onClick="onBottomToolBarClick"/>
48 <ImageButton android:layout_width="wrap_content" android:id="@+id/swipe_retweet"
49 android:layout_height="wrap_content" android:layout_weight="1" android:src="@drawable/swipe_retweet" android:background="@drawable/btn_bg" android:onClick="onBottomToolBarClick"/>
50 <ImageButton android:layout_width="wrap_content" android:id="@+id/swipe_share"
51 android:layout_height="wrap_content" android:layout_weight="1" android:src="@drawable/swipe_share" android:background="@drawable/btn_bg" android:onClick="onBottomToolBarClick"/>
54 </com.weibo.view.DragLayer>