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
9e568b02
Commit
9e568b02
authored
Aug 17, 2021
by
张释方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改homefragment
parent
ff7a96fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
85 deletions
+84
-85
fragment_home.xml
app/src/main/res/layout/fragment_home.xml
+84
-85
No files found.
app/src/main/res/layout/fragment_home.xml
View file @
9e568b02
...
...
@@ -17,91 +17,6 @@
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<com.mints.street.widget.ScrollLayout
android:id=
"@+id/scroll_layout"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#00000000"
android:fillViewport=
"true"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@drawable/cursor_bg"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:paddingBottom=
"10dp"
>
<ImageView
android:id=
"@+id/image_under"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"5dp"
android:src=
"@mipmap/icon_content_back"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<com.coorchice.library.SuperTextView
android:id=
"@+id/stb_bg_search"
android:layout_width=
"match_parent"
android:layout_height=
"37dp"
android:layout_marginStart=
"10dp"
android:layout_marginEnd=
"10dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/image_under"
app:stv_corner=
"20dp"
app:stv_solid=
"#F5F9FA"
app:stv_stroke_color=
"#ffe1e1e1"
app:stv_stroke_width=
"1dp"
/>
<ImageView
android:id=
"@+id/im_search"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:src=
"@mipmap/search_icon"
app:layout_constraintBottom_toBottomOf=
"@id/stb_bg_search"
app:layout_constraintStart_toStartOf=
"@id/stb_bg_search"
app:layout_constraintTop_toTopOf=
"@id/stb_bg_search"
/>
<View
android:layout_width=
"0.5dp"
android:layout_height=
"14dp"
android:layout_marginStart=
"16dp"
android:background=
"#A1A3AF"
app:layout_constraintBottom_toBottomOf=
"@id/stb_bg_search"
app:layout_constraintStart_toEndOf=
"@id/im_search"
app:layout_constraintTop_toTopOf=
"@id/stb_bg_search"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"27dp"
android:text=
"搜索境内、境外地址"
android:textColor=
"#A2A4B1"
android:textSize=
"14sp"
app:layout_constraintBottom_toBottomOf=
"@id/stb_bg_search"
app:layout_constraintStart_toEndOf=
"@id/im_search"
app:layout_constraintTop_toTopOf=
"@id/stb_bg_search"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<com.mints.street.widget.ScrollRecyclerView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
app:itemBinding=
"@{viewModel.addressItemBinding}"
app:items=
"@{viewModel.addressList}"
tools:listitem=
"@layout/item_home_button"
>
</com.mints.street.widget.ScrollRecyclerView>
</com.mints.street.widget.ScrollLayout>
<ImageView
android:id=
"@+id/iv_click"
android:layout_width=
"80dp"
...
...
@@ -190,6 +105,90 @@
</LinearLayout>
<com.mints.street.widget.ScrollLayout
android:id=
"@+id/scroll_layout"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#00000000"
android:fillViewport=
"true"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@drawable/cursor_bg"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:paddingBottom=
"10dp"
>
<ImageView
android:id=
"@+id/image_under"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"5dp"
android:src=
"@mipmap/icon_content_back"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<com.coorchice.library.SuperTextView
android:id=
"@+id/stb_bg_search"
android:layout_width=
"match_parent"
android:layout_height=
"37dp"
android:layout_marginStart=
"10dp"
android:layout_marginEnd=
"10dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/image_under"
app:stv_corner=
"20dp"
app:stv_solid=
"#F5F9FA"
app:stv_stroke_color=
"#ffe1e1e1"
app:stv_stroke_width=
"1dp"
/>
<ImageView
android:id=
"@+id/im_search"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:src=
"@mipmap/search_icon"
app:layout_constraintBottom_toBottomOf=
"@id/stb_bg_search"
app:layout_constraintStart_toStartOf=
"@id/stb_bg_search"
app:layout_constraintTop_toTopOf=
"@id/stb_bg_search"
/>
<View
android:layout_width=
"0.5dp"
android:layout_height=
"14dp"
android:layout_marginStart=
"16dp"
android:background=
"#A1A3AF"
app:layout_constraintBottom_toBottomOf=
"@id/stb_bg_search"
app:layout_constraintStart_toEndOf=
"@id/im_search"
app:layout_constraintTop_toTopOf=
"@id/stb_bg_search"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"27dp"
android:text=
"搜索境内、境外地址"
android:textColor=
"#A2A4B1"
android:textSize=
"14sp"
app:layout_constraintBottom_toBottomOf=
"@id/stb_bg_search"
app:layout_constraintStart_toEndOf=
"@id/im_search"
app:layout_constraintTop_toTopOf=
"@id/stb_bg_search"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<com.mints.street.widget.ScrollRecyclerView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
app:itemBinding=
"@{viewModel.addressItemBinding}"
app:items=
"@{viewModel.addressList}"
tools:listitem=
"@layout/item_home_button"
>
</com.mints.street.widget.ScrollRecyclerView>
</com.mints.street.widget.ScrollLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
...
...
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