Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Native Mobile Apps 2020 Fall
Course Materials
Commits
cc76a112
Commit
cc76a112
authored
Oct 09, 2020
by
Andres Käver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
json
parent
a163d711
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
1014 additions
and
0 deletions
+1014
-0
android/RestDemo/.gitignore
android/RestDemo/.gitignore
+14
-0
android/RestDemo/.idea/codeStyles/Project.xml
android/RestDemo/.idea/codeStyles/Project.xml
+138
-0
android/RestDemo/.idea/codeStyles/codeStyleConfig.xml
android/RestDemo/.idea/codeStyles/codeStyleConfig.xml
+5
-0
android/RestDemo/.idea/gradle.xml
android/RestDemo/.idea/gradle.xml
+20
-0
android/RestDemo/.idea/jarRepositories.xml
android/RestDemo/.idea/jarRepositories.xml
+25
-0
android/RestDemo/.idea/misc.xml
android/RestDemo/.idea/misc.xml
+9
-0
android/RestDemo/.idea/runConfigurations.xml
android/RestDemo/.idea/runConfigurations.xml
+12
-0
android/RestDemo/.idea/vcs.xml
android/RestDemo/.idea/vcs.xml
+6
-0
android/RestDemo/app/.gitignore
android/RestDemo/app/.gitignore
+1
-0
android/RestDemo/app/build.gradle
android/RestDemo/app/build.gradle
+38
-0
android/RestDemo/app/proguard-rules.pro
android/RestDemo/app/proguard-rules.pro
+21
-0
android/RestDemo/app/src/androidTest/java/ee/taltech/mobile2020/restdemo/ExampleInstrumentedTest.kt
...ee/taltech/mobile2020/restdemo/ExampleInstrumentedTest.kt
+24
-0
android/RestDemo/app/src/main/AndroidManifest.xml
android/RestDemo/app/src/main/AndroidManifest.xml
+23
-0
android/RestDemo/app/src/main/java/ee/taltech/mobile2020/restdemo/HttpSingletonHandler.kt
...va/ee/taltech/mobile2020/restdemo/HttpSingletonHandler.kt
+57
-0
android/RestDemo/app/src/main/java/ee/taltech/mobile2020/restdemo/MainActivity.kt
.../main/java/ee/taltech/mobile2020/restdemo/MainActivity.kt
+46
-0
android/RestDemo/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
.../app/src/main/res/drawable-v24/ic_launcher_foreground.xml
+30
-0
android/RestDemo/app/src/main/res/drawable/ic_launcher_background.xml
...Demo/app/src/main/res/drawable/ic_launcher_background.xml
+170
-0
android/RestDemo/app/src/main/res/layout/activity_main.xml
android/RestDemo/app/src/main/res/layout/activity_main.xml
+18
-0
android/RestDemo/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
...stDemo/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
+5
-0
android/RestDemo/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
.../app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
+5
-0
android/RestDemo/app/src/main/res/mipmap-hdpi/ic_launcher.png
...oid/RestDemo/app/src/main/res/mipmap-hdpi/ic_launcher.png
+0
-0
android/RestDemo/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
...stDemo/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
+0
-0
android/RestDemo/app/src/main/res/mipmap-mdpi/ic_launcher.png
...oid/RestDemo/app/src/main/res/mipmap-mdpi/ic_launcher.png
+0
-0
android/RestDemo/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
...stDemo/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
+0
-0
android/RestDemo/app/src/main/res/mipmap-xhdpi/ic_launcher.png
...id/RestDemo/app/src/main/res/mipmap-xhdpi/ic_launcher.png
+0
-0
android/RestDemo/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
...tDemo/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
+0
-0
android/RestDemo/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
...d/RestDemo/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
+0
-0
android/RestDemo/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
...Demo/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
+0
-0
android/RestDemo/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
.../RestDemo/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
+0
-0
android/RestDemo/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
...emo/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
+0
-0
android/RestDemo/app/src/main/res/values/colors.xml
android/RestDemo/app/src/main/res/values/colors.xml
+6
-0
android/RestDemo/app/src/main/res/values/strings.xml
android/RestDemo/app/src/main/res/values/strings.xml
+3
-0
android/RestDemo/app/src/main/res/values/styles.xml
android/RestDemo/app/src/main/res/values/styles.xml
+10
-0
android/RestDemo/app/src/test/java/ee/taltech/mobile2020/restdemo/ExampleUnitTest.kt
...st/java/ee/taltech/mobile2020/restdemo/ExampleUnitTest.kt
+17
-0
android/RestDemo/build.gradle
android/RestDemo/build.gradle
+26
-0
android/RestDemo/gradle.properties
android/RestDemo/gradle.properties
+21
-0
android/RestDemo/gradle/wrapper/gradle-wrapper.jar
android/RestDemo/gradle/wrapper/gradle-wrapper.jar
+0
-0
android/RestDemo/gradle/wrapper/gradle-wrapper.properties
android/RestDemo/gradle/wrapper/gradle-wrapper.properties
+6
-0
android/RestDemo/gradlew
android/RestDemo/gradlew
+172
-0
android/RestDemo/gradlew.bat
android/RestDemo/gradlew.bat
+84
-0
android/RestDemo/settings.gradle
android/RestDemo/settings.gradle
+2
-0
No files found.
android/RestDemo/.gitignore
0 → 100644
View file @
cc76a112
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
android/RestDemo/.idea/codeStyles/Project.xml
0 → 100644
View file @
cc76a112
<component
name=
"ProjectCodeStyleConfiguration"
>
<code_scheme
name=
"Project"
version=
"173"
>
<JetCodeStyleSettings>
<option
name=
"PACKAGES_TO_USE_STAR_IMPORTS"
>
<value>
<package
name=
"java.util"
alias=
"false"
withSubpackages=
"false"
/>
<package
name=
"kotlinx.android.synthetic"
alias=
"false"
withSubpackages=
"true"
/>
<package
name=
"io.ktor"
alias=
"false"
withSubpackages=
"true"
/>
</value>
</option>
<option
name=
"PACKAGES_IMPORT_LAYOUT"
>
<value>
<package
name=
""
alias=
"false"
withSubpackages=
"true"
/>
<package
name=
"java"
alias=
"false"
withSubpackages=
"true"
/>
<package
name=
"javax"
alias=
"false"
withSubpackages=
"true"
/>
<package
name=
"kotlin"
alias=
"false"
withSubpackages=
"true"
/>
<package
name=
""
alias=
"true"
withSubpackages=
"true"
/>
</value>
</option>
<option
name=
"CODE_STYLE_DEFAULTS"
value=
"KOTLIN_OFFICIAL"
/>
</JetCodeStyleSettings>
<codeStyleSettings
language=
"XML"
>
<indentOptions>
<option
name=
"CONTINUATION_INDENT_SIZE"
value=
"4"
/>
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>
xmlns:android
</NAME>
<XML_ATTRIBUTE
/>
<XML_NAMESPACE>
^$
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
xmlns:.*
</NAME>
<XML_ATTRIBUTE
/>
<XML_NAMESPACE>
^$
</XML_NAMESPACE>
</AND>
</match>
<order>
BY_NAME
</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*:id
</NAME>
<XML_ATTRIBUTE
/>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*:name
</NAME>
<XML_ATTRIBUTE
/>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
name
</NAME>
<XML_ATTRIBUTE
/>
<XML_NAMESPACE>
^$
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
style
</NAME>
<XML_ATTRIBUTE
/>
<XML_NAMESPACE>
^$
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*
</NAME>
<XML_ATTRIBUTE
/>
<XML_NAMESPACE>
^$
</XML_NAMESPACE>
</AND>
</match>
<order>
BY_NAME
</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*
</NAME>
<XML_ATTRIBUTE
/>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
<order>
ANDROID_ATTRIBUTE_ORDER
</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*
</NAME>
<XML_ATTRIBUTE
/>
<XML_NAMESPACE>
.*
</XML_NAMESPACE>
</AND>
</match>
<order>
BY_NAME
</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
<codeStyleSettings
language=
"kotlin"
>
<option
name=
"CODE_STYLE_DEFAULTS"
value=
"KOTLIN_OFFICIAL"
/>
</codeStyleSettings>
</code_scheme>
</component>
\ No newline at end of file
android/RestDemo/.idea/codeStyles/codeStyleConfig.xml
0 → 100644
View file @
cc76a112
<component
name=
"ProjectCodeStyleConfiguration"
>
<state>
<option
name=
"USE_PER_PROJECT_SETTINGS"
value=
"true"
/>
</state>
</component>
\ No newline at end of file
android/RestDemo/.idea/gradle.xml
0 → 100644
View file @
cc76a112
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"GradleSettings"
>
<option
name=
"linkedExternalProjectsSettings"
>
<GradleProjectSettings>
<option
name=
"testRunner"
value=
"PLATFORM"
/>
<option
name=
"distributionType"
value=
"DEFAULT_WRAPPED"
/>
<option
name=
"externalProjectPath"
value=
"$PROJECT_DIR$"
/>
<option
name=
"gradleJvm"
value=
"1.8"
/>
<option
name=
"modules"
>
<set>
<option
value=
"$PROJECT_DIR$"
/>
<option
value=
"$PROJECT_DIR$/app"
/>
</set>
</option>
<option
name=
"resolveModulePerSourceSet"
value=
"false"
/>
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
android/RestDemo/.idea/jarRepositories.xml
0 → 100644
View file @
cc76a112
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"RemoteRepositoriesConfiguration"
>
<remote-repository>
<option
name=
"id"
value=
"central"
/>
<option
name=
"name"
value=
"Maven Central repository"
/>
<option
name=
"url"
value=
"https://repo1.maven.org/maven2"
/>
</remote-repository>
<remote-repository>
<option
name=
"id"
value=
"jboss.community"
/>
<option
name=
"name"
value=
"JBoss Community repository"
/>
<option
name=
"url"
value=
"https://repository.jboss.org/nexus/content/repositories/public/"
/>
</remote-repository>
<remote-repository>
<option
name=
"id"
value=
"BintrayJCenter"
/>
<option
name=
"name"
value=
"BintrayJCenter"
/>
<option
name=
"url"
value=
"https://jcenter.bintray.com/"
/>
</remote-repository>
<remote-repository>
<option
name=
"id"
value=
"Google"
/>
<option
name=
"name"
value=
"Google"
/>
<option
name=
"url"
value=
"https://dl.google.com/dl/android/maven2/"
/>
</remote-repository>
</component>
</project>
\ No newline at end of file
android/RestDemo/.idea/misc.xml
0 → 100644
View file @
cc76a112
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_7"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
<component
name=
"ProjectType"
>
<option
name=
"id"
value=
"Android"
/>
</component>
</project>
\ No newline at end of file
android/RestDemo/.idea/runConfigurations.xml
0 → 100644
View file @
cc76a112
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"RunConfigurationProducerService"
>
<option
name=
"ignoredProducers"
>
<set>
<option
value=
"org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer"
/>
<option
value=
"org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer"
/>
<option
value=
"org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer"
/>
</set>
</option>
</component>
</project>
\ No newline at end of file
android/RestDemo/.idea/vcs.xml
0 → 100644
View file @
cc76a112
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$/../.."
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
android/RestDemo/app/.gitignore
0 → 100644
View file @
cc76a112
/build
\ No newline at end of file
android/RestDemo/app/build.gradle
0 → 100644
View file @
cc76a112
apply
plugin:
'com.android.application'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-android-extensions'
android
{
compileSdkVersion
29
buildToolsVersion
"30.0.2"
defaultConfig
{
applicationId
"ee.taltech.mobile2020.restdemo"
minSdkVersion
22
targetSdkVersion
29
versionCode
1
versionName
"1.0"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
}
buildTypes
{
release
{
minifyEnabled
false
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
}
}
}
dependencies
{
implementation
fileTree
(
dir:
"libs"
,
include:
[
"*.jar"
])
implementation
"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation
'androidx.core:core-ktx:1.3.1'
implementation
'androidx.appcompat:appcompat:1.2.0'
implementation
'androidx.constraintlayout:constraintlayout:2.0.1'
testImplementation
'junit:junit:4.12'
androidTestImplementation
'androidx.test.ext:junit:1.1.2'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.3.0'
implementation
'com.android.volley:volley:1.1.1'
}
\ No newline at end of file
android/RestDemo/app/proguard-rules.pro
0 → 100644
View file @
cc76a112
# Add project specific ProGuard rules here.
#
You
can
control
the
set
of
applied
configuration
files
using
the
#
proguardFiles
setting
in
build
.
gradle
.
#
#
For
more
details
,
see
#
http
://
developer
.
android
.
com
/
guide
/
developing
/
tools
/
proguard
.
html
#
If
your
project
uses
WebView
with
JS
,
uncomment
the
following
#
and
specify
the
fully
qualified
class
name
to
the
JavaScript
interface
#
class
:
#-
keepclassmembers
class
fqcn
.
of
.
javascript
.
interface
.
for
.
webview
{
#
public
*
;
#
}
#
Uncomment
this
to
preserve
the
line
number
information
for
#
debugging
stack
traces
.
#-
keepattributes
SourceFile
,
LineNumberTable
#
If
you
keep
the
line
number
information
,
uncomment
this
to
#
hide
the
original
source
file
name
.
#-
renamesourcefileattribute
SourceFile
\ No newline at end of file
android/RestDemo/app/src/androidTest/java/ee/taltech/mobile2020/restdemo/ExampleInstrumentedTest.kt
0 → 100644
View file @
cc76a112
package
ee.taltech.mobile2020.restdemo
import
androidx.test.platform.app.InstrumentationRegistry
import
androidx.test.ext.junit.runners.AndroidJUnit4
import
org.junit.Test
import
org.junit.runner.RunWith
import
org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith
(
AndroidJUnit4
::
class
)
class
ExampleInstrumentedTest
{
@Test
fun
useAppContext
()
{
// Context of the app under test.
val
appContext
=
InstrumentationRegistry
.
getInstrumentation
().
targetContext
assertEquals
(
"ee.taltech.mobile2020.restdemo"
,
appContext
.
packageName
)
}
}
\ No newline at end of file
android/RestDemo/app/src/main/AndroidManifest.xml
0 → 100644
View file @
cc76a112
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"ee.taltech.mobile2020.restdemo"
>
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<application
android:allowBackup=
"true"
android:icon=
"@mipmap/ic_launcher"
android:label=
"@string/app_name"
android:roundIcon=
"@mipmap/ic_launcher_round"
android:supportsRtl=
"true"
android:theme=
"@style/AppTheme"
>
<activity
android:name=
".MainActivity"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
</application>
</manifest>
\ No newline at end of file
android/RestDemo/app/src/main/java/ee/taltech/mobile2020/restdemo/HttpSingletonHandler.kt
0 → 100644
View file @
cc76a112
package
ee.taltech.mobile2020.restdemo
import
android.content.Context
import
android.text.TextUtils
import
com.android.volley.Request
import
com.android.volley.RequestQueue
import
com.android.volley.toolbox.Volley
class
HttpSingletonHandler
{
companion
object
{
private
val
TAG
=
HttpSingletonHandler
::
class
.
java
.
simpleName
private
var
context
:
Context
?
=
null
private
var
instance
:
HttpSingletonHandler
?
=
null
@Synchronized
fun
getInstance
(
context
:
Context
):
HttpSingletonHandler
{
if
(
instance
==
null
)
{
instance
=
HttpSingletonHandler
(
context
)
}
return
instance
!!
}
}
constructor
(
context
:
Context
)
{
HttpSingletonHandler
.
context
=
context
}
val
requestQueue
:
RequestQueue
?
=
null
get
()
{
if
(
field
==
null
)
{
return
Volley
.
newRequestQueue
(
context
)
}
return
field
;
}
fun
<
T
>
addToRequestQueue
(
request
:
Request
<
T
>,
tag
:
String
)
{
// kotlin does not have this syntax
// xx = a == null ? "null" : a
// instead we have this:
request
.
tag
=
if
(
TextUtils
.
isEmpty
(
tag
))
TAG
else
tag
requestQueue
?.
add
(
request
);
}
fun
<
T
>
addToRequestQueue
(
request
:
Request
<
T
>)
{
request
.
tag
=
TAG
requestQueue
?.
add
(
request
);
}
fun
cancelPendingRequests
(
tag
:
Any
)
{
if
(
requestQueue
!=
null
)
{
requestQueue
!!
.
cancelAll
(
tag
)
}
}
}
android/RestDemo/app/src/main/java/ee/taltech/mobile2020/restdemo/MainActivity.kt
0 → 100644
View file @
cc76a112
package
ee.taltech.mobile2020.restdemo
import
androidx.appcompat.app.AppCompatActivity
import
android.os.Bundle
import
android.util.Log
import
com.android.volley.Request
import
com.android.volley.Response
import
com.android.volley.toolbox.StringRequest
import
org.json.JSONObject
class
MainActivity
:
AppCompatActivity
()
{
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
setContentView
(
R
.
layout
.
activity_main
)
}
override
fun
onResume
()
{
super
.
onResume
()
val
URL
=
"https://dad.akaver.com/api/SongTitles/RRAP"
var
handler
=
HttpSingletonHandler
.
getInstance
(
this
)
var
httpRequest
=
StringRequest
(
Request
.
Method
.
GET
,
URL
,
Response
.
Listener
{
response
->
Log
.
d
(
"response"
,
response
)
val
jsonObject
=
JSONObject
(
response
)
val
jsonArraySongHistoryList
=
jsonObject
.
getJSONArray
(
"SongHistoryList"
)
val
jsonObjectSongInfo
=
jsonArraySongHistoryList
.
getJSONObject
(
0
)
val
artist
=
jsonObjectSongInfo
.
getString
(
"Artist"
)
val
title
=
jsonObjectSongInfo
.
getString
(
"Title"
)
Log
.
d
(
"response"
,
artist
+
" - "
+
title
)
},
Response
.
ErrorListener
{
}
)
handler
.
addToRequestQueue
(
httpRequest
)
}
}
\ No newline at end of file
android/RestDemo/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
0 → 100644
View file @
cc76a112
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:aapt=
"http://schemas.android.com/aapt"
android:width=
"108dp"
android:height=
"108dp"
android:viewportWidth=
"108"
android:viewportHeight=
"108"
>
<path
android:pathData=
"M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"
>
<aapt:attr
name=
"android:fillColor"
>
<gradient
android:endX=
"85.84757"
android:endY=
"92.4963"
android:startX=
"42.9492"
android:startY=
"49.59793"
android:type=
"linear"
>
<item
android:color=
"#44000000"
android:offset=
"0.0"
/>
<item
android:color=
"#00000000"
android:offset=
"1.0"
/>
</gradient>
</aapt:attr>
</path>
<path
android:fillColor=
"#FFFFFF"
android:fillType=
"nonZero"
android:pathData=
"M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth=
"1"
android:strokeColor=
"#00000000"
/>
</vector>
\ No newline at end of file
android/RestDemo/app/src/main/res/drawable/ic_launcher_background.xml
0 → 100644
View file @
cc76a112
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"108dp"
android:height=
"108dp"
android:viewportWidth=
"108"
android:viewportHeight=
"108"
>
<path
android:fillColor=
"#3DDC84"
android:pathData=
"M0,0h108v108h-108z"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M9,0L9,108"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M19,0L19,108"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M29,0L29,108"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M39,0L39,108"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M49,0L49,108"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M59,0L59,108"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M69,0L69,108"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M79,0L79,108"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M89,0L89,108"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M99,0L99,108"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M0,9L108,9"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M0,19L108,19"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M0,29L108,29"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M0,39L108,39"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M0,49L108,49"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>
<path
android:fillColor=
"#00000000"
android:pathData=
"M0,59L108,59"
android:strokeWidth=
"0.8"
android:strokeColor=
"#33FFFFFF"
/>