Blame view

res/layout/app_top_title_old.xml 2.02 KB
3c2353cd   杜方   1、畅游通核销app源码提交;
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
  <?xml version="1.0" encoding="utf-8"?>
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:background="@android:color/white"
      android:orientation="vertical" 
      >
  
      <RelativeLayout
          android:layout_width="fill_parent"
          android:layout_height="80dp"
          android:background="@color/top_title_bg" >
  
          <ImageView
              android:id="@+id/topBack"
              android:layout_width="100dp"
              android:layout_height="60dp"
              android:paddingRight="15dp"
              android:layout_alignParentLeft="true"
              android:layout_centerHorizontal="true"
              android:layout_centerInParent="true"
              android:layout_marginLeft="5dp"
              android:contentDescription="@string/app_name"
              android:gravity="center|left"
              android:src="@drawable/top_arrow"
              android:visibility="gone" />
  
          <TextView
              android:id="@+id/title"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerInParent="true"
              android:ellipsize="end"
              android:gravity="center|left"
              android:text="@string/app_name"
              android:textColor="@android:color/white"
              android:textSize="25sp" />
  
          <Button
              android:id="@+id/topBtns"
              android:layout_width="100dp"
              android:layout_height="60dp"
              android:layout_alignParentRight="true"
              android:layout_centerHorizontal="true"
              android:layout_centerInParent="true"
              android:layout_marginRight="25dp"
              android:background="@drawable/btn_collections_bg"
              android:contentDescription="@string/app_name"
              android:gravity="center"
              android:textColor="@android:color/white"
              android:textSize="25sp"
              android:visibility="gone" />
      </RelativeLayout>
  
  </LinearLayout>