Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_street
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_street
Commits
d104c88c
Commit
d104c88c
authored
Aug 20, 2021
by
fengruiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5G世界
自由世界 马甲包已完成
parent
ea45713b
Changes
35
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
620 additions
and
45 deletions
+620
-45
build.gradle
app/build.gradle
+34
-2
mints_fiveworld.jks
app/mints_fiveworld.jks
+0
-0
mints_freeworld.jks
app/mints_freeworld.jks
+0
-0
ExampleInstrumentedTest.java
...idTest/java/com/mints/street/ExampleInstrumentedTest.java
+0
-19
activity_splash.xml
app/src/fiveworld/res/layout/activity_splash.xml
+26
-0
ic_launcher_main.png
app/src/fiveworld/res/mipmap-xxhdpi/ic_launcher_main.png
+0
-0
attrs.xml
app/src/fiveworld/res/values/attrs.xml
+24
-0
colors.xml
app/src/fiveworld/res/values/colors.xml
+29
-0
drawables.xml
app/src/fiveworld/res/values/drawables.xml
+23
-0
strings.xml
app/src/fiveworld/res/values/strings.xml
+11
-0
styles.xml
app/src/fiveworld/res/values/styles.xml
+74
-0
file_paths.xml
app/src/fiveworld/res/xml/file_paths.xml
+19
-0
network_security_config.xml
app/src/fiveworld/res/xml/network_security_config.xml
+41
-0
provider_paths.xml
app/src/fiveworld/res/xml/provider_paths.xml
+21
-0
activity_splash.xml
app/src/freeworld/res/layout/activity_splash.xml
+26
-0
ic_launcher_main.png
app/src/freeworld/res/mipmap-xxhdpi/ic_launcher_main.png
+0
-0
attrs.xml
app/src/freeworld/res/values/attrs.xml
+24
-0
colors.xml
app/src/freeworld/res/values/colors.xml
+29
-0
drawables.xml
app/src/freeworld/res/values/drawables.xml
+23
-0
strings.xml
app/src/freeworld/res/values/strings.xml
+11
-0
styles.xml
app/src/freeworld/res/values/styles.xml
+74
-0
file_paths.xml
app/src/freeworld/res/xml/file_paths.xml
+19
-0
network_security_config.xml
app/src/freeworld/res/xml/network_security_config.xml
+41
-0
provider_paths.xml
app/src/freeworld/res/xml/provider_paths.xml
+21
-0
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+3
-3
Constant.kt
app/src/main/java/com/mints/street/common/Constant.kt
+10
-4
AboutusActivity.kt
...src/main/java/com/mints/street/main/my/AboutusActivity.kt
+1
-1
activity_permissions.xml
app/src/main/res/layout/activity_permissions.xml
+2
-2
dialog_backvip.xml
app/src/main/res/layout/dialog_backvip.xml
+1
-1
dialog_power.xml
app/src/main/res/layout/dialog_power.xml
+1
-1
strings.xml
app/src/main/res/values/strings.xml
+9
-0
gradle.properties
gradle.properties
+11
-0
AndroidManifest.xml
library_base/src/main/AndroidManifest.xml
+9
-9
strings.xml
library_base/src/main/res/values/strings.xml
+1
-1
AndroidManifest.xml
mvvmhabit/src/main/AndroidManifest.xml
+2
-2
No files found.
app/build.gradle
View file @
d104c88c
...
...
@@ -27,11 +27,11 @@ android {
//abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
abiFilters
"armeabi-v7a"
,
"arm64-v8a"
}
manifestPlaceholders
=
[
CHANNEL_NAME_VALUE:
"street"
,
UMENG_KEY
:
RELEASE_UMENG_KEY
,
SHARE_KEY
:
RELEASE_SHARESDK_KEY
,
SHARE_SECRET
:
RELEASE_SHARESDK_SECRET
]
SHARE_SECRET
:
RELEASE_SHARESDK_SECRET
]
}
buildFeatures
{
...
...
@@ -59,6 +59,18 @@ android {
keyAlias
RELEASE_KEY_ALIAS
keyPassword
RELEASE_KEY_PASSWORD
}
fiveworld
{
storeFile
file
(
FIVEWORLD_RELEASE_STORE_FILE
)
storePassword
FIVEWORLD_RELEASE_STORE_PASSWORD
keyAlias
FIVEWORLD_RELEASE_KEY_ALIAS
keyPassword
FIVEWORLD_RELEASE_KEY_PASSWORD
}
freeworld
{
storeFile
file
(
FREEWORLD_RELEASE_STORE_FILE
)
storePassword
FREEWORLD_RELEASE_STORE_PASSWORD
keyAlias
FREEWORLD_RELEASE_KEY_ALIAS
keyPassword
FREEWORLD_RELEASE_KEY_PASSWORD
}
}
buildTypes
{
...
...
@@ -106,6 +118,26 @@ android {
productFlavors
{
streetpkg
{}
toutiao
{}
// 5G世界马甲包
fiveworld
{
applicationId
"com.mints.fiveworld"
manifestPlaceholders
=
[
CHANNEL_NAME_VALUE:
"fiveworld"
,
UMENG_KEY
:
RELEASE_UMENG_KEY
,
SHARE_KEY
:
RELEASE_SHARESDK_KEY
,
SHARE_SECRET
:
RELEASE_SHARESDK_SECRET
]
signingConfig
signingConfigs
.
fiveworld
//签名信息
}
//自由世界马甲包
freeworld
{
applicationId
"com.mints.freeworld"
manifestPlaceholders
=
[
CHANNEL_NAME_VALUE:
"freeworld"
,
UMENG_KEY
:
RELEASE_UMENG_KEY
,
SHARE_KEY
:
RELEASE_SHARESDK_KEY
,
SHARE_SECRET
:
RELEASE_SHARESDK_SECRET
]
signingConfig
signingConfigs
.
freeworld
//签名信息
}
}
productFlavors
.
all
{
...
...
app/mints_fiveworld.jks
0 → 100644
View file @
d104c88c
File added
app/mints_freeworld.jks
0 → 100644
View file @
d104c88c
File added
app/src/androidTest/java/com/mints/street/ExampleInstrumentedTest.java
deleted
100644 → 0
View file @
ea45713b
package
com
.
mints
.
street
;
import
android.content.Context
;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
//@RunWith(AndroidJUnit4.class)
//public class ExampleInstrumentedTest {
// @Test
// public void useAppContext() {
// // Context of the app under test.
// Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
// assertEquals("com.mints.goodnews", appContext.getPackageName());
// }
//}
\ No newline at end of file
app/src/fiveworld/res/layout/activity_splash.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:background=
"#061b45"
android:layout_height=
"match_parent"
>
<View
android:id=
"@+id/view_splash"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
<FrameLayout
android:id=
"@+id/fl_splash"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
</FrameLayout>
</RelativeLayout>
<data>
<variable
name=
"viewModel"
type=
"com.mints.street.splash.SplashViewModel"
/>
</data>
</layout>
\ No newline at end of file
app/src/fiveworld/res/mipmap-xxhdpi/ic_launcher_main.png
0 → 100644
View file @
d104c88c
368 KB
app/src/fiveworld/res/values/attrs.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable
name=
"CircleImageView"
>
<attr
name=
"border_width"
format=
"dimension"
/>
<attr
name=
"border_color"
format=
"color"
/>
</declare-styleable>
<declare-styleable
name=
"HorizontalselectedView"
>
<!--可见数目-->
<attr
name=
"HorizontalselectedViewSeesize"
format=
"integer"
></attr>
<!--被选择文字的大小和颜色-->
<attr
name=
"HorizontalselectedViewSelectedTextSize"
format=
"float"
></attr>
<attr
name=
"HorizontalselectedViewSelectedTextColor"
format=
"color|reference"
></attr>
<!--未被被选择文字的大小和颜色-->
<attr
name=
"HorizontalselectedViewTextSize"
format=
"float"
></attr>
<attr
name=
"HorizontalselectedViewTextColor"
format=
"color|reference"
></attr>
</declare-styleable>
<declare-styleable
name=
"RatingStar"
>
<attr
name=
"starNormal"
format=
"reference"
/>
<attr
name=
"starFocus"
format=
"reference"
/>
<attr
name=
"starNumber"
format=
"integer"
/>
</declare-styleable>
</resources>
\ No newline at end of file
app/src/fiveworld/res/values/colors.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color
name=
"colorPrimary"
>
#ffffffff
</color>
<color
name=
"colorPrimaryDark"
>
#ffffffff
</color>
<color
name=
"colorAccent"
>
#FF4081
</color>
<color
name=
"color_FF9837"
>
#FF9837
</color>
<color
name=
"white"
>
#FFFFFF
</color>
<color
name=
"black"
>
#000000
</color>
<color
name=
"gray"
>
#808080
</color>
<color
name=
"color_668BFF"
>
#668BFF
</color>
<color
name=
"color_7EE2FF"
>
#7EE2FF
</color>
<color
name=
"color_A7BCFE"
>
#A7BCFE
</color>
<color
name=
"color_FEFFFF"
>
#FEFFFF
</color>
<color
name=
"color_323334"
>
#323334
</color>
<color
name=
"color_333"
>
#333333
</color>
<color
name=
"color_172B54"
>
#172B54
</color>
<color
name=
"color_121B32"
>
#121B32
</color>
<color
name=
"color_F9F9F9"
>
#F9F9F9
</color>
<color
name=
"color_BEC2CC"
>
#BEC2CC
</color>
<color
name=
"color_E6E6E6"
>
#E6E6E6
</color>
<color
name=
"color_555"
>
#555555
</color>
<color
name=
"color_8F6D21"
>
#8F6D21
</color>
<color
name=
"color_505050"
>
#505050
</color>
<color
name=
"color_0000"
>
#00000000
</color>
<color
name=
"color_60000000"
>
#60000000
</color>
<color
name=
"color_2B3238"
>
#2B3238
</color>
<color
name=
"color_002444"
>
#002444
</color>
</resources>
\ No newline at end of file
app/src/fiveworld/res/values/drawables.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015 [1076559197@qq.com | tchen0707@gmail.com]
~
~ Licensed under the Apache License, Version 2.0 (the "License”);
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<drawable
name=
"progress_bar_bg"
>
@color/color_0000
</drawable>
<drawable
name=
"sr_primary"
>
@color/color_2B3238
</drawable>
<drawable
name=
"sr_primary_r"
>
@color/color_002444
</drawable>
</resources>
\ No newline at end of file
app/src/fiveworld/res/values/strings.xml
0 → 100644
View file @
d104c88c
<resources>
<string
name=
"app_name"
>
5G世界
</string>
<string
name=
"package_name"
>
com.mints.fiveworld
</string>
<string
name=
"register_url"
>
map5g/register.html
</string>
<string
name=
"privacy_url"
>
map5g/privacy.html
</string>
<string
name=
"activity_premissions_content"
>
您的个人信息将受到严格的保密,5G世界不会将您的个
人信息泄露给他人。您也可以在系统设置中关闭授权,但可能影响部分功能使用。
</string>
<string
name=
"dialog_is_backvip"
>
5G世界会员吗?
</string>
<string
name=
"dialog_back_vip_explanation"
>
我们依据最新的法律,向您说明5G世界软件的隐私政策,特向您推送本提示。
请您阅读并充分理解相关条款。
</string>
</resources>
\ No newline at end of file
app/src/fiveworld/res/values/styles.xml
0 → 100644
View file @
d104c88c
<resources>
<!-- Base application theme. -->
<style
name=
"AppTheme"
parent=
"Theme.AppCompat.NoActionBar"
>
<!-- Customize your theme here. -->
<item
name=
"colorPrimary"
>
@color/colorPrimary
</item>
<item
name=
"colorPrimaryDark"
>
@color/colorPrimaryDark
</item>
<item
name=
"colorAccent"
>
@color/colorAccent
</item>
<item
name=
"android:windowIsTranslucent"
>
false
</item>
<item
name=
"android:windowNoTitle"
>
true
</item>
<item
name=
"android:windowBackground"
>
@color/appBackColor
</item>
<item
name=
"android:windowAnimationStyle"
>
@style/animFade
</item>
<!--全局默认竖屏-->
<item
name=
"android:screenOrientation"
>
portrait
</item>
<item
name=
"android:configChanges"
>
screenLayout|screenSize|smallestScreenSize|orientation|keyboardHidden
</item>
</style>
<!-- 界面切换动画 -->
<style
name=
"animFade"
parent=
"@android:style/Animation.Activity"
>
<item
name=
"android:activityOpenEnterAnimation"
>
@anim/slide_in_from_right
</item>
<item
name=
"android:activityOpenExitAnimation"
>
@anim/slide_out_to_left
</item>
<item
name=
"android:activityCloseExitAnimation"
>
@anim/slide_out_to_right
</item>
<item
name=
"android:activityCloseEnterAnimation"
>
@anim/slide_in_from_left
</item>
<!--<item name="android:windowEnterAnimation">@anim/slide_in_from_right</item>
<item name="android:windowExitAnimation">@anim/slide_out_to_right</item>-->
</style>
<style
name=
"line_3"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
1px
</item>
<item
name=
"android:background"
>
#E8E8F0
</item>
</style>
<!--浅灰色line-->
<style
name=
"view_line_E6E6E6"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
1dp
</item>
<item
name=
"android:background"
>
@color/color_E6E6E6
</item>
</style>
<!-- activity 切换 anim -->
<!--设置Tablayout字体加粗-->
<style
name=
"MyCheckBox"
parent=
"Theme.AppCompat.Light"
>
<item
name=
"colorControlNormal"
>
@color/black
</item>
<item
name=
"colorControlActivated"
>
@color/black
</item>
</style>
<style
name=
"dialog"
parent=
"@android:style/Theme.Dialog"
>
<item
name=
"android:windowBackground"
>
@color/color_0000
</item>
<item
name=
"android:windowFrame"
>
@null
</item>
<item
name=
"android:windowNoTitle"
>
true
</item>
<item
name=
"android:windowIsFloating"
>
true
</item>
<item
name=
"android:windowIsTranslucent"
>
false
</item>
<item
name=
"android:windowContentOverlay"
>
@null
</item>
<item
name=
"android:background"
>
@null
</item>
<item
name=
"android:backgroundDimEnabled"
>
true
</item>
<item
name=
"android:gravity"
>
bottom
</item>
</style>
<style
name=
"DialogAnimBottom"
parent=
"@android:style/Animation"
>
<item
name=
"android:windowEnterAnimation"
>
@anim/dialog_bottom_in
</item>
<item
name=
"android:windowExitAnimation"
>
@anim/dialog_bottom_out
</item>
</style>
<style
name=
"CustomCheckboxTheme"
parent=
"@android:style/Widget.CompoundButton.CheckBox"
>
<item
name=
"android:button"
>
@drawable/checkbox_style
</item>
</style>
<style
name=
"EndDialogAnim"
>
<item
name=
"android:windowEnterAnimation"
>
@anim/slide_in_from_right
</item>
<item
name=
"android:windowExitAnimation"
>
@anim/slide_out_to_right
</item>
</style>
</resources>
\ No newline at end of file
app/src/fiveworld/res/xml/file_paths.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<paths
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<!--为了适配所有路径可以设置 path = "." -->
<external-path
name=
"tt_external_root"
path=
"."
/>
<external-path
name=
"tt_external_download"
path=
"Download"
/>
<external-files-path
name=
"tt_external_files_download"
path=
"Download"
/>
<files-path
name=
"tt_internal_file_download"
path=
"Download"
/>
<cache-path
name=
"tt_internal_cache_download"
path=
"Download"
/>
</paths>
\ No newline at end of file
app/src/fiveworld/res/xml/network_security_config.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config
cleartextTrafficPermitted=
"true"
/>
<!-- <domain-config>-->
<!-- <domain includeSubdomains="true">i.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">is.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">pangolin.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">extlog.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">sf3-ttcdn-tos.pstatp.com</domain>-->
<!-- <domain includeSubdomains="true">bds.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">dig.bdurl.net</domain>-->
<!-- <domain includeSubdomains="true">api-access.pangolin-sdk-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">sf1-fe-tos.pglstatp-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">sf1-be-pack.pglstatp-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">sf3-fe-tos.pglstatp-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">log-api.pangolin-sdk-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">s3-fe-scm.pglstatp-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">s3a.pstatp.com</domain>-->
<!-- <domain includeSubdomains="true">api-access.pangolin-sdk-toutiao-b.com</domain>-->
<!-- <domain includeSubdomains="true">log-api.pangolin-sdk-toutiao-b.com</domain>-->
<!-- <domain includeSubdomains="true">dm.pstatp.com</domain>-->
<!-- <domain includeSubdomains="true">toblog.ctobsnssdk.com</domain>-->
<!-- <domain includeSubdomains="true">sdfp.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">tosv.byted.org</domain>-->
<!-- <domain includeSubdomains="true">sf1-ttcdn-tos.pstatp.com</domain>-->
<!-- <domain includeSubdomains="true">sf6-fe-tos.pglstatp-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">log.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">tosv.boe.byted.org</domain>-->
<!-- <domain includeSubdomains="true">dm.toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">dm.bytedance.com</domain>-->
<!-- <trust-anchors>-->
<!-- <certificates src="user" />//信任用户自己安装的证书-->
<!-- <certificates src="system" />-->
<!-- </trust-anchors>-->
<!-- </domain-config>-->
</network-security-config>
\ No newline at end of file
app/src/fiveworld/res/xml/provider_paths.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<paths
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<external-path
name=
"external"
path=
"."
/>
<files-path
name=
"files"
path=
"."
/>
<cache-path
name=
"cache"
path=
"."
/>
<!-- 优量汇 这个下载路径也不可以修改,必须为GDTDOWNLOAD -->
<external-cache-path
name=
"gdt_sdk_download_path1"
path=
"com_qq_e_download"
/>
<cache-path
name=
"gdt_sdk_download_path2"
path=
"com_qq_e_download"
/>
</paths>
app/src/freeworld/res/layout/activity_splash.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:background=
"#061b45"
android:layout_height=
"match_parent"
>
<View
android:id=
"@+id/view_splash"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
<FrameLayout
android:id=
"@+id/fl_splash"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
</FrameLayout>
</RelativeLayout>
<data>
<variable
name=
"viewModel"
type=
"com.mints.street.splash.SplashViewModel"
/>
</data>
</layout>
\ No newline at end of file
app/src/freeworld/res/mipmap-xxhdpi/ic_launcher_main.png
0 → 100644
View file @
d104c88c
373 KB
app/src/freeworld/res/values/attrs.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable
name=
"CircleImageView"
>
<attr
name=
"border_width"
format=
"dimension"
/>
<attr
name=
"border_color"
format=
"color"
/>
</declare-styleable>
<declare-styleable
name=
"HorizontalselectedView"
>
<!--可见数目-->
<attr
name=
"HorizontalselectedViewSeesize"
format=
"integer"
></attr>
<!--被选择文字的大小和颜色-->
<attr
name=
"HorizontalselectedViewSelectedTextSize"
format=
"float"
></attr>
<attr
name=
"HorizontalselectedViewSelectedTextColor"
format=
"color|reference"
></attr>
<!--未被被选择文字的大小和颜色-->
<attr
name=
"HorizontalselectedViewTextSize"
format=
"float"
></attr>
<attr
name=
"HorizontalselectedViewTextColor"
format=
"color|reference"
></attr>
</declare-styleable>
<declare-styleable
name=
"RatingStar"
>
<attr
name=
"starNormal"
format=
"reference"
/>
<attr
name=
"starFocus"
format=
"reference"
/>
<attr
name=
"starNumber"
format=
"integer"
/>
</declare-styleable>
</resources>
\ No newline at end of file
app/src/freeworld/res/values/colors.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color
name=
"colorPrimary"
>
#ffffffff
</color>
<color
name=
"colorPrimaryDark"
>
#ffffffff
</color>
<color
name=
"colorAccent"
>
#FF4081
</color>
<color
name=
"color_FF9837"
>
#FF9837
</color>
<color
name=
"white"
>
#FFFFFF
</color>
<color
name=
"black"
>
#000000
</color>
<color
name=
"gray"
>
#808080
</color>
<color
name=
"color_668BFF"
>
#668BFF
</color>
<color
name=
"color_7EE2FF"
>
#7EE2FF
</color>
<color
name=
"color_A7BCFE"
>
#A7BCFE
</color>
<color
name=
"color_FEFFFF"
>
#FEFFFF
</color>
<color
name=
"color_323334"
>
#323334
</color>
<color
name=
"color_333"
>
#333333
</color>
<color
name=
"color_172B54"
>
#172B54
</color>
<color
name=
"color_121B32"
>
#121B32
</color>
<color
name=
"color_F9F9F9"
>
#F9F9F9
</color>
<color
name=
"color_BEC2CC"
>
#BEC2CC
</color>
<color
name=
"color_E6E6E6"
>
#E6E6E6
</color>
<color
name=
"color_555"
>
#555555
</color>
<color
name=
"color_8F6D21"
>
#8F6D21
</color>
<color
name=
"color_505050"
>
#505050
</color>
<color
name=
"color_0000"
>
#00000000
</color>
<color
name=
"color_60000000"
>
#60000000
</color>
<color
name=
"color_2B3238"
>
#2B3238
</color>
<color
name=
"color_002444"
>
#002444
</color>
</resources>
\ No newline at end of file
app/src/freeworld/res/values/drawables.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015 [1076559197@qq.com | tchen0707@gmail.com]
~
~ Licensed under the Apache License, Version 2.0 (the "License”);
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<drawable
name=
"progress_bar_bg"
>
@color/color_0000
</drawable>
<drawable
name=
"sr_primary"
>
@color/color_2B3238
</drawable>
<drawable
name=
"sr_primary_r"
>
@color/color_002444
</drawable>
</resources>
\ No newline at end of file
app/src/freeworld/res/values/strings.xml
0 → 100644
View file @
d104c88c
<resources>
<string
name=
"app_name"
>
自由世界
</string>
<string
name=
"package_name"
>
com.mints.freeworld
</string>
<string
name=
"register_url"
>
mapzy/register.html
</string>
<string
name=
"privacy_url"
>
mapzy/privacy.html
</string>
<string
name=
"activity_premissions_content"
>
您的个人信息将受到严格的保密,自由世界不会将您的个
人信息泄露给他人。您也可以在系统设置中关闭授权,但可能影响部分功能使用。
</string>
<string
name=
"dialog_is_backvip"
>
自由世界会员吗?
</string>
<string
name=
"dialog_back_vip_explanation"
>
我们依据最新的法律,向您说明自由世界软件的隐私政策,特向您推送本提示。
请您阅读并充分理解相关条款。
</string>
</resources>
\ No newline at end of file
app/src/freeworld/res/values/styles.xml
0 → 100644
View file @
d104c88c
<resources>
<!-- Base application theme. -->
<style
name=
"AppTheme"
parent=
"Theme.AppCompat.NoActionBar"
>
<!-- Customize your theme here. -->
<item
name=
"colorPrimary"
>
@color/colorPrimary
</item>
<item
name=
"colorPrimaryDark"
>
@color/colorPrimaryDark
</item>
<item
name=
"colorAccent"
>
@color/colorAccent
</item>
<item
name=
"android:windowIsTranslucent"
>
false
</item>
<item
name=
"android:windowNoTitle"
>
true
</item>
<item
name=
"android:windowBackground"
>
@color/appBackColor
</item>
<item
name=
"android:windowAnimationStyle"
>
@style/animFade
</item>
<!--全局默认竖屏-->
<item
name=
"android:screenOrientation"
>
portrait
</item>
<item
name=
"android:configChanges"
>
screenLayout|screenSize|smallestScreenSize|orientation|keyboardHidden
</item>
</style>
<!-- 界面切换动画 -->
<style
name=
"animFade"
parent=
"@android:style/Animation.Activity"
>
<item
name=
"android:activityOpenEnterAnimation"
>
@anim/slide_in_from_right
</item>
<item
name=
"android:activityOpenExitAnimation"
>
@anim/slide_out_to_left
</item>
<item
name=
"android:activityCloseExitAnimation"
>
@anim/slide_out_to_right
</item>
<item
name=
"android:activityCloseEnterAnimation"
>
@anim/slide_in_from_left
</item>
<!--<item name="android:windowEnterAnimation">@anim/slide_in_from_right</item>
<item name="android:windowExitAnimation">@anim/slide_out_to_right</item>-->
</style>
<style
name=
"line_3"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
1px
</item>
<item
name=
"android:background"
>
#E8E8F0
</item>
</style>
<!--浅灰色line-->
<style
name=
"view_line_E6E6E6"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
1dp
</item>
<item
name=
"android:background"
>
@color/color_E6E6E6
</item>
</style>
<!-- activity 切换 anim -->
<!--设置Tablayout字体加粗-->
<style
name=
"MyCheckBox"
parent=
"Theme.AppCompat.Light"
>
<item
name=
"colorControlNormal"
>
@color/black
</item>
<item
name=
"colorControlActivated"
>
@color/black
</item>
</style>
<style
name=
"dialog"
parent=
"@android:style/Theme.Dialog"
>
<item
name=
"android:windowBackground"
>
@color/color_0000
</item>
<item
name=
"android:windowFrame"
>
@null
</item>
<item
name=
"android:windowNoTitle"
>
true
</item>
<item
name=
"android:windowIsFloating"
>
true
</item>
<item
name=
"android:windowIsTranslucent"
>
false
</item>
<item
name=
"android:windowContentOverlay"
>
@null
</item>
<item
name=
"android:background"
>
@null
</item>
<item
name=
"android:backgroundDimEnabled"
>
true
</item>
<item
name=
"android:gravity"
>
bottom
</item>
</style>
<style
name=
"DialogAnimBottom"
parent=
"@android:style/Animation"
>
<item
name=
"android:windowEnterAnimation"
>
@anim/dialog_bottom_in
</item>
<item
name=
"android:windowExitAnimation"
>
@anim/dialog_bottom_out
</item>
</style>
<style
name=
"CustomCheckboxTheme"
parent=
"@android:style/Widget.CompoundButton.CheckBox"
>
<item
name=
"android:button"
>
@drawable/checkbox_style
</item>
</style>
<style
name=
"EndDialogAnim"
>
<item
name=
"android:windowEnterAnimation"
>
@anim/slide_in_from_right
</item>
<item
name=
"android:windowExitAnimation"
>
@anim/slide_out_to_right
</item>
</style>
</resources>
\ No newline at end of file
app/src/freeworld/res/xml/file_paths.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<paths
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<!--为了适配所有路径可以设置 path = "." -->
<external-path
name=
"tt_external_root"
path=
"."
/>
<external-path
name=
"tt_external_download"
path=
"Download"
/>
<external-files-path
name=
"tt_external_files_download"
path=
"Download"
/>
<files-path
name=
"tt_internal_file_download"
path=
"Download"
/>
<cache-path
name=
"tt_internal_cache_download"
path=
"Download"
/>
</paths>
\ No newline at end of file
app/src/freeworld/res/xml/network_security_config.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config
cleartextTrafficPermitted=
"true"
/>
<!-- <domain-config>-->
<!-- <domain includeSubdomains="true">i.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">is.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">pangolin.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">extlog.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">sf3-ttcdn-tos.pstatp.com</domain>-->
<!-- <domain includeSubdomains="true">bds.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">dig.bdurl.net</domain>-->
<!-- <domain includeSubdomains="true">api-access.pangolin-sdk-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">sf1-fe-tos.pglstatp-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">sf1-be-pack.pglstatp-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">sf3-fe-tos.pglstatp-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">log-api.pangolin-sdk-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">s3-fe-scm.pglstatp-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">s3a.pstatp.com</domain>-->
<!-- <domain includeSubdomains="true">api-access.pangolin-sdk-toutiao-b.com</domain>-->
<!-- <domain includeSubdomains="true">log-api.pangolin-sdk-toutiao-b.com</domain>-->
<!-- <domain includeSubdomains="true">dm.pstatp.com</domain>-->
<!-- <domain includeSubdomains="true">toblog.ctobsnssdk.com</domain>-->
<!-- <domain includeSubdomains="true">sdfp.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">tosv.byted.org</domain>-->
<!-- <domain includeSubdomains="true">sf1-ttcdn-tos.pstatp.com</domain>-->
<!-- <domain includeSubdomains="true">sf6-fe-tos.pglstatp-toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">log.snssdk.com</domain>-->
<!-- <domain includeSubdomains="true">tosv.boe.byted.org</domain>-->
<!-- <domain includeSubdomains="true">dm.toutiao.com</domain>-->
<!-- <domain includeSubdomains="true">dm.bytedance.com</domain>-->
<!-- <trust-anchors>-->
<!-- <certificates src="user" />//信任用户自己安装的证书-->
<!-- <certificates src="system" />-->
<!-- </trust-anchors>-->
<!-- </domain-config>-->
</network-security-config>
\ No newline at end of file
app/src/freeworld/res/xml/provider_paths.xml
0 → 100644
View file @
d104c88c
<?xml version="1.0" encoding="utf-8"?>
<paths
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<external-path
name=
"external"
path=
"."
/>
<files-path
name=
"files"
path=
"."
/>
<cache-path
name=
"cache"
path=
"."
/>
<!-- 优量汇 这个下载路径也不可以修改,必须为GDTDOWNLOAD -->
<external-cache-path
name=
"gdt_sdk_download_path1"
path=
"com_qq_e_download"
/>
<cache-path
name=
"gdt_sdk_download_path2"
path=
"com_qq_e_download"
/>
</paths>
app/src/main/AndroidManifest.xml
View file @
d104c88c
...
...
@@ -130,7 +130,7 @@
<provider
android:name=
"androidx.core.content.FileProvider"
android:authorities=
"
com.mints.street
.fileprovider"
android:authorities=
"
${applicationId}
.fileprovider"
android:exported=
"false"
android:grantUriPermissions=
"true"
tools:replace=
"android:authorities"
>
...
...
@@ -141,11 +141,11 @@
</provider>
<!-- 穿山甲广告 -->
<provider
android:name=
"com.bytedance.sdk.openadsdk.multipro.TTMultiProvider"
android:authorities=
"
com.mints.street
.TTMultiProvider"
android:authorities=
"
${applicationId}
.TTMultiProvider"
android:exported=
"false"
/>
<provider
android:name=
"com.bytedance.sdk.openadsdk.TTFileProvider"
android:authorities=
"
com.mints.street
.TTFileProvider"
android:authorities=
"
${applicationId}
.TTFileProvider"
android:exported=
"false"
android:grantUriPermissions=
"true"
tools:replace=
"android:authorities"
>
...
...
app/src/main/java/com/mints/street/common/Constant.kt
View file @
d104c88c
package
com.mints.street.common
import
com.mints.street.AppApplication
import
com.mints.street.BuildConfig
import
com.mints.street.R
import
me.goldze.mvvmhabit.base.AppManager
object
Constant
{
/**
* app名称
*/
const
val
MINTS_APP_NAME
=
"3D高清街景"
val
MINTS_APP_NAME
:
String
?
=
AppApplication
.
mContext
?.
getString
(
R
.
string
.
app_name
)
/**
* 应用包名
*/
const
val
MINTS_PKG_NAME
=
"com.mints.street"
val
MINTS_PKG_NAME
=
AppApplication
.
mContext
?.
getString
(
R
.
string
.
package_name
)
/**
* 第一次打开权限页面
...
...
@@ -20,8 +23,11 @@ object Constant {
const
val
FIRST_OPEN_PERMISSIONS
=
"first_open_permissions"
// 协议地址
var
REGISTER_URL
=
BuildConfig
.
MainIp
+
"map/register.html"
//服务协议
var
PRIVACY_URL
=
BuildConfig
.
MainIp
+
"map/privacy.html"
//隐私协议
var
REGISTER_URL
=
"${BuildConfig.MainIp}${AppApplication.mContext
?.
getString
(
R
.
string
.
register_url
)}
"//服务协议
var
PRIVACY_URL
=
"${BuildConfig.MainIp}${AppApplication.mContext
?.
getString
(
R
.
string
.
privacy_url
)}
"//隐私协议
/**
* 第一次授权
...
...
app/src/main/java/com/mints/street/main/my/AboutusActivity.kt
View file @
d104c88c
...
...
@@ -40,7 +40,7 @@ class AboutusActivity : BaseActivity<ActivityAboutusBinding, AboutusViewModel>()
tv_title
.
setTextColor
(
Color
.
BLACK
)
iv_left_icon
.
setImageResource
(
R
.
mipmap
.
ic_arrow_back
)
iv_left_icon
.
visibility
=
View
.
VISIBLE
tvAboutasVersion
.
text
=
"
3D高清街景 v"
+
DeviceInfo
.
instance
.
versionName
tvAboutasVersion
.
text
=
"
${R.string.app_name } v${DeviceInfo.instance.versionName}"
tvAboutasService
.
setOnClickListener
(
this
)
tvAboutasPolicy
.
setOnClickListener
(
this
)
...
...
app/src/main/res/layout/activity_permissions.xml
View file @
d104c88c
...
...
@@ -19,7 +19,7 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginTop=
"25dp"
android:text=
"
3D高清街景
"
android:text=
"
@string/app_name
"
android:textStyle=
"bold"
android:textColor=
"@color/black"
android:textSize=
"25dp"
/>
...
...
@@ -183,7 +183,7 @@
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
您的个人信息将受到严格的保密,3D高清街景不会将您的个人信息泄露给他人。您也可以在系统设置中关闭授权,但可能影响部分功能使用。
"
android:text=
"
@string/activity_premissions_content
"
android:layout_margin=
"10dp"
android:textColor=
"#CD000000"
/>
...
...
app/src/main/res/layout/dialog_backvip.xml
View file @
d104c88c
...
...
@@ -49,7 +49,7 @@
android:layout_height=
"wrap_content"
android:elevation=
"5dp"
android:layout_marginTop=
"4dp"
android:text=
"
3D高清街景会员吗?
"
android:text=
"
@string/dialog_is_backvip
"
android:textColor=
"#8E5832"
android:textSize=
"26sp"
android:textStyle=
"bold"
...
...
app/src/main/res/layout/dialog_power.xml
View file @
d104c88c
...
...
@@ -38,7 +38,7 @@
android:layout_marginLeft=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginRight=
"16dp"
android:text=
"
我们依据最新的法律,向您说明3D高清街景软件的隐私政策,特向您推送本提示。请您阅读并充分理解相关条款。
"
android:text=
"
@string/dialog_back_vip_explanation
"
android:textColor=
"@color/black"
android:textSize=
"14sp"
/>
...
...
app/src/main/res/values/strings.xml
View file @
d104c88c
<resources>
<string
name=
"app_name"
>
3D高清街景
</string>
<string
name=
"app_sign"
>
61117d7a
</string>
<string
name=
"package_name"
>
com.mints.street
</string>
<string
name=
"register_url"
>
map/register.html
</string>
<string
name=
"privacy_url"
>
map/privacy.html
</string>
<string
name=
"activity_premissions_content"
>
您的个人信息将受到严格的保密,3D高清街景不会将您的个
人信息泄露给他人。您也可以在系统设置中关闭授权,但可能影响部分功能使用。
</string>
<string
name=
"dialog_is_backvip"
>
3D高清街景会员吗?
</string>
<string
name=
"dialog_back_vip_explanation"
>
我们依据最新的法律,向您说明3D高清街景软件的隐私政策,特向您推送本提示。
请您阅读并充分理解相关条款。
</string>
</resources>
\ No newline at end of file
gradle.properties
View file @
d104c88c
...
...
@@ -24,6 +24,17 @@ RELEASE_KEY_ALIAS=mints_street
RELEASE_STORE_PASSWORD
=
mints.street
RELEASE_STORE_FILE
=
mints_street.jks
FIVEWORLD_RELEASE_KEY_PASSWORD
=
mints.fiveworld
FIVEWORLD_RELEASE_KEY_ALIAS
=
mints_fiveworld
FIVEWORLD_RELEASE_STORE_PASSWORD
=
mints.fiveworld
FIVEWORLD_RELEASE_STORE_FILE
=
mints_fiveworld.jks
FREEWORLD_RELEASE_KEY_PASSWORD
=
mints.freeworld
FREEWORLD_RELEASE_KEY_ALIAS
=
mints_freeworld
FREEWORLD_RELEASE_STORE_PASSWORD
=
mints.freeworld
FREEWORLD_RELEASE_STORE_FILE
=
mints_freeworld.jks
#ShareSDK
RELEASE_SHARESDK_KEY
=
m33e5da5ced828
RELEASE_SHARESDK_SECRET
=
08ce5b656e724e793787bd9f6d465ae8
...
...
library_base/src/main/AndroidManifest.xml
View file @
d104c88c
...
...
@@ -26,15 +26,15 @@
android:theme=
"@style/Theme.AppCompat.Light.NoActionBar"
/>
<!--Android7App私有文件授权-->
<provider
android:name=
"com.fry.base.provider.BaseFileProvider"
android:authorities=
"com.base.android.android7.fileprovider"
android:exported=
"false"
android:grantUriPermissions=
"true"
>
<meta-data
android:name=
"android.support.FILE_PROVIDER_PATHS"
android:resource=
"@xml/file_provider_paths"
/
>
</provider
>
<!-- <provider-->
<!-- android:name="com.fry.base.provider.BaseFileProvider"-->
<!-- android:authorities="com.base.android.android7.fileprovider"-->
<!-- android:exported="false"-->
<!-- android:grantUriPermissions="true">--
>
<!-- <meta-data-->
<!-- android:name="android.support.FILE_PROVIDER_PATHS"-->
<!-- android:resource="@xml/file_provider_paths" />--
>
<!-- </provider>--
>
</application>
</manifest>
library_base/src/main/res/values/strings.xml
View file @
d104c88c
...
...
@@ -5,7 +5,7 @@
<string
name=
"bottom_name_home"
>
首页
</string>
<string
name=
"bottom_name_my"
>
个人中心
</string>
<string
name=
"app_sign"
>
61117d7a
</string>
<string
name=
"str_immediately_login"
>
立即登录
</string>
...
...
mvvmhabit/src/main/AndroidManifest.xml
View file @
d104c88c
...
...
@@ -17,9 +17,9 @@
android:screenOrientation=
"portrait"
/>
<provider
<provider
android:name=
".crash.CaocInitProvider"
android:authorities=
"${applicationId}.customactivityoncrashinitprovider"
android:authorities=
"${applicationId}.
5g.
customactivityoncrashinitprovider"
android:exported=
"false"
android:initOrder=
"101"
/>
</application>
...
...
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