Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TangKuPos
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
王海
TangKuPos
Commits
adc99e4a
Commit
adc99e4a
authored
Dec 27, 2017
by
姜敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加颜色
parent
e76a4fcd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
89 additions
and
6 deletions
+89
-6
app/src/main/java/com/xingdata/zzdpos/ui/vip/dialog/VipEditMenuDialog.java
.../com/xingdata/zzdpos/ui/vip/dialog/VipEditMenuDialog.java
+6
-0
app/src/main/res/drawable/shape_white.xml
app/src/main/res/drawable/shape_white.xml
+7
-0
app/src/main/res/layout/dialog_vip_menu.xml
app/src/main/res/layout/dialog_vip_menu.xml
+65
-6
app/src/main/res/values/styles.xml
app/src/main/res/values/styles.xml
+11
-0
No files found.
app/src/main/java/com/xingdata/zzdpos/ui/vip/dialog/VipEditMenuDialog.java
View file @
adc99e4a
...
...
@@ -18,5 +18,11 @@ public class VipEditMenuDialog extends BaseSheetDialog<VipPresenter, DialogVipMe
@Override
public
void
initView
()
{
}
@Override
protected
boolean
isTransparentBackground
()
{
return
true
;
}
}
app/src/main/res/drawable/shape_white.xml
0 → 100644
View file @
adc99e4a
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"5dp"
/>
<solid
android:color=
"@color/white"
/>
</shape>
\ No newline at end of file
app/src/main/res/layout/dialog_vip_menu.xml
View file @
adc99e4a
...
...
@@ -2,14 +2,73 @@
<layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<LinearLayout
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"
wrap_cont
ent"
android:background=
"@
drawable/transparent_border
"
android:layout_width=
"
match_par
ent"
android:layout_height=
"
match_par
ent"
android:background=
"@
color/transparent
"
android:orientation=
"vertical"
>
<
TextView
android:layout_width=
"
wrap_cont
ent"
<
LinearLayout
android:layout_width=
"
match_par
ent"
android:layout_height=
"wrap_content"
android:text=
"AAAAAAAAAAAAAAAAAA"
/>
android:layout_margin=
"@dimen/dp_10"
android:background=
"@drawable/shape_white"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
>
<TextView
style=
"@style/default_bluetext_popbutton"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/dtail_hight_5"
android:background=
"@color/white"
android:text=
"编辑会员"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<TextView
style=
"@style/default_bluetext_popbutton"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/dtail_hight_5"
android:background=
"@color/white"
android:text=
"充值会员"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<TextView
style=
"@style/default_bluetext_popbutton"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/dtail_hight_5"
android:background=
"@color/white"
android:text=
"消费记录"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/dp_10"
android:layout_marginTop=
"30dp"
android:background=
"@drawable/shape_white"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
>
<TextView
style=
"@style/default_bluetext_popbutton"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/dtail_hight_5"
android:background=
"@color/white"
android:text=
"取消"
/>
</LinearLayout>
</LinearLayout>
</layout>
\ No newline at end of file
app/src/main/res/values/styles.xml
View file @
adc99e4a
...
...
@@ -43,6 +43,17 @@
<item
name=
"android:textColor"
>
@color/black
</item>
<item
name=
"android:textSize"
>
@dimen/detail_textview_size
</item>
</style>
<style
name=
"default_bluetext_popbutton"
>
<item
name=
"android:layout_width"
>
wrap_content
</item>
<item
name=
"android:layout_height"
>
match_parent
</item>
<item
name=
"android:gravity"
>
center_vertical
</item>
<item
name=
"android:singleLine"
>
true
</item>
<item
name=
"android:padding"
>
@dimen/dp_4
</item>
<item
name=
"android:textColor"
>
@color/blue_mawu
</item>
<item
name=
"android:textSize"
>
@dimen/big_text_size
</item>
</style>
<style
name=
"default_title"
>
<item
name=
"android:gravity"
>
center_vertical
</item>
...
...
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