Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SourceApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
hemin
SourceApp
Commits
bdbe3858
Commit
bdbe3858
authored
Feb 15, 2022
by
hemin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parent
0f87d9d0
Pipeline
#867
failed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
misc.xml
.idea/misc.xml
+1
-1
MainActivity.kt
app/src/main/java/com/source/app/MainActivity.kt
+5
-2
activity_main.xml
app/src/main/res/layout/activity_main.xml
+9
-0
No files found.
.idea/misc.xml
View file @
bdbe3858
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<option
name=
"filePathToZoomLevelMap"
>
<option
name=
"filePathToZoomLevelMap"
>
<map>
<map>
<entry
key=
"..\:/Dev/project/SourceApp/app/src/main/res/drawable/noseprint_selector_btn_blue.xml"
value=
"0.34270833333333334"
/>
<entry
key=
"..\:/Dev/project/SourceApp/app/src/main/res/drawable/noseprint_selector_btn_blue.xml"
value=
"0.34270833333333334"
/>
<entry
key=
"..\:/Dev/project/SourceApp/app/src/main/res/layout/activity_main.xml"
value=
"0.5"
/>
<entry
key=
"..\:/Dev/project/SourceApp/app/src/main/res/layout/activity_main.xml"
value=
"0.
2
5"
/>
<entry
key=
"..\:/Dev/project/SourceApp/app/src/main/res/layout/activity_splash.xml"
value=
"0.16979166666666667"
/>
<entry
key=
"..\:/Dev/project/SourceApp/app/src/main/res/layout/activity_splash.xml"
value=
"0.16979166666666667"
/>
</map>
</map>
</option>
</option>
...
...
app/src/main/java/com/source/app/MainActivity.kt
View file @
bdbe3858
...
@@ -12,8 +12,10 @@ import androidx.appcompat.app.AppCompatActivity
...
@@ -12,8 +12,10 @@ import androidx.appcompat.app.AppCompatActivity
import
kotlinx.android.synthetic.main.activity_main.*
import
kotlinx.android.synthetic.main.activity_main.*
class
MainActivity
:
AppCompatActivity
()
{
class
MainActivity
:
AppCompatActivity
()
{
// ed3htuo7 测试环境
val
appCode
=
"ed3htuo7"
// 5rrhi2jp 线上环境
//需要填写正确的appCode
val
appCode
=
"5rrhi2jp"
val
targetPackageName
=
"com.inajiu.youdianmeng"
val
targetPackageName
=
"com.inajiu.youdianmeng"
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
...
@@ -33,6 +35,7 @@ class MainActivity : AppCompatActivity() {
...
@@ -33,6 +35,7 @@ class MainActivity : AppCompatActivity() {
}
}
checkScheme
(
intent
)
checkScheme
(
intent
)
tvAppCode
.
text
=
"appCode:${appCode}"
;
}
}
private
fun
gotoArchive
()
{
private
fun
gotoArchive
()
{
...
...
app/src/main/res/layout/activity_main.xml
View file @
bdbe3858
...
@@ -76,6 +76,15 @@
...
@@ -76,6 +76,15 @@
android:layout_height=
"0.5dp"
android:layout_height=
"0.5dp"
android:background=
"@color/color_gray"
/>
android:background=
"@color/color_gray"
/>
<TextView
android:id=
"@+id/tvAppCode"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:paddingLeft=
"20dp"
android:paddingRight=
"20dp"
android:text=
"appCode:"
/>
<View
<View
android:layout_width=
"1dp"
android:layout_width=
"1dp"
android:layout_height=
"0dp"
android:layout_height=
"0dp"
...
...
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