Blame view

footsafety/app/src/main/res/layout/activity_notification2.xml 3.34 KB
f7a13682   “wangming”   项目初始化
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
81
82
83
84
85
86
87
88
89
90
91
  <?xml version="1.0" encoding="utf-8"?>
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@color/whitecolor"
      android:orientation="vertical"
      tools:context=".fragments.notificationFrag.NotificationsListFrag">
  
      <androidx.appcompat.widget.Toolbar
          android:id="@+id/toolbar"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:background="@color/blue">
  
          <TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center"
              android:text="@string/notifications_txt"
              android:textColor="@color/white"
              android:textSize="18dp" />
  
      </androidx.appcompat.widget.Toolbar>
  
      <HorizontalScrollView
          android:id="@+id/horitxt"
          android:layout_width="wrap_content"
          android:layout_height="@dimen/twentyfive_height"
          android:layout_marginTop="@dimen/layout_marginTop_five"
          android:scrollbarThumbHorizontal="@color/transparent"
          android:scrollbars="horizontal">
  
          <LinearLayout
              android:visibility="gone"
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:orientation="horizontal">
  
              <TextView
                  android:id="@+id/dashboard_txt"
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent"
                  android:gravity="center"
                  android:text="@string/dashboard_txt"
                  android:textColor="@color/yellowcolor"
                  android:textSize="@dimen/fifteenText_size" />
  
              <ImageView
                  android:layout_width="@dimen/twelve_width"
                  android:layout_height="@dimen/twelve_height"
                  android:layout_gravity="center"
                  android:layout_marginStart="@dimen/layout_marginstart_five"
                  android:src="@drawable/icon_forward"
                  android:tint="@color/textcolor" />
  
              <TextView
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent"
                  android:layout_marginStart="@dimen/layout_marginstart_ten"
                  android:gravity="center"
                  android:text="@string/notifications_txt"
                  android:textColor="@color/textcolor"
                  android:textSize="@dimen/fifteenText_size" />
  
          </LinearLayout>
      </HorizontalScrollView>
  
      <RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@color/whitecolor">
  
          <LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="@color/whitecolor"
              android:orientation="vertical">
  
              <androidx.recyclerview.widget.RecyclerView
                  android:id="@+id/notifications_recylcerview"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content">
  
              </androidx.recyclerview.widget.RecyclerView>
  
  
          </LinearLayout>
      </RelativeLayout>
  
  </LinearLayout>