react-native-persona 1.2.5 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,10 +11,22 @@ const EMPTY_THEME = {
11
11
  accentColor: null,
12
12
  titleTextColor: null,
13
13
  titleTextFont: null,
14
+ titleTextSize: null,
14
15
  bodyTextColor: null,
15
16
  bodyTextFont: null,
17
+ bodyTextSize: null,
16
18
  footnoteTextColor: null,
17
19
  footnoteTextFont: null,
20
+ footnoteTextSize: null,
21
+ cameraInstructionsTextColor: null,
22
+ cameraInstructionsTextFont: null,
23
+ cameraInstructionsTextSize: null,
24
+ cameraHintTextColor: null,
25
+ cameraHintTextFont: null,
26
+ cameraHintTextSize: null,
27
+ cameraGuideHintTextColor: null,
28
+ cameraGuideHintTextFont: null,
29
+ cameraGuideHintTextSize: null,
18
30
  // formLabelTextColor: null,
19
31
  // formLabelTextFont: null,
20
32
  textFieldTextColor: null,
@@ -29,6 +41,7 @@ const EMPTY_THEME = {
29
41
  // buttonTextAlignment: null,
30
42
  buttonCornerRadius: null,
31
43
  buttonFont: null,
44
+ buttonTextSize: null,
32
45
  progressColor: null,
33
46
  successAsset: null,
34
47
  failAsset: null,
@@ -38,7 +51,7 @@ const EMPTY_THEME = {
38
51
  selfieAnimationWidthPercent: null,
39
52
  };
40
53
  function printTheme(theme) {
41
- const { style, buttonDrawable, buttonColor } = new AndroidResourcePrinter_1.default(theme).process();
54
+ const { style, buttonDrawable, buttonSecondaryDrawable, buttonColor } = new AndroidResourcePrinter_1.default(theme).process();
42
55
  return [
43
56
  "res/values/styles_persona.xml",
44
57
  "-----------------------------",
@@ -50,6 +63,12 @@ function printTheme(theme) {
50
63
  prettyPrint: true,
51
64
  }),
52
65
  "\n",
66
+ "res/drawable/rn_persona_button_secondary.xml",
67
+ "----------------------------------",
68
+ buttonSecondaryDrawable.end({
69
+ prettyPrint: true,
70
+ }),
71
+ "\n",
53
72
  "res/color/rn_persona_button.xml",
54
73
  "-------------------------------",
55
74
  buttonColor.end({ prettyPrint: true }),
@@ -69,6 +88,12 @@ it("works when empty", () => {
69
88
  <?xml version=\\"1.0\\"?>
70
89
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
71
90
 
91
+
92
+ res/drawable/rn_persona_button_secondary.xml
93
+ ----------------------------------
94
+ <?xml version=\\"1.0\\"?>
95
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
96
+
72
97
 
73
98
  res/color/rn_persona_button.xml
74
99
  -------------------------------
@@ -100,6 +125,12 @@ it("primaryColor", () => {
100
125
  <?xml version=\\"1.0\\"?>
101
126
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
102
127
 
128
+
129
+ res/drawable/rn_persona_button_secondary.xml
130
+ ----------------------------------
131
+ <?xml version=\\"1.0\\"?>
132
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
133
+
103
134
 
104
135
  res/color/rn_persona_button.xml
105
136
  -------------------------------
@@ -131,6 +162,12 @@ it("accentColor", () => {
131
162
  <?xml version=\\"1.0\\"?>
132
163
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
133
164
 
165
+
166
+ res/drawable/rn_persona_button_secondary.xml
167
+ ----------------------------------
168
+ <?xml version=\\"1.0\\"?>
169
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
170
+
134
171
 
135
172
  res/color/rn_persona_button.xml
136
173
  -------------------------------
@@ -162,6 +199,12 @@ it("darkPrimaryColor", () => {
162
199
  <?xml version=\\"1.0\\"?>
163
200
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
164
201
 
202
+
203
+ res/drawable/rn_persona_button_secondary.xml
204
+ ----------------------------------
205
+ <?xml version=\\"1.0\\"?>
206
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
207
+
165
208
 
166
209
  res/color/rn_persona_button.xml
167
210
  -------------------------------
@@ -195,6 +238,12 @@ it("backgroundColor", () => {
195
238
  <?xml version=\\"1.0\\"?>
196
239
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
197
240
 
241
+
242
+ res/drawable/rn_persona_button_secondary.xml
243
+ ----------------------------------
244
+ <?xml version=\\"1.0\\"?>
245
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
246
+
198
247
 
199
248
  res/color/rn_persona_button.xml
200
249
  -------------------------------
@@ -229,6 +278,12 @@ it("titleTextColor", () => {
229
278
  <?xml version=\\"1.0\\"?>
230
279
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
231
280
 
281
+
282
+ res/drawable/rn_persona_button_secondary.xml
283
+ ----------------------------------
284
+ <?xml version=\\"1.0\\"?>
285
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
286
+
232
287
 
233
288
  res/color/rn_persona_button.xml
234
289
  -------------------------------
@@ -263,6 +318,12 @@ it("titleTextFont", () => {
263
318
  <?xml version=\\"1.0\\"?>
264
319
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
265
320
 
321
+
322
+ res/drawable/rn_persona_button_secondary.xml
323
+ ----------------------------------
324
+ <?xml version=\\"1.0\\"?>
325
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
326
+
266
327
 
267
328
  res/color/rn_persona_button.xml
268
329
  -------------------------------
@@ -302,6 +363,12 @@ it("titleTextFont and titleTextColor", () => {
302
363
  <?xml version=\\"1.0\\"?>
303
364
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
304
365
 
366
+
367
+ res/drawable/rn_persona_button_secondary.xml
368
+ ----------------------------------
369
+ <?xml version=\\"1.0\\"?>
370
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
371
+
305
372
 
306
373
  res/color/rn_persona_button.xml
307
374
  -------------------------------
@@ -335,6 +402,12 @@ it("bodyTextColor", () => {
335
402
  <?xml version=\\"1.0\\"?>
336
403
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
337
404
 
405
+
406
+ res/drawable/rn_persona_button_secondary.xml
407
+ ----------------------------------
408
+ <?xml version=\\"1.0\\"?>
409
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
410
+
338
411
 
339
412
  res/color/rn_persona_button.xml
340
413
  -------------------------------
@@ -368,6 +441,12 @@ it("bodyTextFont", () => {
368
441
  <?xml version=\\"1.0\\"?>
369
442
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
370
443
 
444
+
445
+ res/drawable/rn_persona_button_secondary.xml
446
+ ----------------------------------
447
+ <?xml version=\\"1.0\\"?>
448
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
449
+
371
450
 
372
451
  res/color/rn_persona_button.xml
373
452
  -------------------------------
@@ -406,6 +485,12 @@ it("bodyTextFont and bodyTextColor", () => {
406
485
  <?xml version=\\"1.0\\"?>
407
486
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
408
487
 
488
+
489
+ res/drawable/rn_persona_button_secondary.xml
490
+ ----------------------------------
491
+ <?xml version=\\"1.0\\"?>
492
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
493
+
409
494
 
410
495
  res/color/rn_persona_button.xml
411
496
  -------------------------------
@@ -428,8 +513,8 @@ it("footnoteTextColor", () => {
428
513
  <item name=\\"personaBodyTextAppearance\\">@style/Persona.Text.Body</item>
429
514
  </style>
430
515
  <style name=\\"TextAppearance.AppCompat.Small\\">
431
- <item name=\\"android:textSize\\">@dimen/abc_text_size_small_material</item>
432
516
  <item name=\\"android:textColor\\">#FFFFFF</item>
517
+ <item name=\\"android:textSize\\">@dimen/abc_text_size_small_material</item>
433
518
  </style>
434
519
  </resources>
435
520
 
@@ -439,6 +524,12 @@ it("footnoteTextColor", () => {
439
524
  <?xml version=\\"1.0\\"?>
440
525
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
441
526
 
527
+
528
+ res/drawable/rn_persona_button_secondary.xml
529
+ ----------------------------------
530
+ <?xml version=\\"1.0\\"?>
531
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
532
+
442
533
 
443
534
  res/color/rn_persona_button.xml
444
535
  -------------------------------
@@ -461,9 +552,9 @@ it("footnoteTextFont", () => {
461
552
  <item name=\\"personaBodyTextAppearance\\">@style/Persona.Text.Body</item>
462
553
  </style>
463
554
  <style name=\\"TextAppearance.AppCompat.Small\\">
464
- <item name=\\"android:textSize\\">@dimen/abc_text_size_small_material</item>
465
555
  <item name=\\"android:textColor\\">?android:attr/textColorTertiary</item>
466
556
  <item name=\\"android:fontFamily\\">Arial</item>
557
+ <item name=\\"android:textSize\\">@dimen/abc_text_size_small_material</item>
467
558
  </style>
468
559
  </resources>
469
560
 
@@ -473,6 +564,12 @@ it("footnoteTextFont", () => {
473
564
  <?xml version=\\"1.0\\"?>
474
565
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
475
566
 
567
+
568
+ res/drawable/rn_persona_button_secondary.xml
569
+ ----------------------------------
570
+ <?xml version=\\"1.0\\"?>
571
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
572
+
476
573
 
477
574
  res/color/rn_persona_button.xml
478
575
  -------------------------------
@@ -499,9 +596,9 @@ it("footnoteTextFont and footnoteTextColor", () => {
499
596
  <item name=\\"personaBodyTextAppearance\\">@style/Persona.Text.Body</item>
500
597
  </style>
501
598
  <style name=\\"TextAppearance.AppCompat.Small\\">
502
- <item name=\\"android:textSize\\">@dimen/abc_text_size_small_material</item>
503
599
  <item name=\\"android:textColor\\">#000000</item>
504
600
  <item name=\\"android:fontFamily\\">Arial</item>
601
+ <item name=\\"android:textSize\\">@dimen/abc_text_size_small_material</item>
505
602
  </style>
506
603
  </resources>
507
604
 
@@ -511,6 +608,12 @@ it("footnoteTextFont and footnoteTextColor", () => {
511
608
  <?xml version=\\"1.0\\"?>
512
609
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
513
610
 
611
+
612
+ res/drawable/rn_persona_button_secondary.xml
613
+ ----------------------------------
614
+ <?xml version=\\"1.0\\"?>
615
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
616
+
514
617
 
515
618
  res/color/rn_persona_button.xml
516
619
  -------------------------------
@@ -553,6 +656,12 @@ it("pickerTextColor", () => {
553
656
  <?xml version=\\"1.0\\"?>
554
657
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
555
658
 
659
+
660
+ res/drawable/rn_persona_button_secondary.xml
661
+ ----------------------------------
662
+ <?xml version=\\"1.0\\"?>
663
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
664
+
556
665
 
557
666
  res/color/rn_persona_button.xml
558
667
  -------------------------------
@@ -595,6 +704,12 @@ it("pickerTextFont", () => {
595
704
  <?xml version=\\"1.0\\"?>
596
705
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
597
706
 
707
+
708
+ res/drawable/rn_persona_button_secondary.xml
709
+ ----------------------------------
710
+ <?xml version=\\"1.0\\"?>
711
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
712
+
598
713
 
599
714
  res/color/rn_persona_button.xml
600
715
  -------------------------------
@@ -642,6 +757,12 @@ it("pickerTextFont and pickerTextColor", () => {
642
757
  <?xml version=\\"1.0\\"?>
643
758
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
644
759
 
760
+
761
+ res/drawable/rn_persona_button_secondary.xml
762
+ ----------------------------------
763
+ <?xml version=\\"1.0\\"?>
764
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
765
+
645
766
 
646
767
  res/color/rn_persona_button.xml
647
768
  -------------------------------
@@ -660,6 +781,7 @@ it("button", () => {
660
781
  buttonTextAlignment: null,
661
782
  buttonCornerRadius: null,
662
783
  buttonFont: null,
784
+ buttonTextSize: null,
663
785
  };
664
786
  expect(printTheme(theme)).toMatchInlineSnapshot(`
665
787
  "res/values/styles_persona.xml
@@ -673,6 +795,7 @@ it("button", () => {
673
795
  <item name=\\"personaTitleTextAppearance\\">@style/Persona.Text.Title</item>
674
796
  <item name=\\"personaBodyTextAppearance\\">@style/Persona.Text.Body</item>
675
797
  <item name=\\"buttonStyle\\">@style/RN.Persona.Button</item>
798
+ <item name=\\"buttonStyleSecondary\\">@style/RN.Persona.Button.Secondary</item>
676
799
  </style>
677
800
  <style name=\\"RN.Persona.Button\\" parent=\\"android:style/Widget.Button\\">
678
801
  <item name=\\"android:minHeight\\">48dip</item>
@@ -681,6 +804,9 @@ it("button", () => {
681
804
  <item name=\\"android:background\\">@drawable/rn_persona_button</item>
682
805
  <item name=\\"android:textColor\\">@color/rn_persona_button</item>
683
806
  </style>
807
+ <style name=\\"RN.Persona.Button.Secondary\\" parent=\\"RN.Persona.Button\\">
808
+ <item name=\\"android:background\\">@drawable/rn_persona_button_secondary</item>
809
+ </style>
684
810
  </resources>
685
811
 
686
812
 
@@ -712,6 +838,34 @@ it("button", () => {
712
838
  </selector>
713
839
 
714
840
 
841
+ res/drawable/rn_persona_button_secondary.xml
842
+ ----------------------------------
843
+ <?xml version=\\"1.0\\"?>
844
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\">
845
+ <item android:state_enabled=\\"false\\">
846
+ <shape android:shape=\\"rectangle\\">
847
+ <corners android:radius=\\"@dimen/abc_control_corner_material\\"/>
848
+ <padding android:left=\\"@dimen/abc_button_padding_horizontal_material\\" android:top=\\"@dimen/abc_button_padding_vertical_material\\" android:right=\\"@dimen/abc_button_padding_horizontal_material\\" android:bottom=\\"@dimen/abc_button_padding_vertical_material\\"/>
849
+ <solid android:color=\\"@android:color/darker_gray\\"/>
850
+ </shape>
851
+ </item>
852
+ <item android:state_pressed=\\"true\\">
853
+ <shape android:shape=\\"rectangle\\">
854
+ <corners android:radius=\\"@dimen/abc_control_corner_material\\"/>
855
+ <solid android:color=\\"@color/grayButtonDark\\"/>
856
+ <padding android:left=\\"@dimen/abc_button_padding_horizontal_material\\" android:top=\\"@dimen/abc_button_padding_vertical_material\\" android:right=\\"@dimen/abc_button_padding_horizontal_material\\" android:bottom=\\"@dimen/abc_button_padding_vertical_material\\"/>
857
+ </shape>
858
+ </item>
859
+ <item>
860
+ <shape android:shape=\\"rectangle\\">
861
+ <corners android:radius=\\"@dimen/abc_control_corner_material\\"/>
862
+ <solid android:color=\\"@color/grayButton\\"/>
863
+ <padding android:left=\\"@dimen/abc_button_padding_horizontal_material\\" android:top=\\"@dimen/abc_button_padding_vertical_material\\" android:right=\\"@dimen/abc_button_padding_horizontal_material\\" android:bottom=\\"@dimen/abc_button_padding_vertical_material\\"/>
864
+ </shape>
865
+ </item>
866
+ </selector>
867
+
868
+
715
869
  res/color/rn_persona_button.xml
716
870
  -------------------------------
717
871
  <?xml version=\\"1.0\\"?>
@@ -748,6 +902,12 @@ it("progressColor", () => {
748
902
  <?xml version=\\"1.0\\"?>
749
903
  <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
750
904
 
905
+
906
+ res/drawable/rn_persona_button_secondary.xml
907
+ ----------------------------------
908
+ <?xml version=\\"1.0\\"?>
909
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\"/>
910
+
751
911
 
752
912
  res/color/rn_persona_button.xml
753
913
  -------------------------------
@@ -767,6 +927,16 @@ it("fullTheme", () => {
767
927
  bodyTextFont: "Arial",
768
928
  footnoteTextColor: "#FF0000",
769
929
  footnoteTextFont: "Arial",
930
+ footnoteTextSize: "2",
931
+ cameraInstructionsTextColor: "#FF0000",
932
+ cameraInstructionsTextFont: "Arial",
933
+ cameraInstructionsTextSize: "30",
934
+ cameraHintTextColor: "#FF0000",
935
+ cameraHintTextFont: "Arial",
936
+ cameraHintTextSize: "16",
937
+ cameraGuideHintTextColor: "#FF0000",
938
+ cameraGuideHintTextFont: "Arial",
939
+ cameraGuideHintTextSize: "28",
770
940
  // formLabelTextColor: "#FF0000",
771
941
  // formLabelTextFont: "Arial",
772
942
  textFieldTextColor: "#FF0000",
@@ -781,6 +951,7 @@ it("fullTheme", () => {
781
951
  buttonTextAlignment: "left",
782
952
  buttonCornerRadius: "4",
783
953
  buttonFont: "Arial",
954
+ buttonTextSize: "14",
784
955
  progressColor: "#FF0000",
785
956
  successAsset: "@drawable/success",
786
957
  failAsset: "@drawable/fail",
@@ -810,10 +981,14 @@ it("fullTheme", () => {
810
981
 
811
982
  <item name=\\"personaTitleTextAppearance\\">@style/RN.Persona.Text.Title</item>
812
983
  <item name=\\"personaBodyTextAppearance\\">@style/RN.Persona.Text.Body</item>
984
+ <item name=\\"personaCameraTitleTextAppearance\\">@style/RN.Persona.Text.CameraTitle</item>
985
+ <item name=\\"personaCameraBodyTextAppearance\\">@style/RN.Persona.Text.CameraBody</item>
986
+ <item name=\\"personaCameraHintTextAppearance\\">@style/RN.Persona.Text.CameraHint</item>
813
987
  <item name=\\"editTextStyle\\">@style/RN.Persona.EditText</item>
814
988
  <item name=\\"spinnerStyle\\">@style/RN.Persona.Spinner</item>
815
989
  <item name=\\"spinnerDropDownItemStyle\\">@style/RN.Persona.DropDownItem.Spinner</item>
816
990
  <item name=\\"buttonStyle\\">@style/RN.Persona.Button</item>
991
+ <item name=\\"buttonStyleSecondary\\">@style/RN.Persona.Button.Secondary</item>
817
992
  <item name=\\"colorControlActivated\\">#FF0000</item>
818
993
  <item name=\\"personaInquiryCompleteImage\\">@drawable/success</item>
819
994
 
@@ -840,9 +1015,24 @@ it("fullTheme", () => {
840
1015
  <item name=\\"android:textSize\\">18sp</item>
841
1016
  </style>
842
1017
  <style name=\\"TextAppearance.AppCompat.Small\\">
843
- <item name=\\"android:textSize\\">@dimen/abc_text_size_small_material</item>
844
1018
  <item name=\\"android:textColor\\">#FF0000</item>
845
1019
  <item name=\\"android:fontFamily\\">Arial</item>
1020
+ <item name=\\"android:textSize\\">2sp</item>
1021
+ </style>
1022
+ <style name=\\"RN.Persona.Text.CameraTitle\\" parent=\\"Persona.Text.CameraTitle\\">
1023
+ <item name=\\"android:textColor\\">#FF0000</item>
1024
+ <item name=\\"android:fontFamily\\">Arial</item>
1025
+ <item name=\\"android:textSize\\">30sp</item>
1026
+ </style>
1027
+ <style name=\\"RN.Persona.Text.CameraBody\\" parent=\\"Persona.Text.CameraBody\\">
1028
+ <item name=\\"android:textColor\\">#FF0000</item>
1029
+ <item name=\\"android:fontFamily\\">Arial</item>
1030
+ <item name=\\"android:textSize\\">16sp</item>
1031
+ </style>
1032
+ <style name=\\"RN.Persona.Text.CameraHint\\" parent=\\"Persona.Text.CameraHint\\">
1033
+ <item name=\\"android:textColor\\">#FF0000</item>
1034
+ <item name=\\"android:fontFamily\\">Arial</item>
1035
+ <item name=\\"android:textSize\\">28sp</item>
846
1036
  </style>
847
1037
  <style name=\\"RN.Persona.EditText\\" parent=\\"Widget.AppCompat.EditText\\">
848
1038
  <item name=\\"android:textAppearance\\">@style/RN.Persona.EditText.TextAppearance</item>
@@ -867,10 +1057,13 @@ it("fullTheme", () => {
867
1057
  <style name=\\"RN.Persona.Button\\" parent=\\"android:style/Widget.Button\\">
868
1058
  <item name=\\"android:minHeight\\">48dip</item>
869
1059
  <item name=\\"android:minWidth\\">88dip</item>
870
- <item name=\\"android:textSize\\">18sp</item>
1060
+ <item name=\\"android:textSize\\">14sp</item>
871
1061
  <item name=\\"android:background\\">@drawable/rn_persona_button</item>
872
1062
  <item name=\\"android:textColor\\">@color/rn_persona_button</item>
873
1063
  </style>
1064
+ <style name=\\"RN.Persona.Button.Secondary\\" parent=\\"RN.Persona.Button\\">
1065
+ <item name=\\"android:background\\">@drawable/rn_persona_button_secondary</item>
1066
+ </style>
874
1067
  </resources>
875
1068
 
876
1069
 
@@ -902,6 +1095,34 @@ it("fullTheme", () => {
902
1095
  </selector>
903
1096
 
904
1097
 
1098
+ res/drawable/rn_persona_button_secondary.xml
1099
+ ----------------------------------
1100
+ <?xml version=\\"1.0\\"?>
1101
+ <selector xmlns:android=\\"http://schemas.android.com/apk/res/android\\">
1102
+ <item android:state_enabled=\\"false\\">
1103
+ <shape android:shape=\\"rectangle\\">
1104
+ <corners android:radius=\\"4dp\\"/>
1105
+ <padding android:left=\\"@dimen/abc_button_padding_horizontal_material\\" android:top=\\"@dimen/abc_button_padding_vertical_material\\" android:right=\\"@dimen/abc_button_padding_horizontal_material\\" android:bottom=\\"@dimen/abc_button_padding_vertical_material\\"/>
1106
+ <solid android:color=\\"@android:color/darker_gray\\"/>
1107
+ </shape>
1108
+ </item>
1109
+ <item android:state_pressed=\\"true\\">
1110
+ <shape android:shape=\\"rectangle\\">
1111
+ <corners android:radius=\\"4dp\\"/>
1112
+ <solid android:color=\\"@color/grayButtonDark\\"/>
1113
+ <padding android:left=\\"@dimen/abc_button_padding_horizontal_material\\" android:top=\\"@dimen/abc_button_padding_vertical_material\\" android:right=\\"@dimen/abc_button_padding_horizontal_material\\" android:bottom=\\"@dimen/abc_button_padding_vertical_material\\"/>
1114
+ </shape>
1115
+ </item>
1116
+ <item>
1117
+ <shape android:shape=\\"rectangle\\">
1118
+ <corners android:radius=\\"4dp\\"/>
1119
+ <solid android:color=\\"@color/grayButton\\"/>
1120
+ <padding android:left=\\"@dimen/abc_button_padding_horizontal_material\\" android:top=\\"@dimen/abc_button_padding_vertical_material\\" android:right=\\"@dimen/abc_button_padding_horizontal_material\\" android:bottom=\\"@dimen/abc_button_padding_vertical_material\\"/>
1121
+ </shape>
1122
+ </item>
1123
+ </selector>
1124
+
1125
+
905
1126
  res/color/rn_persona_button.xml
906
1127
  -------------------------------
907
1128
  <?xml version=\\"1.0\\"?>