File tree Expand file tree Collapse file tree 6 files changed +22
-126
lines changed
java/com/stringcare/sample Expand file tree Collapse file tree 6 files changed +22
-126
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ android {
24
24
sourceSets {
25
25
main. res. srcDirs = [' src/main/res' , ' src/other_source/res' ]
26
26
}
27
+
28
+ compileOptions {
29
+ sourceCompatibility 1.8
30
+ targetCompatibility 1.8
31
+ }
27
32
}
28
33
29
34
dependencies {
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ class MainActivity : AppCompatActivity() {
10
10
override fun onCreate (savedInstanceState : Bundle ? ) {
11
11
super .onCreate(savedInstanceState)
12
12
setContentView(R .layout.activity_main)
13
- SC .init ( applicationContext)
13
+ SC .init { applicationContext }
14
14
15
15
kenobi.text = SC .reveal(R .string.kenobi)
16
16
r2d2.text = SC .reveal(R .string.r2d2)
17
- c3po.text = SC .reveal(R .string.c3po)
17
+ c3po.text = SC .reveal(R .string.c3po, false )
18
18
}
19
19
}
Original file line number Diff line number Diff line change 65
65
android : layout_width =" wrap_content"
66
66
android : layout_height =" wrap_content"
67
67
android : layout_marginTop =" 15dp"
68
- tools : text =" @string/kenobi" />
68
+ android : text =" @string/r2d2" />
69
+
69
70
<TextView
70
71
style =" @style/TextAppearance.AppCompat.Body1"
71
72
android : textSize =" 11sp"
Original file line number Diff line number Diff line change 3
3
<i >Hello there</i ><br ></br >
4
4
General <strong >Kenobi</strong >.
5
5
</string >
6
- <string name =" r2d2" hidden =" true" >🤖</string >
7
- <string name =" c3po" androidTreatment =" true" hidden =" true" >
8
- +---[RSA 2048]----+
9
- |.*++ o.o. |
10
- |.+B + oo. |
11
- | +++ *+. |
12
- | .o.Oo.+E |
13
- | ++B.S. |
14
- | o * =. |
15
- | + = o |
16
- | + = = . |
17
- | + o o |
18
- +----[SHA256]-----+
19
- +---[RSA 2048]----+
20
- |.*++ o.o. |
21
- |.+B + oo. |
22
- | +++ *+. |
23
- | .o.Oo.+E |
24
- | ++B.S. |
25
- | o * =. |
26
- | + = o |
27
- | + = = . |
28
- | + o o |
29
- +----[SHA256]-----+
30
- +---[RSA 2048]----+
31
- |.*++ o.o. |
32
- |.+B + oo. |
33
- | +++ *+. |
34
- | .o.Oo.+E |
35
- | ++B.S. |
36
- | o * =. |
37
- | + = o |
38
- | + = = . |
39
- | + o o |
40
- +----[SHA256]-----+
41
- +---[RSA 2048]----+
42
- |.*++ o.o. |
43
- |.+B + oo. |
44
- | +++ *+. |
45
- | .o.Oo.+E |
46
- | ++B.S. |
47
- | o * =. |
48
- | + = o |
49
- | + = = . |
50
- | + o o |
51
- +----[SHA256]-----+
52
- +---[RSA 2048]----+
53
- |.*++ o.o. |
54
- |.+B + oo. |
55
- | +++ *+. |
56
- | .o.Oo.+E |
57
- | ++B.S. |
58
- | o * =. |
59
- | + = o |
60
- | + = = . |
61
- | + o o |
62
- +----[SHA256]-----+
63
- +---[RSA 2048]----+
64
- |.*++ o.o. |
65
- |.+B + oo. |
66
- | +++ *+. |
67
- | .o.Oo.+E |
68
- | ++B.S. |
69
- | o * =. |
70
- | + = o |
71
- | + = = . |
72
- | + o o |
73
- +----[SHA256]-----+
74
- +---[RSA 2048]----+
75
- |.*++ o.o. |
76
- |.+B + oo. |
77
- | +++ *+. |
78
- | .o.Oo.+E |
79
- | ++B.S. |
80
- | o * =. |
81
- | + = o |
82
- | + = = . |
83
- | + o o |
84
- +----[SHA256]-----+
85
- +---[RSA 2048]----+
86
- |.*++ o.o. |
87
- |.+B + oo. |
88
- | +++ *+. |
89
- | .o.Oo.+E |
90
- | ++B.S. |
91
- | o * =. |
92
- | + = o |
93
- | + = = . |
94
- | + o o |
95
- +----[SHA256]-----+
96
- +---[RSA 2048]----+
97
- |.*++ o.o. |
98
- |.+B + oo. |
99
- | +++ *+. |
100
- | .o.Oo.+E |
101
- | ++B.S. |
102
- | o * =. |
103
- | + = o |
104
- | + = = . |
105
- | + o o |
106
- +----[SHA256]-----+
107
- +---[RSA 2048]----+
108
- |.*++ o.o. |
109
- |.+B + oo. |
110
- | +++ *+. |
111
- | .o.Oo.+E |
112
- | ++B.S. |
113
- | o * =. |
114
- | + = o |
115
- | + = = . |
116
- | + o o |
117
- +----[SHA256]-----+
118
- +---[RSA 2048]----+
119
- |.*++ o.o. |
120
- |.+B + oo. |
121
- | +++ *+. |
122
- | .o.Oo.+E |
123
- | ++B.S. |
124
- | o * =. |
125
- | + = o |
126
- | + = = . |
127
- | + o o |
6
+ <string name =" r2d2" hidden =" true" >🐍😄🍉</string >
7
+ <string name =" c3po" androidTreatment =" false" hidden =" true" >
8
+ +---[RSA 2048]----+
9
+ |.*++ o.o. |
10
+ |.+B + oo. |
11
+ | +++ *+. |
12
+ | .o.Oo.+E |
13
+ | ++B.S. |
14
+ | o * =. |
15
+ | + = o |
16
+ | + = = . |
17
+ | + o o |
128
18
+----[SHA256]-----+
129
19
</string >
130
20
</resources >
Original file line number Diff line number Diff line change 2
2
3
3
buildscript {
4
4
ext. kotlin_version = ' 1.3.31'
5
- ext. stringcare_version = ' 2.2 '
5
+ ext. stringcare_version = ' 3.0 '
6
6
7
7
repositories {
8
8
google()
You can’t perform that action at this time.
0 commit comments