Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
android-yes
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
Kheang Chenda
android-yes
Commits
2bfe805a
Commit
2bfe805a
authored
Jul 16, 2025
by
Seatel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
verify latest code.
parent
cc64ad80
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
138 additions
and
156 deletions
+138
-156
appInsightsSettings.xml
.idea/appInsightsSettings.xml
+23
-0
workspace.xml
.idea/workspace.xml
+62
-86
build.gradle
app/build.gradle
+3
-3
ImageSliderAdapter.kt
...m/seatel/mobilehall/ui/home/adapter/ImageSliderAdapter.kt
+0
-2
activity_outlet_scan_qr.xml
app/src/main/res/layout/activity_outlet_scan_qr.xml
+48
-63
fragment_yes_member.xml
app/src/main/res/layout/fragment_yes_member.xml
+2
-2
No files found.
.idea/appInsightsSettings.xml
0 → 100644
View file @
2bfe805a
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"AppInsightsSettings"
>
<option
name=
"tabSettings"
>
<map>
<entry
key=
"Android Vitals"
>
<value>
<InsightsFilterSettings>
<option
name=
"connection"
>
<ConnectionSetting>
<option
name=
"appId"
value=
"com.seatel.mobilehall"
/>
</ConnectionSetting>
</option>
<option
name=
"signal"
value=
"SIGNAL_UNSPECIFIED"
/>
<option
name=
"timeIntervalDays"
value=
"SEVEN_DAYS"
/>
<option
name=
"visibilityType"
value=
"ALL"
/>
</InsightsFilterSettings>
</value>
</entry>
</map>
</option>
</component>
</project>
\ No newline at end of file
.idea/workspace.xml
View file @
2bfe805a
...
...
@@ -396,6 +396,11 @@
<theme>
@style/AppBaseTheme
</theme>
</config>
</layout>
<layout
url=
"file://$PROJECT_DIR$/app/src/main/res/layout/item_home_banner.xml"
>
<config>
<theme>
@style/AppBaseTheme
</theme>
</config>
</layout>
<layout
url=
"file://$PROJECT_DIR$/app/src/main/res/layout/item_home_image_slider.xml"
>
<config>
<theme>
@style/AppBaseTheme
</theme>
...
...
@@ -612,16 +617,23 @@
<option
name=
"autoReloadType"
value=
"NONE"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"b947e2f9-b70e-404d-b6f9-40fd3f83c1e2"
name=
"Changes"
comment=
"hide slide show"
>
<list
default=
"true"
id=
"b947e2f9-b70e-404d-b6f9-40fd3f83c1e2"
name=
"Changes"
comment=
"enhance home fragment."
>
<change
afterPath=
"$PROJECT_DIR$/.idea/appInsightsSettings.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gradle/8.9/checksums/checksums.lock"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gradle/8.9/checksums/checksums.lock"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gradle/8.9/checksums/md5-checksums.bin"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gradle/8.9/checksums/md5-checksums.bin"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gradle/8.9/checksums/sha1-checksums.bin"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gradle/8.9/checksums/sha1-checksums.bin"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gradle/8.9/executionHistory/executionHistory.bin"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gradle/8.9/executionHistory/executionHistory.bin"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gradle/8.9/executionHistory/executionHistory.lock"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gradle/8.9/executionHistory/executionHistory.lock"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gradle/8.9/fileHashes/fileHashes.bin"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gradle/8.9/fileHashes/fileHashes.bin"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gradle/8.9/fileHashes/fileHashes.lock"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gradle/8.9/fileHashes/fileHashes.lock"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gradle/8.9/fileHashes/resourceHashesCache.bin"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gradle/8.9/fileHashes/resourceHashesCache.bin"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gradle/buildOutputCleanup/outputFiles.bin"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gradle/buildOutputCleanup/outputFiles.bin"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/app/build.gradle"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/app/build.gradle"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/app/src/main/res/layout/fragment_home.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/app/src/main/res/layout/fragment_home.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/app/src/main/java/com/seatel/mobilehall/ui/home/adapter/ImageSliderAdapter.kt"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/app/src/main/java/com/seatel/mobilehall/ui/home/adapter/ImageSliderAdapter.kt"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/app/src/main/res/layout/activity_outlet_scan_qr.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/app/src/main/res/layout/activity_outlet_scan_qr.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/app/src/main/res/layout/fragment_yes_member.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/app/src/main/res/layout/fragment_yes_member.xml"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -631,7 +643,7 @@
<component
name=
"ClangdSettings"
>
<option
name=
"formatViaClangd"
value=
"false"
/>
</component>
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"device_and_snapshot_combo_box_target[
DeviceId(pluginId=PhysicalDevice, isTemplate=false, identifier=serial=ce04171470f5c4e60c)
]"
/>
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"device_and_snapshot_combo_box_target[]"
/>
<component
name=
"ExternalProjectsData"
>
<projectState
path=
"$PROJECT_DIR$"
>
<ProjectState
/>
...
...
@@ -734,10 +746,11 @@
</component>
<component
name=
"PropertiesComponent"
>
{
"
keyToString
"
: {
"
Android App.URL https://api.yes.com.kh/.well-known/assetlinks.json.executor
"
:
"
Run
"
,
"
Android App.app.executor
"
:
"
Run
"
,
"
ApkExportedModule
"
:
"
seatel.app
"
,
"
BundleExportedModule
"
:
"
seatel.app
"
,
"
ExportApk.ApkPathForseatel.app
"
:
"
/Users/seatel/D
esktop/yes_apk
"
,
"
ExportApk.ApkPathForseatel.app
"
:
"
/Users/seatel/D
ocuments/yes-enhance
"
,
"
ExportBundle.BundlePathForseatel.app
"
:
"
/Users/seatel/Desktop/yes_apk
"
,
"
Gradle.Upgrade Gradle wrapper.executor
"
:
"
Run
"
,
"
ResourceManagerPrefKey.ModuleName
"
:
"
seatel.app.main
"
,
...
...
@@ -764,10 +777,11 @@
"
cidr.known.project.marker
"
:
"
true
"
,
"
com.google.services.firebase.aqiPopupShown
"
:
"
true
"
,
"
dart.analysis.tool.window.visible
"
:
"
false
"
,
"
deletionFromPopupRequiresConfirmation
"
:
"
false
"
,
"
git-widget-placeholder
"
:
"
yes__enhance
"
,
"
kotlin-language-version-configured
"
:
"
true
"
,
"
last_directory_selection
"
:
"
/Users/seatel/android_project/android-yes/app/src/main/res/drawable
"
,
"
last_opened_file_path
"
:
"
/Users/seatel/
android_project/android-yes/app/src/main/assets/fonts
"
,
"
last_opened_file_path
"
:
"
/Users/seatel/
Documents/yes-enhance/app/src/main/res/layout
"
,
"
memory.settings.postsync.last.time.stamp
"
:
"
1725420718992
"
,
"
project.structure.last.edited
"
:
"
SDK Location
"
,
"
project.structure.proportion
"
:
"
0.17
"
,
...
...
@@ -778,7 +792,7 @@
},
"
keyToStringList
"
: {
"
ExportApk.BuildVariants
"
: [
"
release
"
"
debug
"
]
}
}
</component>
...
...
@@ -787,9 +801,9 @@
</component>
<component
name=
"RecentsManager"
>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"$PROJECT_DIR$/app/src/main/res/layout"
/>
<recent
name=
"$PROJECT_DIR$/app/src/main/assets/fonts"
/>
<recent
name=
"$PROJECT_DIR$/app/src/main/res/drawable"
/>
<recent
name=
"$PROJECT_DIR$/app/src/main/res/layout"
/>
<recent
name=
"$PROJECT_DIR$/app/libs"
/>
<recent
name=
"$PROJECT_DIR$/app/src/main/assets"
/>
</key>
...
...
@@ -801,11 +815,11 @@
<recent
name=
"com.seatel.mobilehall.ui.yes_member.model"
/>
</key>
<key
name=
"CopyKotlinDeclarationDialog.RECENTS_KEY"
>
<recent
name=
"com.seatel.mobilehall.ui.home.adapter"
/>
<recent
name=
"com.seatel.mobilehall.util.dialogannouncement"
/>
<recent
name=
"com.seatel.mobilehall.ui.yes_member.interactor"
/>
<recent
name=
"com.seatel.mobilehall.ui.yes_member.presenter"
/>
<recent
name=
"com.seatel.mobilehall.ui.yes_member.adapter"
/>
<recent
name=
"com.seatel.mobilehall.ui.packages.adapter"
/>
</key>
<key
name=
"CopyClassDialog.RECENTS_KEY"
>
<recent
name=
"com.seatel.mobilehall.util.customview"
/>
...
...
@@ -813,80 +827,8 @@
<recent
name=
"com.seatel.mobilehall.ui.profile.activity"
/>
</key>
</component>
<component
name=
"RunManager"
selected=
"Android App.app"
>
<configuration
name=
"URL https://api.yes.com.kh/.well-known/assetlinks.json"
type=
"AndroidRunConfigurationType"
factoryName=
"Android App"
>
<module
name=
"seatel.app"
/>
<option
name=
"ANDROID_RUN_CONFIGURATION_SCHEMA_VERSION"
value=
"1"
/>
<option
name=
"DEPLOY"
value=
"true"
/>
<option
name=
"DEPLOY_APK_FROM_BUNDLE"
value=
"false"
/>
<option
name=
"DEPLOY_AS_INSTANT"
value=
"false"
/>
<option
name=
"ARTIFACT_NAME"
value=
""
/>
<option
name=
"PM_INSTALL_OPTIONS"
value=
""
/>
<option
name=
"ALL_USERS"
value=
"false"
/>
<option
name=
"ALWAYS_INSTALL_WITH_PM"
value=
"false"
/>
<option
name=
"ALLOW_ASSUME_VERIFIED"
value=
"false"
/>
<option
name=
"CLEAR_APP_STORAGE"
value=
"false"
/>
<option
name=
"DYNAMIC_FEATURES_DISABLED_LIST"
value=
""
/>
<option
name=
"ACTIVITY_EXTRA_FLAGS"
value=
""
/>
<option
name=
"MODE"
value=
"launch_deep_link"
/>
<option
name=
"RESTORE_ENABLED"
value=
"false"
/>
<option
name=
"RESTORE_FILE"
value=
""
/>
<option
name=
"RESTORE_FRESH_INSTALL_ONLY"
value=
"false"
/>
<option
name=
"CLEAR_LOGCAT"
value=
"false"
/>
<option
name=
"SHOW_LOGCAT_AUTOMATICALLY"
value=
"false"
/>
<option
name=
"TARGET_SELECTION_MODE"
value=
"DEVICE_AND_SNAPSHOT_COMBO_BOX"
/>
<option
name=
"SELECTED_CLOUD_MATRIX_CONFIGURATION_ID"
value=
"-1"
/>
<option
name=
"SELECTED_CLOUD_MATRIX_PROJECT_ID"
value=
""
/>
<option
name=
"DEBUGGER_TYPE"
value=
"Auto"
/>
<Auto>
<option
name=
"USE_JAVA_AWARE_DEBUGGER"
value=
"false"
/>
<option
name=
"SHOW_STATIC_VARS"
value=
"true"
/>
<option
name=
"WORKING_DIR"
value=
""
/>
<option
name=
"TARGET_LOGGING_CHANNELS"
value=
"lldb process:gdb-remote packets"
/>
<option
name=
"SHOW_OPTIMIZED_WARNING"
value=
"true"
/>
<option
name=
"ATTACH_ON_WAIT_FOR_DEBUGGER"
value=
"false"
/>
<option
name=
"DEBUG_SANDBOX_SDK"
value=
"false"
/>
</Auto>
<Hybrid>
<option
name=
"USE_JAVA_AWARE_DEBUGGER"
value=
"false"
/>
<option
name=
"SHOW_STATIC_VARS"
value=
"true"
/>
<option
name=
"WORKING_DIR"
value=
""
/>
<option
name=
"TARGET_LOGGING_CHANNELS"
value=
"lldb process:gdb-remote packets"
/>
<option
name=
"SHOW_OPTIMIZED_WARNING"
value=
"true"
/>
<option
name=
"ATTACH_ON_WAIT_FOR_DEBUGGER"
value=
"false"
/>
<option
name=
"DEBUG_SANDBOX_SDK"
value=
"false"
/>
</Hybrid>
<Java>
<option
name=
"ATTACH_ON_WAIT_FOR_DEBUGGER"
value=
"false"
/>
<option
name=
"DEBUG_SANDBOX_SDK"
value=
"false"
/>
</Java>
<Native>
<option
name=
"USE_JAVA_AWARE_DEBUGGER"
value=
"false"
/>
<option
name=
"SHOW_STATIC_VARS"
value=
"true"
/>
<option
name=
"WORKING_DIR"
value=
""
/>
<option
name=
"TARGET_LOGGING_CHANNELS"
value=
"lldb process:gdb-remote packets"
/>
<option
name=
"SHOW_OPTIMIZED_WARNING"
value=
"true"
/>
<option
name=
"ATTACH_ON_WAIT_FOR_DEBUGGER"
value=
"false"
/>
<option
name=
"DEBUG_SANDBOX_SDK"
value=
"false"
/>
</Native>
<Profilers>
<option
name=
"ADVANCED_PROFILING_ENABLED"
value=
"false"
/>
<option
name=
"STARTUP_PROFILING_ENABLED"
value=
"false"
/>
<option
name=
"STARTUP_CPU_PROFILING_ENABLED"
value=
"false"
/>
<option
name=
"STARTUP_CPU_PROFILING_CONFIGURATION_NAME"
value=
"Java/Kotlin Method Sample (legacy)"
/>
<option
name=
"STARTUP_NATIVE_MEMORY_PROFILING_ENABLED"
value=
"false"
/>
<option
name=
"NATIVE_MEMORY_SAMPLE_RATE_BYTES"
value=
"2048"
/>
</Profilers>
<option
name=
"DEEP_LINK"
value=
"https://api.yes.com.kh/.well-known/assetlinks.json"
/>
<option
name=
"ACTIVITY"
value=
""
/>
<option
name=
"ACTIVITY_CLASS"
value=
""
/>
<option
name=
"SEARCH_ACTIVITY_IN_GLOBAL_SCOPE"
value=
"false"
/>
<option
name=
"SKIP_ACTIVITY_VALIDATION"
value=
"false"
/>
<method
v=
"2"
>
<option
name=
"Android.Gradle.BeforeRunTask"
enabled=
"true"
/>
</method>
</configuration>
<configuration
name=
"app"
type=
"AndroidRunConfigurationType"
factoryName=
"Android App"
>
<component
name=
"RunManager"
>
<configuration
name=
"app"
type=
"AndroidRunConfigurationType"
factoryName=
"Android App"
activateToolWindowBeforeRun=
"false"
>
<module
name=
"seatel.app"
/>
<option
name=
"ANDROID_RUN_CONFIGURATION_SCHEMA_VERSION"
value=
"1"
/>
<option
name=
"DEPLOY"
value=
"true"
/>
...
...
@@ -984,7 +926,39 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1752131527204
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"3"
/>
<task
id=
"LOCAL-00003"
summary=
"using viewpager2 instead auto image slider"
>
<option
name=
"closed"
value=
"true"
/>
<created>
1752132225020
</created>
<option
name=
"number"
value=
"00003"
/>
<option
name=
"presentableId"
value=
"LOCAL-00003"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1752132225020
</updated>
</task>
<task
id=
"LOCAL-00004"
summary=
"enhance home fragment."
>
<option
name=
"closed"
value=
"true"
/>
<created>
1752133505746
</created>
<option
name=
"number"
value=
"00004"
/>
<option
name=
"presentableId"
value=
"LOCAL-00004"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1752133505746
</updated>
</task>
<task
id=
"LOCAL-00005"
summary=
"enhance home fragment."
>
<option
name=
"closed"
value=
"true"
/>
<created>
1752135590346
</created>
<option
name=
"number"
value=
"00005"
/>
<option
name=
"presentableId"
value=
"LOCAL-00005"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1752135590346
</updated>
</task>
<task
id=
"LOCAL-00006"
summary=
"enhance home fragment."
>
<option
name=
"closed"
value=
"true"
/>
<created>
1752138008359
</created>
<option
name=
"number"
value=
"00006"
/>
<option
name=
"presentableId"
value=
"LOCAL-00006"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1752138008359
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"7"
/>
<servers
/>
</component>
<component
name=
"Vcs.Log.Tabs.Properties"
>
...
...
@@ -1002,19 +976,21 @@
<MESSAGE
value=
"fix pinfragment and update game"
/>
<MESSAGE
value=
"add header "model""
/>
<MESSAGE
value=
"hide slide show"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"hide slide show"
/>
<MESSAGE
value=
"using viewpager2 instead auto image slider"
/>
<MESSAGE
value=
"enhance home fragment."
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"enhance home fragment."
/>
</component>
<component
name=
"play_dynamic_filters_status"
>
<option
name=
"appIdToCheckInfo"
>
<map>
<entry
key=
"com.seatel.mobilehall"
>
<value>
<CheckInfo
lastCheckTimestamp=
"1752
130483217
"
/>
<CheckInfo
lastCheckTimestamp=
"1752
455782122
"
/>
</value>
</entry>
<entry
key=
"com.seatel.mobilehall.test"
>
<value>
<CheckInfo
lastCheckTimestamp=
"1752
130483217
"
/>
<CheckInfo
lastCheckTimestamp=
"1752
455782150
"
/>
</value>
</entry>
</map>
...
...
app/build.gradle
View file @
2bfe805a
...
...
@@ -46,7 +46,7 @@ android {
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.pro'
signingConfig
signingConfigs
.
release
proguardFile
'/Users/ryan/Documents/Project/Seatel_android_project/sea-tel-android/app/proguard-rules.pro'
ext
.
alwaysUpdateBuildId
=
false
}
debug
{
...
...
@@ -202,7 +202,7 @@ dependencies {
// test
testImplementation
'junit:junit'
androidTestImplementation
'androidx.test.ext:junit:1.
1.3
'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.
4.0
'
androidTestImplementation
'androidx.test.ext:junit:1.
2.1
'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.
6.1
'
}
app/src/main/java/com/seatel/mobilehall/ui/home/adapter/ImageSliderAdapter.kt
View file @
2bfe805a
...
...
@@ -32,7 +32,6 @@ class ImageSliderAdapter(
val
banner
=
newList
[
position
]
Glide
.
with
(
holder
.
itemView
.
context
).
load
(
banner
.
imageUrl
).
into
(
holder
.
binding
.
imageView
)
holder
.
itemView
.
setOnClickListener
(
View
.
OnClickListener
{
println
(
"action action banner"
)
when
(
banner
.
actionType
)
{
"in-app"
->
{
TermsAndConditionsActivity
.
launch
(
...
...
@@ -48,7 +47,6 @@ class ImageSliderAdapter(
})
}
override
fun
getItemCount
():
Int
{
return
newList
.
size
}
...
...
app/src/main/res/layout/activity_outlet_scan_qr.xml
View file @
2bfe805a
...
...
@@ -5,63 +5,21 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<View
android:id=
"@+id/statusBarBackground"
android:layout_width=
"match_parent"
android:layout_height=
"24dp"
android:background=
"@color/colorPrimaryDark"
tools:ignore=
"MissingConstraints"
/>
<androidx.appcompat.widget.Toolbar
android:id=
"@+id/mToolbar"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"@color/colorPrimaryDark"
app:layout_constraintTop_toBottomOf=
"@+id/statusBarBackground"
>
<ImageView
android:id=
"@+id/iv_back"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_left_back"
/>
<ImageView
android:layout_width=
"60dp"
android:layout_height=
"40dp"
android:layout_gravity=
"center"
android:src=
"@drawable/ic_yes_partner"
/>
</androidx.appcompat.widget.Toolbar>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/content_view"
android:layout_width=
"match_parent"
android:layout_height=
"300dp"
android:background=
"@color/colorLightGray"
app:layout_constraintTop_toBottomOf=
"@+id/mToolbar"
>
<!-- 🔥 Set background color -->
<!-- Full Screen Camera Preview (Hidden Behind Overlay) -->
<androidx.camera.view.PreviewView
android:id=
"@+id/scan_qr"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
android:layout_height=
"match_parent"
/>
<!-- Transparent Frame for Camera (200x200) -->
<View
android:id=
"@+id/frame_overlay"
android:layout_width=
"200dp
"
android:layout_height=
"20
0dp"
android:background=
"@drawable/bg_button_stroke_transparent
"
android:layout_width=
"match_parent
"
android:layout_height=
"25
0dp"
android:layout_marginHorizontal=
"13dp
"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<!-- Overlay (Gray Background) -->
<View
android:id=
"@+id/overlay"
android:layout_width=
"match_parent"
...
...
@@ -72,29 +30,56 @@
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@drawable/bg_toolbar_scan"
android:paddingTop=
"24dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
<ImageView
android:id=
"@+id/ivBack"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"10dp"
app:srcCompat=
"@drawable/ic_close_x"
/>
<com.seatel.mobilehall.util.customview.CustomTextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"10dp"
android:text=
"@string/scan_id"
android:textColor=
"@android:color/white"
android:textSize=
"18sp"
/>
</RelativeLayout>
<com.seatel.mobilehall.util.customview.CustomTextView
android:id=
"@+id/tv_scan_out_qr"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/margin_
2
x_size"
android:layout_marginTop=
"@dimen/margin_
3
x_size"
android:gravity=
"center_horizontal"
android:text=
"Scan Outlet QR code"
android:textColor=
"@color/white"
android:textSize=
"@dimen/large_text_size"
android:textStyle=
"bold"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/
content_view
"
/>
app:layout_constraintTop_toBottomOf=
"@+id/
frame_overlay
"
/>
<com.seatel.mobilehall.util.customview.CustomTextView
android:id=
"@+id/tv_or"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/margin_
5
x_size"
android:layout_marginTop=
"@dimen/margin_
2
x_size"
android:gravity=
"center_horizontal"
android:textStyle=
"bold"
android:text=
"OR"
android:textColor=
"@color/white"
android:textSize=
"@dimen/large_text_size"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
...
...
@@ -112,9 +97,9 @@
android:text=
"Type outlet code"
android:textColor=
"@color/colorPrimary"
android:textSize=
"@dimen/small_text_size"
android:textStyle=
"bold"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/tv_or"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_yes_member.xml
View file @
2bfe805a
...
...
@@ -320,7 +320,7 @@
android:layout_marginEnd=
"@dimen/margin_2x_size"
android:layout_marginBottom=
"@dimen/margin_2x_size"
android:background=
"@drawable/rounded_corner"
android:backgroundTint=
"@color/color
Gra
y"
android:backgroundTint=
"@color/color
Primar
y"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
>
...
...
@@ -336,7 +336,7 @@
android:textSize=
"@dimen/small_text_size"
app:layout_constraintBottom_toBottomOf=
"@+id/iv_qrcode"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"
@+id/iv_qrcode
"
/>
app:layout_constraintTop_toTopOf=
"
parent
"
/>
<ImageView
android:id=
"@+id/iv_qrcode"
...
...
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