|
15 | 15 |
|
16 | 16 | <TextView
|
17 | 17 | android:layout_width="wrap_content"
|
| 18 | + android:layout_height="wrap_content" |
18 | 19 | android:text="dasdasdads"
|
19 |
| - app:bl_text_gradient_orientation="horizontal" |
20 |
| - app:bl_text_gradient_startColor="@color/colorAccent" |
21 | 20 | app:bl_text_gradient_endColor="@android:color/holo_green_dark"
|
22 |
| - android:layout_height="wrap_content"/> |
| 21 | + app:bl_text_gradient_orientation="horizontal" |
| 22 | + app:bl_text_gradient_startColor="@color/colorAccent" /> |
23 | 23 |
|
24 | 24 |
|
25 | 25 | <Button
|
|
45 | 45 | android:textColor="@android:color/white"
|
46 | 46 | app:bl_corners_radius="4dp"
|
47 | 47 | app:bl_pressed_gradient_centerColor="@android:color/holo_green_dark"
|
48 |
| - app:bl_unPressed_gradient_centerColor="@android:color/darker_gray" |
49 |
| - app:bl_pressed_gradient_startColor="@android:color/black" |
50 |
| - app:bl_unPressed_gradient_startColor="@android:color/white" |
51 | 48 | app:bl_pressed_gradient_endColor="@android:color/holo_red_dark"
|
52 |
| - app:bl_unPressed_gradient_endColor="@android:color/holo_blue_light"/> |
| 49 | + app:bl_pressed_gradient_startColor="@android:color/black" |
| 50 | + app:bl_unPressed_gradient_centerColor="@android:color/darker_gray" |
| 51 | + app:bl_unPressed_gradient_endColor="@android:color/holo_blue_light" |
| 52 | + app:bl_unPressed_gradient_startColor="@android:color/white" /> |
53 | 53 |
|
54 | 54 | <android.support.constraint.ConstraintLayout
|
55 | 55 | android:layout_width="match_parent"
|
56 |
| - android:layout_height="match_parent"> |
| 56 | + android:layout_height="match_parent" |
| 57 | + tools:ignore="MissingConstraints"> |
57 | 58 |
|
58 | 59 | <com.noober.background.view.BLFlow
|
59 | 60 | android:layout_width="0dp"
|
|
124 | 125 |
|
125 | 126 | <com.noober.background.view.BLTextView
|
126 | 127 | android:layout_width="wrap_content"
|
127 |
| - android:layout_height="36dp" |
| 128 | + android:layout_height="48dp" |
128 | 129 | android:layout_marginTop="5dp"
|
129 | 130 | android:background="@null"
|
130 | 131 | android:gravity="center"
|
|
138 | 139 |
|
139 | 140 | <com.noober.background.view.BLTextView
|
140 | 141 | android:layout_width="wrap_content"
|
141 |
| - android:layout_height="36dp" |
| 142 | + android:layout_height="48dp" |
142 | 143 | android:layout_marginTop="5dp"
|
143 | 144 | android:background="@null"
|
144 | 145 | android:clickable="true"
|
|
154 | 155 | <com.noober.background.view.BLTextView
|
155 | 156 | android:id="@+id/ttt"
|
156 | 157 | android:layout_width="wrap_content"
|
157 |
| - android:layout_height="36dp" |
| 158 | + android:layout_height="48dp" |
158 | 159 | android:layout_marginTop="5dp"
|
159 | 160 | android:gravity="center"
|
160 | 161 | android:text="虚线圆角边框以及填充"
|
|
198 | 199 | <TextView
|
199 | 200 | android:id="@+id/cobbAngle"
|
200 | 201 | android:layout_width="180dp"
|
201 |
| - android:layout_height="36dp" |
| 202 | + android:layout_height="48dp" |
202 | 203 | android:layout_marginTop="15dp"
|
203 | 204 | android:gravity="center"
|
204 | 205 | android:text="点击填充变色"
|
|
213 | 214 |
|
214 | 215 | <EditText
|
215 | 216 | android:layout_width="300dp"
|
216 |
| - android:layout_height="36dp" |
| 217 | + android:layout_height="48dp" |
217 | 218 | android:layout_marginTop="15dp"
|
218 | 219 | android:background="@drawable/test_sel1"
|
219 | 220 | android:clickable="true"
|
|
225 | 226 |
|
226 | 227 | <com.noober.background.view.BLButton
|
227 | 228 | android:layout_width="300dp"
|
228 |
| - android:layout_height="36dp" |
| 229 | + android:layout_height="48dp" |
229 | 230 | android:layout_marginTop="15dp"
|
230 | 231 | android:clickable="true"
|
231 | 232 | android:enabled="true"
|
|
244 | 245 |
|
245 | 246 | <com.noober.background.view.BLButton
|
246 | 247 | android:layout_width="300dp"
|
247 |
| - android:layout_height="36dp" |
| 248 | + android:layout_height="48dp" |
248 | 249 | android:layout_marginTop="15dp"
|
249 | 250 | android:enabled="true"
|
250 | 251 | android:gravity="center"
|
|
262 | 263 |
|
263 | 264 | <com.noober.background.view.BLButton
|
264 | 265 | android:layout_width="300dp"
|
265 |
| - android:layout_height="36dp" |
| 266 | + android:layout_height="48dp" |
266 | 267 | android:layout_marginTop="15dp"
|
267 | 268 | android:background="@drawable/downbtn_blue"
|
268 | 269 | android:clickable="true"
|
|
275 | 276 |
|
276 | 277 | <TextView
|
277 | 278 | android:layout_width="180dp"
|
278 |
| - android:layout_height="36dp" |
| 279 | + android:layout_height="48dp" |
279 | 280 | android:layout_marginTop="15dp"
|
280 | 281 | android:clickable="true"
|
281 | 282 | android:gravity="center"
|
|
298 | 299 | <TextView
|
299 | 300 | style="@style/test"
|
300 | 301 | android:layout_width="130dp"
|
301 |
| - android:layout_height="36dp" |
| 302 | + android:layout_height="48dp" |
302 | 303 | android:clickable="true"
|
303 | 304 | android:elevation="12dp"
|
304 | 305 | android:gravity="center"
|
|
309 | 310 | <Button
|
310 | 311 | android:id="@+id/btn"
|
311 | 312 | android:layout_width="320dp"
|
312 |
| - android:layout_height="36dp" |
| 313 | + android:layout_height="48dp" |
313 | 314 | android:layout_marginTop="5dp"
|
314 | 315 | android:background="@null"
|
315 | 316 | android:clickable="true"
|
|
343 | 344 |
|
344 | 345 | <TextView
|
345 | 346 | android:layout_width="130dp"
|
346 |
| - android:layout_height="36dp" |
| 347 | + android:layout_height="48dp" |
347 | 348 | android:layout_marginTop="5dp"
|
348 | 349 | android:gravity="center"
|
349 | 350 | android:text="TextView"
|
|
462 | 463 | app:bl_unChecked_drawable="@drawable/shape_gender_red" />
|
463 | 464 | </RadioGroup>
|
464 | 465 |
|
| 466 | + |
| 467 | + <CheckBox |
| 468 | + android:id="@+id/cb_like_test" |
| 469 | + android:layout_width="wrap_content" |
| 470 | + android:layout_height="wrap_content" |
| 471 | + android:text="dasdas" |
| 472 | + app:bl_checked_button_drawable="@mipmap/rg_select" |
| 473 | + app:bl_unChecked_button_drawable="@mipmap/rg_unselect" /> |
| 474 | + |
| 475 | + |
465 | 476 | <Button
|
466 | 477 | android:id="@+id/btn1"
|
467 | 478 | android:layout_width="300dp"
|
|
561 | 572 | <com.noober.background.view.BLTextView
|
562 | 573 | android:id="@+id/tv_multi"
|
563 | 574 | android:layout_width="wrap_content"
|
564 |
| - android:layout_height="36dp" |
| 575 | + android:layout_height="48dp" |
565 | 576 | android:layout_marginTop="15dp"
|
566 | 577 | android:clickable="true"
|
567 | 578 | android:focusable="true"
|
|
582 | 593 | <TextView
|
583 | 594 | android:id="@+id/tvTest1"
|
584 | 595 | android:layout_width="130dp"
|
585 |
| - android:layout_height="36dp" |
| 596 | + android:layout_height="48dp" |
586 | 597 | android:gravity="center"
|
587 | 598 | android:text="点击文字变色"
|
588 | 599 | android:textSize="20sp" />
|
589 | 600 |
|
590 | 601 | <TextView
|
591 | 602 | android:id="@+id/btnTest2"
|
592 | 603 | android:layout_width="130dp"
|
593 |
| - android:layout_height="36dp" |
| 604 | + android:layout_height="48dp" |
594 | 605 | android:layout_marginTop="5dp"
|
595 | 606 | android:clickable="true"
|
596 | 607 | android:focusable="true"
|
|
0 commit comments