Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
e3d7e1a2
Commit
e3d7e1a2
authored
Jan 03, 2020
by
严久程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页倾诉和测评位置对调
parent
4701b3f8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
77 additions
and
86 deletions
+77
-86
home_button_banner_view.xml
m-home/src/xlzx/res/layout/home_button_banner_view.xml
+67
-75
home_button_banner_view.xml
m-home/src/ydl/res/layout/home_button_banner_view.xml
+10
-11
No files found.
m-home/src/xlzx/res/layout/home_button_banner_view.xml
View file @
e3d7e1a2
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/ll_home_module_button"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<com.yidianling.home.ui.widget.HomeModuleCategoryView
android:id=
"@+id/home_category_view"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
/>
<LinearLayout
android:layout_marginTop=
"8dp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"15dp"
android:layout_marginTop=
"8dp"
android:layout_marginRight=
"15dp"
android:gravity=
"center_horizontal"
android:orientation=
"horizontal"
android:paddingBottom=
"20dp"
>
android:paddingBottom=
"20dp"
>
<RelativeLayout
...
...
@@ -33,8 +29,7 @@
android:layout_marginRight=
"8dp"
android:layout_weight=
"1"
android:background=
"@drawable/home_dcotor_bt_bg"
android:gravity=
"center"
>
android:gravity=
"center"
>
<TextView
android:id=
"@+id/homeModuleButtonBannerFirstTitle"
...
...
@@ -43,80 +38,43 @@
android:text=
"预约咨询"
android:textColor=
"@color/platform_black"
android:textSize=
"@dimen/platform_dp_16"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
<TextView
android:layout_marginTop=
"2dp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/homeModuleButtonBannerFirstTitle"
android:layout_marginTop=
"2dp"
android:text=
"1W+师资"
android:textColor=
"@color/platform_color_444444"
android:textSize=
"@dimen/platform_dp_11"
/>
android:textSize=
"@dimen/platform_dp_11"
/>
</RelativeLayout>
<RelativeLayout
android:id=
"@+id/homeModuleButtonBanner
Second"
android:id=
"@+id/homeModuleButtonBanner
Fourth"
android:layout_width=
"0dp"
android:layout_height=
"78dp"
android:layout_marginEnd=
"8dp"
android:layout_marginRight=
"8dp"
android:layout_weight=
"1"
android:background=
"@drawable/home_listen_bt_bg"
>
<RelativeLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentLeft=
"true"
android:paddingTop=
"1dp"
android:paddingBottom=
"1dp"
android:paddingLeft=
"5dp"
android:paddingRight=
"5dp"
android:background=
"@drawable/home_button_first_free_bg"
>
</RelativeLayout>
<LinearLayout
android:gravity=
"center_vertical"
android:layout_centerVertical=
"true"
android:orientation=
"vertical"
android:layout_gravity=
"center_horizontal"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
android:layout_gravity=
"center"
android:orientation=
"vertical"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
>
android:gravity=
"center"
>
<TextView
android:layout_gravity=
"center"
android:id=
"@+id/homeModuleButtonBannerSecondTitle"
android:id=
"@+id/homeModuleButtonBannerFourthTitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"即时倾诉"
android:text=
"心理测试"
android:textColor=
"@color/platform_black"
android:textSize=
"@dimen/platform_dp_16"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
<TextView
android:layout_marginTop=
"2dp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/homeModuleButtonBannerSecondTitle"
android:text=
"专业解忧"
android:layout_below=
"@+id/homeModuleButtonBannerFourthTitle"
android:layout_marginTop=
"2dp"
android:text=
"专业权威"
android:textColor=
"@color/platform_color_444444"
android:layout_centerVertical=
"true"
android:textSize=
"@dimen/platform_dp_11"
/>
</LinearLayout>
</LinearLayout>
android:textSize=
"@dimen/platform_dp_11"
/>
</RelativeLayout>
<RelativeLayout
...
...
@@ -137,44 +95,78 @@
android:text=
"心理课堂"
android:textColor=
"@color/platform_black"
android:textSize=
"@dimen/platform_dp_16"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
<TextView
android:layout_marginTop=
"2dp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/homeModuleButtonBannerThirdTitle"
android:layout_marginTop=
"2dp"
android:text=
"送28元礼包"
android:textColor=
"@color/platform_color_444444"
android:textSize=
"@dimen/platform_dp_11"
/>
android:textSize=
"@dimen/platform_dp_11"
/>
</RelativeLayout>
<RelativeLayout
android:id=
"@+id/homeModuleButtonBanner
Fourth"
android:id=
"@+id/homeModuleButtonBanner
Second"
android:layout_width=
"0dp"
android:layout_height=
"78dp"
android:layout_marginEnd=
"8dp"
android:layout_marginRight=
"8dp"
android:layout_weight=
"1"
android:background=
"@drawable/home_test_bt_bg"
android:gravity=
"center"
>
android:background=
"@drawable/home_test_bt_bg"
>
<RelativeLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentLeft=
"true"
android:background=
"@drawable/home_button_first_free_bg"
android:paddingLeft=
"5dp"
android:paddingTop=
"1dp"
android:paddingRight=
"5dp"
android:paddingBottom=
"1dp"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_centerVertical=
"true"
android:layout_gravity=
"center_horizontal"
android:gravity=
"center_vertical"
android:orientation=
"vertical"
>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/homeModuleButtonBannerFourthTitle"
android:id=
"@+id/homeModuleButtonBannerSecondTitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"心理测试"
android:layout_gravity=
"center"
android:text=
"即时倾诉"
android:textColor=
"@color/platform_black"
android:textSize=
"@dimen/platform_dp_16"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
<TextView
android:layout_marginTop=
"2dp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/homeModuleButtonBannerFourthTitle"
android:text=
"专业权威"
android:layout_below=
"@+id/homeModuleButtonBannerSecondTitle"
android:layout_centerVertical=
"true"
android:layout_marginTop=
"2dp"
android:text=
"专业解忧"
android:textColor=
"@color/platform_color_444444"
android:textSize=
"@dimen/platform_dp_11"
/>
android:textSize=
"@dimen/platform_dp_11"
/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
</LinearLayout>
m-home/src/ydl/res/layout/home_button_banner_view.xml
View file @
e3d7e1a2
...
...
@@ -32,26 +32,26 @@
</RelativeLayout>
<RelativeLayout
android:id=
"@+id/homeModuleButtonBanner
Second"
android:id=
"@+id/homeModuleButtonBanner
Fourth"
android:layout_width=
"80dp"
android:layout_height=
"78dp"
android:background=
"@drawable/home_confide_free_icon"
android:gravity=
"center"
>
<TextView
android:id=
"@+id/homeModuleButtonBanner
SecondTitle"
android:id=
"@+id/homeModuleButtonBanner
FourthTitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textStyle=
"bold"
android:textColor=
"@color/platform_color_FFFFFF"
android:textSize=
"@dimen/platform_dp_16"
android:text=
"
即时倾诉"
/>
android:text=
"
心理测试"
/>
<TextView
android:layout_below=
"@+id/homeModuleButtonBanner
SecondTitle"
android:layout_below=
"@+id/homeModuleButtonBanner
FourthTitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/platform_color_FFFFFF"
android:textSize=
"@dimen/platform_dp_12"
android:text=
"
24小时在线"
/>
android:text=
"
抑郁测量"
/>
</RelativeLayout>
<RelativeLayout
...
...
@@ -79,27 +79,26 @@
</RelativeLayout>
<RelativeLayout
android:id=
"@+id/homeModuleButtonBanner
Fourth"
android:id=
"@+id/homeModuleButtonBanner
Second"
android:layout_width=
"80dp"
android:layout_height=
"78dp"
android:background=
"@drawable/home_button_banner_fourth_img_new"
android:gravity=
"center"
>
<TextView
android:id=
"@+id/homeModuleButtonBanner
FourthTitle"
android:id=
"@+id/homeModuleButtonBanner
SecondTitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textStyle=
"bold"
android:textColor=
"@color/platform_color_FFFFFF"
android:textSize=
"@dimen/platform_dp_16"
android:text=
"
心理测试"
/>
android:text=
"
即时倾诉"
/>
<TextView
android:layout_below=
"@+id/homeModuleButtonBanner
FourthTitle"
android:layout_below=
"@+id/homeModuleButtonBanner
SecondTitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/platform_color_FFFFFF"
android:textSize=
"@dimen/platform_dp_12"
android:text=
"
抑郁测量"
/>
android:text=
"
24小时在线"
/>
</RelativeLayout>
</LinearLayout>
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