Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
HBHAndroid
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
1
Merge Requests
1
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
杨秀秀
HBHAndroid
Commits
9a8e1663
Commit
9a8e1663
authored
Jul 20, 2023
by
小费同学阿
💬
Committed by
杨秀秀
Nov 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业APP
我的页面ui完成(待调接口)
parent
26e700f8
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
455 additions
and
7 deletions
+455
-7
bg_yellow_radius_4.xml
hbhbcompany/src/main/res/drawable/bg_yellow_radius_4.xml
+6
-0
fragment_mine.xml
hbhbcompany/src/main/res/layout/fragment_mine.xml
+392
-7
tab_icon_home_default.png
...ompany/src/main/res/mipmap-hdpi/tab_icon_home_default.png
+0
-0
wode_icon_dianzan.png
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_dianzan.png
+0
-0
wode_icon_huancun.png
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_huancun.png
+0
-0
wode_icon_nantouxiang.png
...ompany/src/main/res/mipmap-hdpi/wode_icon_nantouxiang.png
+0
-0
wode_icon_qingchu.png
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_qingchu.png
+0
-0
wode_icon_xieyi.png
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_xieyi.png
+0
-0
wode_icon_xiugai.png
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_xiugai.png
+0
-0
wode_img_bg.png
hbhbcompany/src/main/res/mipmap-hdpi/wode_img_bg.png
+0
-0
strings.xml
hbhbcompany/src/main/res/values/strings.xml
+22
-0
style.xml
hbhbcompany/src/main/res/values/style.xml
+35
-0
No files found.
hbhbcompany/src/main/res/drawable/bg_yellow_radius_4.xml
0 → 100644
View file @
9a8e1663
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"#E6933F"
/>
<corners
android:radius=
"4dp"
/>
</shape>
\ No newline at end of file
hbhbcompany/src/main/res/layout/fragment_mine.xml
View file @
9a8e1663
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
>
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
>
<data>
<data>
...
@@ -8,7 +9,6 @@
...
@@ -8,7 +9,6 @@
name=
"mineViewModel"
name=
"mineViewModel"
type=
"com.xx.hbhbcompany.ui.mine.MineViewModel"
/>
type=
"com.xx.hbhbcompany.ui.mine.MineViewModel"
/>
</data>
</data>
<androidx.constraintlayout.widget.ConstraintLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
...
@@ -20,13 +20,398 @@
...
@@ -20,13 +20,398 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"0dp"
android:background=
"@color/bg_grey"
android:background=
"@color/bg_grey"
tools:ignore=
"MissingConstraints"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<!--今日卡片-->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"180dp"
android:background=
"@mipmap/wode_img_bg"
android:padding=
"13dp"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:paddingTop=
"50dp"
tools:ignore=
"MissingConstraints"
>
<ImageView
android:layout_width=
"78dp"
android:layout_height=
"78dp"
android:src=
"@mipmap/wode_icon_nantouxiang"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
android:contentDescription=
"TODO"
tools:ignore=
"ContentDescription,HardcodedText"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
tools:ignore=
"MissingConstraints"
>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:layout_marginTop=
"3dp"
android:orientation=
"horizontal"
tools:ignore=
"MissingConstraints"
>
<TextView
style=
"@style/CommText"
android:id=
"@+id/nickName"
android:layout_marginStart=
"16dp"
android:textColor=
"@color/white"
android:text=
"@string/my_name"
android:textSize=
"20sp"
android:textStyle=
"bold"
app:layout_constraintRight_toRightOf=
"@+id/tv_ame_num1"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:layout_width=
"38dp"
android:layout_height=
"20dp"
android:layout_marginStart=
"11dp"
android:background=
"@drawable/bg_yellow_radius_4"
android:gravity=
"center"
android:text=
"@string/supervision"
android:textColor=
"@color/white"
android:textSize=
"13sp"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</LinearLayout>
<TextView
style=
"@style/CommText"
android:layout_marginStart=
"17dp"
android:layout_marginTop=
"21dp"
android:text=
"@string/operation"
android:textColor=
"@color/white"
android:textSize=
"14sp"
app:layout_constraintRight_toRightOf=
"@+id/tv_ame_num1"
app:layout_constraintTop_toTopOf=
"parent"
/>
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<!--上半部分(修改密码,更换手机号)-->
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:padding=
"17dp"
>
<!--修改密码模块-->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"fill_parent"
android:layout_height=
"64dp"
android:background=
"@drawable/bg_top_radius_12"
android:paddingLeft=
"13dp"
android:paddingTop=
"13dp"
android:paddingRight=
"13dp"
>
<!--修改密码模块-->
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_columnSpan=
"2"
android:layout_marginBottom=
"13dp"
android:gravity=
"center"
android:orientation=
"horizontal"
tools:ignore=
"MissingConstraints"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_editor_absoluteY=
"13dp"
>
>
<!--修改密码-图标-->
<ImageView
android:layout_width=
"16dp"
android:layout_height=
"16dp"
android:layout_marginTop=
"1dp"
android:src=
"@mipmap/wode_icon_dianzan"
android:contentDescription=
"TODO"
tools:ignore=
"ContentDescription,HardcodedText"
/>
<!--修改密码-文字-->
<TextView
android:layout_width=
"80dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"12dp"
android:text=
"@string/my_comments"
android:textColor=
"#5A5A5A"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
<ImageView
android:layout_width=
"14dp"
android:layout_height=
"14dp"
android:layout_gravity=
"center"
android:layout_marginStart=
"190dp"
android:src=
"@mipmap/wode_icon_youjiantou"
tools:ignore=
"ContentDescription,HardcodedText,MissingConstraints"
android:contentDescription=
"TODO"
/>
</LinearLayout>
<!--分割线-->
<View
android:layout_width=
"wrap_content"
android:layout_height=
"1dp"
android:layout_marginTop=
"1dp"
android:background=
"@drawable/divider"
app:layout_constraintBottom_toBottomOf=
"parent"
tools:ignore=
"MissingConstraints"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<!--更换手机号模块-->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"fill_parent"
android:layout_height=
"64dp"
android:background=
"@drawable/bg_bottom_radius_12"
android:padding=
"13dp"
>
<!--更换手机号模块-->
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_columnSpan=
"2"
android:gravity=
"center"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
tools:ignore=
"MissingConstraints"
tools:layout_editor_absoluteY=
"13dp"
>
<!--更换手机号-图标-->
<ImageView
android:layout_width=
"16dp"
android:layout_height=
"16dp"
android:layout_marginTop=
"1dp"
android:src=
"@mipmap/wode_icon_dianzan"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
android:contentDescription=
"TODO"
tools:ignore=
"ContentDescription,HardcodedText"
/>
<!--更换手机号-文字-->
<TextView
<TextView
android:layout_width=
"80dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"12dp"
android:text=
"@string/my_like"
android:textColor=
"#5A5A5A"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
<!--arrow右箭头进入-->
<ImageView
android:layout_width=
"14dp"
android:layout_height=
"14dp"
android:layout_gravity=
"center"
android:layout_marginStart=
"190dp"
android:src=
"@mipmap/wode_icon_youjiantou"
app:layout_constraintRight_toRightOf=
"parent"
tools:ignore=
"ContentDescription,HardcodedText,MissingConstraints"
android:contentDescription=
"TODO"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
<!--下半部分(隐私协议,清除缓存,检查更新)-->
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"392dp"
android:orientation=
"vertical"
android:padding=
"17dp"
>
<!--隐私协议模块-->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"fill_parent"
android:layout_height=
"64dp"
android:background=
"@drawable/bg_top_radius_12"
android:paddingLeft=
"13dp"
android:paddingTop=
"13dp"
android:paddingRight=
"13dp"
>
<!--隐私协议模块-->
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_columnSpan=
"2"
android:layout_marginBottom=
"13dp"
android:gravity=
"center"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_editor_absoluteY=
"13dp"
tools:ignore=
"MissingConstraints"
>
<!--隐私协议-图标-->
<ImageView
android:layout_width=
"16dp"
android:layout_height=
"16dp"
android:layout_marginTop=
"1dp"
android:src=
"@mipmap/wode_icon_xieyi"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
android:contentDescription=
"TODO"
tools:ignore=
"ContentDescription,HardcodedText"
/>
<!--隐私协议-文字-->
<TextView
android:layout_width=
"80dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"12dp"
android:text=
"@string/privacy_agreement"
android:textColor=
"#5A5A5A"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
<!--arrow右箭头进入-->
<ImageView
android:layout_width=
"14dp"
android:layout_height=
"14dp"
android:layout_gravity=
"center"
android:layout_marginStart=
"190dp"
android:src=
"@mipmap/wode_icon_youjiantou"
app:layout_constraintRight_toRightOf=
"parent"
tools:ignore=
"ContentDescription,HardcodedText,MissingConstraints"
android:contentDescription=
"TODO"
/>
</LinearLayout>
<!--分割线-->
<View
android:layout_width=
"wrap_content"
android:layout_height=
"1dp"
android:layout_marginTop=
"1dp"
android:background=
"@drawable/divider"
app:layout_constraintBottom_toBottomOf=
"parent"
tools:ignore=
"MissingConstraints"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<!--清除缓存模块-->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"fill_parent"
android:layout_height=
"64dp"
android:background=
"@drawable/bg_mid_radius_12"
android:paddingLeft=
"13dp"
android:paddingTop=
"13dp"
android:paddingRight=
"13dp"
>
<!--清除缓存模块-->
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_columnSpan=
"2"
android:layout_marginBottom=
"13dp"
android:gravity=
"center"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_editor_absoluteY=
"13dp"
tools:ignore=
"MissingConstraints"
>
<!--清除缓存-图标-->
<ImageView
android:layout_width=
"16dp"
android:layout_height=
"16dp"
android:layout_marginTop=
"1dp"
android:src=
"@mipmap/wode_icon_qingchu"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
android:contentDescription=
"TODO"
tools:ignore=
"ContentDescription,HardcodedText"
/>
<!--清除缓存-文字-->
<TextView
android:layout_width=
"80dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"12dp"
android:text=
"@string/clear_cache"
android:textColor=
"#5A5A5A"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
<!--arrow右箭头进入-->
<ImageView
android:layout_width=
"14dp"
android:layout_height=
"14dp"
android:layout_gravity=
"center"
android:layout_marginStart=
"190dp"
android:src=
"@mipmap/wode_icon_youjiantou"
app:layout_constraintRight_toRightOf=
"parent"
tools:ignore=
"ContentDescription,HardcodedText,MissingConstraints"
android:contentDescription=
"TODO"
/>
</LinearLayout>
<!--分割线-->
<View
android:layout_width=
"wrap_content"
android:layout_height=
"1dp"
android:layout_marginTop=
"1dp"
android:background=
"@drawable/divider"
app:layout_constraintBottom_toBottomOf=
"parent"
tools:ignore=
"MissingConstraints"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<!--检查更新模块-->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"fill_parent"
android:layout_height=
"64dp"
android:background=
"@drawable/bg_bottom_radius_12"
android:padding=
"13dp"
>
<!--检查更新模块-->
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_columnSpan=
"2"
android:gravity=
"center"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_editor_absoluteY=
"13dp"
tools:ignore=
"MissingConstraints"
>
<!--检查更新-图标-->
<ImageView
android:layout_width=
"16dp"
android:layout_height=
"16dp"
android:layout_marginTop=
"1dp"
android:src=
"@mipmap/wode_icon_huancun"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
android:contentDescription=
"TODO"
tools:ignore=
"ContentDescription,HardcodedText"
/>
<!--检查更新-文字-->
<TextView
android:layout_width=
"80dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"我的页面"
/>
android:layout_marginStart=
"12dp"
android:text=
"@string/check_for_updates"
android:textColor=
"#5A5A5A"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
<!--arrow右箭头进入-->
<TextView
android:layout_width=
"118dp"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginStart=
"87dp"
android:text=
"@string/current_version"
android:textColor=
"#757575"
android:textSize=
"16sp"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<!-- 退出登录-->
<androidx.appcompat.widget.AppCompatButton
android:layout_width=
"165dp"
android:layout_height=
"48dp"
android:layout_gravity=
"center"
android:layout_marginTop=
"31dp"
android:background=
"@drawable/bg_white_radius_24"
android:text=
"@string/log_out"
android:textColor=
"#5971A4"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
</layout>
\ No newline at end of file
hbhbcompany/src/main/res/mipmap-hdpi/tab_icon_home_default.png
View replaced file @
26e700f8
View file @
9a8e1663
459 Bytes
|
W:
|
H:
2.39 KB
|
W:
|
H:
2-up
Swipe
Onion skin
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_dianzan.png
0 → 100644
View file @
9a8e1663
2.12 KB
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_huancun.png
0 → 100644
View file @
9a8e1663
3.31 KB
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_nantouxiang.png
0 → 100644
View file @
9a8e1663
17.1 KB
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_qingchu.png
0 → 100644
View file @
9a8e1663
1.1 KB
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_xieyi.png
0 → 100644
View file @
9a8e1663
1.1 KB
hbhbcompany/src/main/res/mipmap-hdpi/wode_icon_xiugai.png
0 → 100644
View file @
9a8e1663
2.16 KB
hbhbcompany/src/main/res/mipmap-hdpi/wode_img_bg.png
0 → 100644
View file @
9a8e1663
105 KB
hbhbcompany/src/main/res/values/strings.xml
View file @
9a8e1663
...
@@ -55,6 +55,28 @@
...
@@ -55,6 +55,28 @@
<string
name=
"order_management"
>
订单管理
</string>
<string
name=
"order_management"
>
订单管理
</string>
<!--我的-->
<!--我的-->
<string
name=
"navigation_mine"
>
我的
</string>
<string
name=
"navigation_mine"
>
我的
</string>
<!--我的模块 王小丫-->
<string
name=
"my_name"
>
王小丫
</string>
<!--我的模块 督导-->
<string
name=
"supervision"
>
督导
</string>
<!--我的模块 运营部-->
<string
name=
"operation"
>
运营部
</string>
<!--我的模块 我的评论-->
<string
name=
"my_comments"
>
我的评论
</string>
<!--我的模块 我的点赞-->
<string
name=
"my_like"
>
我的点赞
</string>
<!--我的模块 修改密码-->
<string
name=
"change_password"
>
修改密码
</string>
<!--我的模块 隐私协议-->
<string
name=
"privacy_agreement"
>
隐私协议
</string>
<!--我的模块 清除缓存-->
<string
name=
"clear_cache"
>
清除缓存
</string>
<!--我的模块 检查更新-->
<string
name=
"check_for_updates"
>
检查更新
</string>
<!--我的模块 当前版本V1.0.0-->
<string
name=
"current_version"
>
当前版本V1.0.0
</string>
<!--我的模块 退出登录-->
<string
name=
"log_out"
>
退出登录
</string>
<string
name=
"lorem_ipsum"
>
<string
name=
"lorem_ipsum"
>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam in scelerisque sem. Mauris
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam in scelerisque sem. Mauris
volutpat, dolor id interdum ullamcorper, risus dolor egestas lectus, sit amet mattis purus
volutpat, dolor id interdum ullamcorper, risus dolor egestas lectus, sit amet mattis purus
...
...
hbhbcompany/src/main/res/values/style.xml
0 → 100644
View file @
9a8e1663
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style
name=
"BaseWrapView"
>
<item
name=
"android:layout_width"
>
wrap_content
</item>
<item
name=
"android:layout_height"
>
wrap_content
</item>
</style>
<style
name=
"BaseBar"
parent=
"Widget.AppCompat.Toolbar"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
55dp
</item>
<item
name=
"navigationIcon"
>
@mipmap/ruzhu_icon_fanhui
</item>
<item
name=
"android:background"
>
@color/white
</item>
</style>
<style
name=
"CommEdit"
parent=
"Widget.AppCompat.EditText"
>
<item
name=
"android:layout_height"
>
wrap_content
</item>
<item
name=
"android:layout_width"
>
wrap_content
</item>
<item
name=
"android:textSize"
>
16sp
</item>
<item
name=
"android:textColor"
>
@color/black
</item>
</style>
<style
name=
"CommText"
parent=
"Widget.AppCompat.TextView"
>
<item
name=
"android:layout_height"
>
wrap_content
</item>
<item
name=
"android:layout_width"
>
wrap_content
</item>
<item
name=
"android:textSize"
>
16sp
</item>
<!-- <item name="android:textColor">@color/black</item>-->
</style>
<!--环渤海页面按钮-->
<style
name=
"HuanBoHaiBtn"
parent=
"Widget.MaterialComponents.Button"
>
<item
name=
"android:background"
>
@drawable/button_huanbohai_6_selected
</item>
</style>
</resources>
\ No newline at end of file
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