Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
B
Browser White
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
Browser White
Commits
79c5d4f1
Commit
79c5d4f1
authored
Aug 07, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
09cd095f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
401 additions
and
8 deletions
+401
-8
navigateWebsiteCfg.json
app/src/main/assets/navigateWebsiteCfg.json
+382
-0
ScanQRCActivity.kt
.../base/browserwhite/ui/activity/scanqrc/ScanQRCActivity.kt
+2
-2
activity_scan_qrc.xml
app/src/main/res/layout/activity_scan_qrc.xml
+17
-6
s_tupian.png
app/src/main/res/mipmap-xxhdpi/s_tupian.png
+0
-0
No files found.
app/src/main/assets/navigateWebsiteCfg.json
0 → 100644
View file @
79c5d4f1
This diff is collapsed.
Click to expand it.
app/src/main/java/com/base/browserwhite/ui/activity/scanqrc/ScanQRCActivity.kt
View file @
79c5d4f1
...
...
@@ -40,8 +40,6 @@ class ScanQRCActivity : BaseActivity<ActivityScanQrcBinding>() {
BarUtils
.
setStatusBarColor
(
this
,
Color
.
TRANSPARENT
)
binding
.
root
.
updatePadding
(
top
=
BarUtils
.
getStatusBarHeight
())
binding
.
ivQrc
.
overlay
if
(
checkCameraPermission
())
{
initCamera
()
...
...
@@ -68,6 +66,8 @@ class ScanQRCActivity : BaseActivity<ActivityScanQrcBinding>() {
onBackPressedDispatcher
.
onBackPressed
()
}
binding
.
ivShoudian
.
setOnClickListener
{
}
binding
.
ivPhoto
.
setOnClickListener
{
}
}
private
fun
initCamera
()
{
...
...
app/src/main/res/layout/activity_scan_qrc.xml
View file @
79c5d4f1
...
...
@@ -23,12 +23,6 @@
app:layout_constraintTop_toTopOf=
"parent"
tools:ignore=
"ContentDescription"
/>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/black_a_70"
tools:ignore=
"ContentDescription"
/>
<com.base.browserwhite.ui.views.TransparentSrcInImageView
android:id=
"@+id/iv_qrc"
android:layout_width=
"wrap_content"
...
...
@@ -40,6 +34,12 @@
app:layout_constraintTop_toTopOf=
"parent"
tools:ignore=
"ContentDescription"
/>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/black_a_70"
tools:ignore=
"ContentDescription"
/>
<ImageView
android:id=
"@+id/iv_shoudian"
android:layout_width=
"wrap_content"
...
...
@@ -51,4 +51,15 @@
app:layout_constraintTop_toBottomOf=
"@id/iv_qrc"
tools:ignore=
"ContentDescription"
/>
<ImageView
android:id=
"@+id/iv_photo"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"35dp"
android:background=
"@mipmap/s_tupian"
app:layout_constraintBottom_toBottomOf=
"@id/iv_shoudian"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"@id/iv_shoudian"
tools:ignore=
"ContentDescription"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/mipmap-xxhdpi/s_tupian.png
0 → 100644
View file @
79c5d4f1
4.88 KB
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