table_layout.xml
3.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<!-- 此部分是标题部分 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F2F2F2"
android:orientation="horizontal">
<!-- 右侧标题的父容器可实现水平滚动 -->
<com.lijinji.tab.widget.SyncHorizontalScrollView
android:id="@+id/title_horsv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fillViewport="true"
android:scrollbars="none">
<LinearLayout
android:id="@+id/right_title_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="horizontal">
<!--<include layout="@layout/table_sales_right_tab"/>-->
</LinearLayout>
</com.lijinji.tab.widget.SyncHorizontalScrollView>
</LinearLayout>
<!-- 此部分是内容部分 用ScrollView实现上下滚动效果 -->
<com.lijinji.tab.widget.pullrefresh.AbPullToRefreshView
android:id="@+id/pulltorefreshview"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView
android:id="@+id/pull_refresh_scroll"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<!-- 左侧内容的父容器 -->
<com.lijinji.tab.widget.MyListView
android:id="@+id/left_container_listview"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:visibility="gone"
android:scrollbars="none">
</com.lijinji.tab.widget.MyListView>
<!-- 右侧内容的父容器 实现水平滚动 -->
<com.lijinji.tab.widget.SyncHorizontalScrollView
android:id="@+id/content_horsv"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:fillViewport="true"
android:scrollbars="none">
<com.lijinji.tab.widget.MyListView
android:id="@+id/right_container_listview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#ffffff"
android:scrollbars="none">
</com.lijinji.tab.widget.MyListView>
</com.lijinji.tab.widget.SyncHorizontalScrollView>
</LinearLayout>
</ScrollView>
</com.lijinji.tab.widget.pullrefresh.AbPullToRefreshView>
</LinearLayout>