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
525d55fd
Commit
525d55fd
authored
Jul 10, 2025
by
Seatel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using viewpager2 instead auto image slider
parent
cc62565f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
58 deletions
+90
-58
workspace.xml
.idea/workspace.xml
+65
-57
fragment_home.xml
app/src/main/res/layout/fragment_home.xml
+25
-1
No files found.
.idea/workspace.xml
View file @
525d55fd
...
...
@@ -612,7 +612,7 @@
<option
name=
"autoReloadType"
value=
"NONE"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"b947e2f9-b70e-404d-b6f9-40fd3f83c1e2"
name=
"Changes"
comment=
"
add header "model"
"
>
<list
default=
"true"
id=
"b947e2f9-b70e-404d-b6f9-40fd3f83c1e2"
name=
"Changes"
comment=
"
hide slide show
"
>
<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/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"
/>
...
...
@@ -620,8 +620,7 @@
<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/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$/app/src/main/java/com/seatel/mobilehall/ui/home/adapter/HomeImageSliderAdapter.kt"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/app/src/main/java/com/seatel/mobilehall/ui/home/adapter/HomeImageSliderAdapter.kt"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/app/src/main/java/com/seatel/mobilehall/ui/home/fragment/HomeFragment.kt"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/app/src/main/java/com/seatel/mobilehall/ui/home/fragment/HomeFragment.kt"
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"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
...
@@ -709,12 +708,12 @@
"
assignee
"
:
"
SatyaBou
"
}
}
</component>
<component
name=
"GithubPullRequestsUISettings"
>
<![CDATA[
{
"selectedUrlAndAccountId"
: {
"url": "https://github.com/seatel/android-yes.git"
,
"accountId": "9a61285e-f98e-4e0f-a75a-c303bd913187"
<component
name=
"GithubPullRequestsUISettings"
>
{
"
selectedUrlAndAccountId
"
: {
"
url
"
:
"
https://github.com/seatel/android-yes.git
"
,
"
accountId
"
:
"
9a61285e-f98e-4e0f-a75a-c303bd913187
"
}
}
]]>
</component>
}
</component>
<component
name=
"MarkdownSettingsMigration"
>
<option
name=
"stateVersion"
value=
"1"
/>
</component>
...
...
@@ -733,56 +732,56 @@
<option
name=
"hideEmptyMiddlePackages"
value=
"true"
/>
<option
name=
"showLibraryContents"
value=
"true"
/>
</component>
<component
name=
"PropertiesComponent"
>
<![CDATA[
{
"keyToString"
: {
"Android App.app.executor": "Run"
,
"ApkExportedModule": "seatel.app"
,
"BundleExportedModule": "seatel.app"
,
"ExportApk.ApkPathForseatel.app": "/Users/seatel/Desktop/yes_apk"
,
"ExportBundle.BundlePathForseatel.app": "/Users/seatel/Desktop/yes_apk"
,
"Gradle.Upgrade Gradle wrapper.executor": "Run"
,
"ResourceManagerPrefKey.ModuleName": "seatel.app.main"
,
"RunOnceActivity.OpenProjectViewOnStart": "true"
,
"RunOnceActivity.ShowReadmeOnStart": "true"
,
"RunOnceActivity.cidr.known.project.marker": "true"
,
"RunOnceActivity.git.unshallow": "true"
,
"RunOnceActivity.readMode.enableVisualFormatting": "true"
,
"SHARE_PROJECT_CONFIGURATION_FILES": "true"
,
"android-custom-view/Users/seatel/.gradle/caches/modules-2/files-2.1/androidx.recyclerview/recyclerview/1.2.1/f0f93e67af3f7417bdd560d5142f6dec4fe629c3/recyclerview-1.2.1-sources.jar!/androidx/recyclerview/widget/RecyclerView.java_SELECTED": "RecyclerView"
,
"android-custom-view/Users/seatel/.gradle/caches/modules-2/files-2.1/com.airbnb.android/lottie/6.0.0/5aee39d6c9bb4328e5d6a48e37f39fbff6c80a92/lottie-6.0.0-sources.jar!/com/airbnb/lottie/LottieAnimationView.java_SELECTED": "LottieAnimationView"
,
"android-custom-view/Users/seatel/.gradle/caches/modules-2/files-2.1/com.google.android.material/material/1.6.1/d4d703885d24c61bc0ec39a9a705969e41d773ef/material-1.6.1-sources.jar!/com/google/android/material/navigation/NavigationBarView.java_SELECTED": "NavigationBarView"
,
"android-custom-view/Users/seatel/Library/Android/sdk/sources/android-33/android/view/View.java_SELECTED": "View"
,
"android-custom-view/Users/seatel/android-yes/app/src/main/java/com/seatel/mobilehall/util/circleprogress/ArcProgress.java_SELECTED": "ArcProgress"
,
"android-custom-view/Users/seatel/android-yes/app/src/main/java/com/seatel/mobilehall/util/customview/CustomButton.kt_SELECTED": "CustomButton"
,
"android-custom-view/Users/seatel/android-yes/app/src/main/java/com/seatel/mobilehall/util/customview/CustomTextView.kt_SELECTED": "CustomTextView"
,
"android-custom-view/Users/seatel/android-yes/app/src/main/java/com/seatel/mobilehall/util/customview/ErrorHandleView.java_SELECTED": "ErrorHandleView"
,
"android-custom-view/Users/seatel/android-yes/app/src/main/java/com/seatel/mobilehall/util/view/ViewDataPackTabFooter.kt_SELECTED": "ViewDataPackTabFooter"
,
"android-custom-view/Users/seatel/seatel_project/android-yes/app/src/main/java/com/seatel/mobilehall/util/CircularFrameLayout.java_SELECTED": "CircularFrameLayout"
,
"android-custom-view/Users/seatel/seatel_project/android-yes/app/src/main/java/com/seatel/mobilehall/util/RoundedPreviewView.java_SELECTED": "RoundedPreviewView"
,
"android-custom-view/Users/seatel/seatel_project/android-yes/app/src/main/java/com/seatel/mobilehall/util/customview/ActivateBuySimView.kt_SELECTED": "ActivateBuySimView"
,
"android-custom-view/Users/seatel/seatel_project/android-yes/app/src/main/java/com/seatel/mobilehall/util/view/ActivateBuySimView.kt_SELECTED": "ActivateBuySimView"
,
"cf.first.check.clang-format": "false"
,
"cidr.known.project.marker": "true"
,
"com.google.services.firebase.aqiPopupShown": "true"
,
"dart.analysis.tool.window.visible": "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"
,
"memory.settings.postsync.last.time.stamp": "1725420718992"
,
"project.structure.last.edited": "SDK Location"
,
"project.structure.proportion": "0.17"
,
"project.structure.side.proportion": "0.2"
,
"run.code.analysis.last.selected.profile": "pProject Default"
,
"settings.editor.selected.configurable": "device.mirroring"
,
"show.migrate.to.gradle.popup": "false"
<component
name=
"PropertiesComponent"
>
{
"
keyToString
"
: {
"
Android App.app.executor
"
:
"
Run
"
,
"
ApkExportedModule
"
:
"
seatel.app
"
,
"
BundleExportedModule
"
:
"
seatel.app
"
,
"
ExportApk.ApkPathForseatel.app
"
:
"
/Users/seatel/Desktop/yes_apk
"
,
"
ExportBundle.BundlePathForseatel.app
"
:
"
/Users/seatel/Desktop/yes_apk
"
,
"
Gradle.Upgrade Gradle wrapper.executor
"
:
"
Run
"
,
"
ResourceManagerPrefKey.ModuleName
"
:
"
seatel.app.main
"
,
"
RunOnceActivity.OpenProjectViewOnStart
"
:
"
true
"
,
"
RunOnceActivity.ShowReadmeOnStart
"
:
"
true
"
,
"
RunOnceActivity.cidr.known.project.marker
"
:
"
true
"
,
"
RunOnceActivity.git.unshallow
"
:
"
true
"
,
"
RunOnceActivity.readMode.enableVisualFormatting
"
:
"
true
"
,
"
SHARE_PROJECT_CONFIGURATION_FILES
"
:
"
true
"
,
"
android-custom-view/Users/seatel/.gradle/caches/modules-2/files-2.1/androidx.recyclerview/recyclerview/1.2.1/f0f93e67af3f7417bdd560d5142f6dec4fe629c3/recyclerview-1.2.1-sources.jar!/androidx/recyclerview/widget/RecyclerView.java_SELECTED
"
:
"
RecyclerView
"
,
"
android-custom-view/Users/seatel/.gradle/caches/modules-2/files-2.1/com.airbnb.android/lottie/6.0.0/5aee39d6c9bb4328e5d6a48e37f39fbff6c80a92/lottie-6.0.0-sources.jar!/com/airbnb/lottie/LottieAnimationView.java_SELECTED
"
:
"
LottieAnimationView
"
,
"
android-custom-view/Users/seatel/.gradle/caches/modules-2/files-2.1/com.google.android.material/material/1.6.1/d4d703885d24c61bc0ec39a9a705969e41d773ef/material-1.6.1-sources.jar!/com/google/android/material/navigation/NavigationBarView.java_SELECTED
"
:
"
NavigationBarView
"
,
"
android-custom-view/Users/seatel/Library/Android/sdk/sources/android-33/android/view/View.java_SELECTED
"
:
"
View
"
,
"
android-custom-view/Users/seatel/android-yes/app/src/main/java/com/seatel/mobilehall/util/circleprogress/ArcProgress.java_SELECTED
"
:
"
ArcProgress
"
,
"
android-custom-view/Users/seatel/android-yes/app/src/main/java/com/seatel/mobilehall/util/customview/CustomButton.kt_SELECTED
"
:
"
CustomButton
"
,
"
android-custom-view/Users/seatel/android-yes/app/src/main/java/com/seatel/mobilehall/util/customview/CustomTextView.kt_SELECTED
"
:
"
CustomTextView
"
,
"
android-custom-view/Users/seatel/android-yes/app/src/main/java/com/seatel/mobilehall/util/customview/ErrorHandleView.java_SELECTED
"
:
"
ErrorHandleView
"
,
"
android-custom-view/Users/seatel/android-yes/app/src/main/java/com/seatel/mobilehall/util/view/ViewDataPackTabFooter.kt_SELECTED
"
:
"
ViewDataPackTabFooter
"
,
"
android-custom-view/Users/seatel/seatel_project/android-yes/app/src/main/java/com/seatel/mobilehall/util/CircularFrameLayout.java_SELECTED
"
:
"
CircularFrameLayout
"
,
"
android-custom-view/Users/seatel/seatel_project/android-yes/app/src/main/java/com/seatel/mobilehall/util/RoundedPreviewView.java_SELECTED
"
:
"
RoundedPreviewView
"
,
"
android-custom-view/Users/seatel/seatel_project/android-yes/app/src/main/java/com/seatel/mobilehall/util/customview/ActivateBuySimView.kt_SELECTED
"
:
"
ActivateBuySimView
"
,
"
android-custom-view/Users/seatel/seatel_project/android-yes/app/src/main/java/com/seatel/mobilehall/util/view/ActivateBuySimView.kt_SELECTED
"
:
"
ActivateBuySimView
"
,
"
cf.first.check.clang-format
"
:
"
false
"
,
"
cidr.known.project.marker
"
:
"
true
"
,
"
com.google.services.firebase.aqiPopupShown
"
:
"
true
"
,
"
dart.analysis.tool.window.visible
"
:
"
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
"
,
"
memory.settings.postsync.last.time.stamp
"
:
"
1725420718992
"
,
"
project.structure.last.edited
"
:
"
SDK Location
"
,
"
project.structure.proportion
"
:
"
0.17
"
,
"
project.structure.side.proportion
"
:
"
0.2
"
,
"
run.code.analysis.last.selected.profile
"
:
"
pProject Default
"
,
"
settings.editor.selected.configurable
"
:
"
device.mirroring
"
,
"
show.migrate.to.gradle.popup
"
:
"
false
"
},
"keyToStringList"
: {
"ExportApk.BuildVariants"
: [
"release"
"
keyToStringList
"
: {
"
ExportApk.BuildVariants
"
: [
"
release
"
]
}
}
]]>
</component>
}
</component>
<component
name=
"PsdUISettings"
>
<option
name=
"LAST_EDITED_BUILD_TYPE"
value=
"release"
/>
</component>
...
...
@@ -977,7 +976,15 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1739158372452
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"2"
/>
<task
id=
"LOCAL-00002"
summary=
"hide slide show"
>
<option
name=
"closed"
value=
"true"
/>
<created>
1752131527204
</created>
<option
name=
"number"
value=
"00002"
/>
<option
name=
"presentableId"
value=
"LOCAL-00002"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1752131527204
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"3"
/>
<servers
/>
</component>
<component
name=
"Vcs.Log.Tabs.Properties"
>
...
...
@@ -994,7 +1001,8 @@
<component
name=
"VcsManagerConfiguration"
>
<MESSAGE
value=
"fix pinfragment and update game"
/>
<MESSAGE
value=
"add header "model""
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"add header "model""
/>
<MESSAGE
value=
"hide slide show"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"hide slide show"
/>
</component>
<component
name=
"play_dynamic_filters_status"
>
<option
name=
"appIdToCheckInfo"
>
...
...
app/src/main/res/layout/fragment_home.xml
View file @
525d55fd
...
...
@@ -217,7 +217,31 @@
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<!-- <com.smarteist.autoimageslider.SliderView-->
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/viewpager_banner"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:background=
"@color/browser_actions_bg_grey"
android:layout_marginStart=
"@dimen/margin_1x_size"
android:layout_marginEnd=
"@dimen/margin_1x_size"
app:layout_constraintBottom_toBottomOf=
"@id/viewpager2"
app:layout_constraintEnd_toEndOf=
"@id/viewpager2"
app:layout_constraintStart_toStartOf=
"@id/viewpager2"
app:layout_constraintTop_toTopOf=
"@id/viewpager2"
/>
<androidx.viewpager2.widget.ViewPager2
android:layout_width=
"match_parent"
android:layout_height=
"112dp"
android:layout_marginStart=
"@dimen/margin_1x_size"
android:layout_marginEnd=
"@dimen/margin_1x_size"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
android:id=
"@+id/viewpager2"
/>
<!-- <com.smarteist.autoimageslider.SliderView-->
<!-- android:id="@+id/homeImageSlider"-->
<!-- android:layout_width="match_parent"-->
<!-- 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