Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
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
bp
ShenghuoquanBusiness
Commits
e1e9a629
Commit
e1e9a629
authored
Jun 23, 2021
by
宋永孟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 完善编辑页
parent
2665b187
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
125 additions
and
1 deletion
+125
-1
EditStoreActivity.kt
...m/yidian/shenghuoquan/newscontent/ui/EditStoreActivity.kt
+8
-1
activity_store_edit.xml
...s/newscontent/src/main/res/layout/activity_store_edit.xml
+117
-0
edit_store_arrow.png
...wscontent/src/main/res/mipmap-xxhdpi/edit_store_arrow.png
+0
-0
No files found.
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/EditStoreActivity.kt
View file @
e1e9a629
package
com.yidian.shenghuoquan.newscontent.ui
import
android.os.Bundle
import
android.widget.Toast
import
com.yidian.common.base.BaseActivity
import
com.yidian.shenghuoquan.newscontent.databinding.ActivityStoreEditBinding
import
com.yidian.shenghuoquan.newscontent.databinding.ActivityStoreManagementBinding
/**
* Author: sym
...
...
@@ -17,4 +18,10 @@ class EditStoreActivity : BaseActivity<ActivityStoreEditBinding>() {
override
fun
getXPageName
():
String
{
return
""
}
override
fun
init
(
savedInstanceState
:
Bundle
?)
{
viewBind
.
addressLayout
.
setOnClickListener
{
Toast
.
makeText
(
this
@EditStoreActivity
,
"click"
,
Toast
.
LENGTH_SHORT
).
show
()
}
}
}
Components/newscontent/src/main/res/layout/activity_store_edit.xml
View file @
e1e9a629
...
...
@@ -14,6 +14,123 @@
app:layout_constraintTop_toTopOf=
"parent"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginStart=
"20dp"
android:layout_marginEnd=
"20dp"
android:orientation=
"vertical"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"60dp"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"90dp"
android:layout_height=
"24dp"
android:layout_gravity=
"center_vertical|left"
android:fontFamily=
"PingFangSC"
android:text=
"店名"
android:textColor=
"#4D4C4D"
android:textSize=
"16sp"
/>
<TextView
android:layout_width=
"247dp"
android:layout_height=
"24dp"
android:layout_gravity=
"center_vertical|left"
android:fontFamily=
"PingFangSC"
android:text=
"一点资讯生活号"
android:textColor=
"#FF333333"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_alignParentBottom=
"true"
android:background=
"#f2f2f2"
/>
<LinearLayout
android:id=
"@+id/address_layout"
android:layout_width=
"match_parent"
android:layout_height=
"60dp"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"90dp"
android:layout_height=
"24dp"
android:layout_gravity=
"center_vertical|left"
android:fontFamily=
"PingFangSC"
android:text=
"地址"
android:textColor=
"#4D4C4D"
android:textSize=
"16sp"
/>
<TextView
android:layout_width=
"180dp"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical|left"
android:ellipsize=
"end"
android:fontFamily=
"PingFangSC"
android:maxLines=
"2"
android:text=
"朝阳区恒通国际创新园C7一点资讯北侧C7一点资讯北侧C7..."
android:textColor=
"#FF333333"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
<View
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
/>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:background=
"@mipmap/edit_store_arrow"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_alignParentBottom=
"true"
android:background=
"#f2f2f2"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"60dp"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"90dp"
android:layout_height=
"24dp"
android:layout_gravity=
"center_vertical|left"
android:fontFamily=
"PingFangSC"
android:text=
"联系电话"
android:textColor=
"#4D4C4D"
android:textSize=
"16sp"
/>
<TextView
android:layout_width=
"247dp"
android:layout_height=
"24dp"
android:layout_gravity=
"center_vertical|left"
android:fontFamily=
"PingFangSC"
android:text=
"13093489384"
android:textColor=
"#FF333333"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_alignParentBottom=
"true"
android:background=
"#f2f2f2"
/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
Components/newscontent/src/main/res/mipmap-xxhdpi/edit_store_arrow.png
0 → 100644
View file @
e1e9a629
518 Bytes
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