fiore@0
|
1 <?xml version="1.0" encoding="utf-8"?>
|
fiore@0
|
2 <RelativeLayout
|
fiore@0
|
3 xmlns:android="http://schemas.android.com/apk/res/android"
|
fiore@0
|
4 android:id="@+id/main_layout"
|
fiore@0
|
5 android:layout_width="fill_parent"
|
fiore@0
|
6 android:layout_height="fill_parent">
|
fiore@0
|
7
|
fiore@0
|
8 <Button
|
fiore@0
|
9 android:id="@+id/scrollButton"
|
fiore@0
|
10 android:layout_width="fill_parent"
|
fiore@0
|
11 android:layout_height="wrap_content"
|
fiore@0
|
12 android:layout_alignParentBottom="true"
|
fiore@0
|
13 android:maxHeight="80dp"
|
fiore@0
|
14 android:minHeight="80dp"
|
fiore@0
|
15 android:text="@string/scrollBtnDown"
|
fiore@0
|
16 android:textSize="30dp" />
|
fiore@0
|
17
|
fiore@0
|
18 <LinearLayout
|
fiore@0
|
19 android:id="@+id/listView1"
|
fiore@0
|
20 android:layout_width="fill_parent"
|
fiore@0
|
21 android:layout_height="fill_parent"
|
fiore@0
|
22 android:layout_above="@+id/scrollButton"
|
fiore@0
|
23 android:layout_below="@+id/txtHeader"
|
fiore@0
|
24 android:scrollbars="none"
|
fiore@0
|
25 />
|
fiore@0
|
26
|
fiore@0
|
27 <TextView
|
fiore@0
|
28 android:id="@+id/txtHeader"
|
fiore@0
|
29 android:layout_width="match_parent"
|
fiore@0
|
30 android:layout_height="wrap_content"
|
fiore@0
|
31 android:background="#336699"
|
fiore@0
|
32 android:ellipsize="marquee"
|
fiore@0
|
33 android:gravity="center_vertical"
|
fiore@0
|
34 android:maxLines="1"
|
fiore@0
|
35 android:minHeight="?android:attr/listPreferredItemHeight"
|
fiore@0
|
36 android:padding="10dp"
|
fiore@0
|
37 android:paddingLeft="6dip"
|
fiore@0
|
38 android:textAppearance="?android:attr/textAppearanceLarge"
|
fiore@0
|
39 android:textColor="#FFFFFF"
|
fiore@0
|
40 android:textSize="20dp"
|
fiore@0
|
41 android:textStyle="bold" />
|
fiore@0
|
42
|
fiore@0
|
43 </RelativeLayout> |