Blame view

footsafety/app/src/main/res/layout/activity_notification_settings.xml 7.15 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
  <?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=".activities.settings.NotificationSettingsActivity">
  
      <LinearLayout
          android:id="@+id/rl_toollayout"
          android:layout_width="match_parent"
          android:layout_height="@dimen/fifty_fiveheight"
          android:orientation="horizontal">
  
          <ImageView
              android:id="@+id/back_icon"
              android:layout_width="@dimen/forty_fivewidth"
              android:layout_height="match_parent"
              android:padding="@dimen/padding_ten"
              android:src="@drawable/icon_back"
              android:tint="@color/blackcolor" />
  
          <TextView
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:gravity="center"
              android:text="@string/notification_settings_txt"
              android:textColor="@color/blackcolor"
              android:textSize="@dimen/eighteenText_size"
              android:textStyle="bold" />
  
          <ImageView
              android:id="@+id/map_icon"
              android:layout_width="@dimen/thirty_width"
              android:layout_height="match_parent"
              android:layout_marginEnd="@dimen/layout_marginEnd_five"
              android:padding="@dimen/padding_two"
              android:src="@drawable/icon_map"
              android:tint="@color/blackcolor"
              android:visibility="gone" />
  
          <ImageView
              android:id="@+id/notification_icon"
              android:layout_width="@dimen/thirty_width"
              android:layout_height="match_parent"
              android:layout_marginEnd="@dimen/layout_marginEnd_five"
              android:padding="@dimen/padding_two"
              android:src="@drawable/icon_bell"
              android:tint="@color/blackcolor" />
  
  
      </LinearLayout>
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          android:paddingStart="@dimen/padding_start_ten"
          android:paddingEnd="@dimen/padding_end_ten">
  
          <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: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:id="@+id/setting_txt"
                      android:layout_width="wrap_content"
                      android:layout_height="match_parent"
                      android:layout_marginStart="@dimen/layout_marginstart_ten"
                      android:gravity="center"
                      android:text="@string/setting_txthome"
                      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/noti_setting_txt"
                      android:textColor="@color/textcolor"
                      android:textSize="@dimen/fifteenText_size" />
  
              </LinearLayout>
          </HorizontalScrollView>
  
          <LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="@dimen/layout_marginTop_fifteen"
              android:orientation="horizontal">
  
              <LinearLayout
                  android:layout_width="0dp"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:orientation="vertical">
  
                  <TextView
                      android:id="@+id/settings_item_text"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_marginTop="@dimen/layout_marginTop_twenty"
                      android:text="@string/alert_emp_txt"
                      android:textColor="@color/blackcolor"
                      android:textSize="@dimen/sixteenText_size" />
  
                  <TextView
                      android:id="@+id/settings_subnametxt"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:text="@string/alert_emp_txt_sub_txt"
                      android:textColor="@color/textcolor"
                      android:textSize="@dimen/fourteenText_size" />
  
              </LinearLayout>
  
              <RelativeLayout
                  android:layout_width="@dimen/seventyfive_width"
                  android:layout_height="match_parent"
                  android:layout_marginTop="@dimen/layout_marginTop_ten"
                  android:gravity="center">
  
  
                  <Spinner
                      android:id="@+id/id_spinner"
                      android:layout_width="match_parent"
                      android:layout_height="@dimen/twenty_eight_height"
                      android:background="@drawable/bg_spinner_circle" />
  
  
              </RelativeLayout>
  
  
          </LinearLayout>
  
          <View
              android:layout_width="match_parent"
              android:layout_height="@dimen/one_height"
              android:layout_marginTop="@dimen/layout_marginTop_fifteen"
              android:background="@color/textcolor" />
  
  
      </LinearLayout>
  
  
  </LinearLayout>