Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
21a34e7e
Commit
21a34e7e
authored
Jun 14, 2016
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #714
parent
3f201eb2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
project/plugins.sbt
project/plugins.sbt
+1
-1
src/main/res/drawable/ic_arrow_drop_down.xml
src/main/res/drawable/ic_arrow_drop_down.xml
+9
-0
src/main/res/values/strings.xml
src/main/res/values/strings.xml
+1
-1
src/main/scala/com/github/shadowsocks/Shadowsocks.scala
src/main/scala/com/github/shadowsocks/Shadowsocks.scala
+1
-0
No files found.
project/plugins.sbt
View file @
21a34e7e
addSbtPlugin
(
"org.scala-android"
%
"sbt-android"
%
"1.6.
3
"
)
addSbtPlugin
(
"org.scala-android"
%
"sbt-android"
%
"1.6.
4
"
)
addSbtPlugin
(
"com.timushev.sbt"
%
"sbt-updates"
%
"0.1.10"
)
addSbtPlugin
(
"com.timushev.sbt"
%
"sbt-updates"
%
"0.1.10"
)
src/main/res/drawable/ic_arrow_drop_down.xml
0 → 100644
View file @
21a34e7e
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24.0"
android:viewportHeight=
"24.0"
>
<path
android:fillColor=
"#FFFFFFFF"
android:pathData=
"M7,10l5,5 5,-5z"
/>
</vector>
src/main/res/values/strings.xml
View file @
21a34e7e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<resources>
<resources>
<string
name=
"app_name"
>
Shadowsocks
</string>
<string
name=
"app_name"
>
Shadowsocks
</string>
<string
name=
"screen_name"
translatable=
"false"
>
shadowsocks
▾
</string>
<string
name=
"screen_name"
translatable=
"false"
>
shadowsocks
</string>
<!-- global/misc category -->
<!-- global/misc category -->
<string
name=
"misc_cat"
>
Misc
</string>
<string
name=
"misc_cat"
>
Misc
</string>
...
...
src/main/scala/com/github/shadowsocks/Shadowsocks.scala
View file @
21a34e7e
...
@@ -369,6 +369,7 @@ class Shadowsocks extends AppCompatActivity with ServiceBoundContext {
...
@@ -369,6 +369,7 @@ class Shadowsocks extends AppCompatActivity with ServiceBoundContext {
typedArray
.
recycle
typedArray
.
recycle
val
tf
=
Typefaces
.
get
(
this
,
"fonts/Iceland.ttf"
)
val
tf
=
Typefaces
.
get
(
this
,
"fonts/Iceland.ttf"
)
if
(
tf
!=
null
)
title
.
setTypeface
(
tf
)
if
(
tf
!=
null
)
title
.
setTypeface
(
tf
)
title
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
R
.
drawable
.
ic_arrow_drop_down
,
0
)
stat
=
findViewById
(
R
.
id
.
stat
)
stat
=
findViewById
(
R
.
id
.
stat
)
connectionTestText
=
findViewById
(
R
.
id
.
connection_test
).
asInstanceOf
[
TextView
]
connectionTestText
=
findViewById
(
R
.
id
.
connection_test
).
asInstanceOf
[
TextView
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment