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
8fef851e
Commit
8fef851e
authored
Jan 17, 2018
by
陈前
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI
parent
a799dab0
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
83 additions
and
43 deletions
+83
-43
app/src/main/java/com/xingdata/zzdpos/ui/statistics/fragment/StatisticsTitleFragment.java
...zdpos/ui/statistics/fragment/StatisticsTitleFragment.java
+3
-0
app/src/main/res/drawable/shape_gray_r2.xml
app/src/main/res/drawable/shape_gray_r2.xml
+1
-1
app/src/main/res/layout/dialog_prompt.xml
app/src/main/res/layout/dialog_prompt.xml
+54
-36
app/src/main/res/layout/fragment_order_main.xml
app/src/main/res/layout/fragment_order_main.xml
+23
-4
app/src/main/res/values/dimens.xml
app/src/main/res/values/dimens.xml
+2
-2
No files found.
app/src/main/java/com/xingdata/zzdpos/ui/statistics/fragment/StatisticsTitleFragment.java
View file @
8fef851e
...
...
@@ -96,6 +96,9 @@ public class StatisticsTitleFragment extends BaseFragment<StatisticsPresenter, F
return
false
;
});
mViewBinding
.
icTitle
.
edTitle
.
setVisibility
(
View
.
GONE
);
mViewBinding
.
icTitle
.
tvTitle
.
setVisibility
(
View
.
VISIBLE
);
mViewBinding
.
icTitle
.
tvTitle
.
setText
(
"订单记录"
);
mViewBinding
.
icTitle
.
ivRight
.
setOnClickListener
(
new
OnClickListener
()
{
@Override
protected
void
myOnClickListener
(
View
v
)
{
...
...
app/src/main/res/drawable/shape_gray_r2.xml
View file @
8fef851e
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"@dimen/
settle_btn
_radius"
/>
<corners
android:radius=
"@dimen/
all_shape
_radius"
/>
<solid
android:color=
"@color/gray_kongming"
/>
</shape>
\ No newline at end of file
app/src/main/res/layout/dialog_prompt.xml
View file @
8fef851e
<?xml version="1.0" encoding="utf-8"?>
<layout>
<layout
xmlns:app=
"http://schemas.android.com/apk/res-auto"
>
<data>
<variable
name=
"onClickListener"
type=
"android.view.View.OnClickListener"
/>
type=
"android.view.View.OnClickListener"
/>
</data>
...
...
@@ -21,10 +21,10 @@
<RelativeLayout
android:layout_width=
"@dimen/prompt_dialog_width"
android:layout_height=
"@dimen/prompt_dialog_height"
android:background=
"@color/
store_back
"
android:background=
"@color/
white_caocao
"
android:gravity=
"center"
android:orientation=
"vertical"
android:paddingTop=
"@dimen/all_margin"
>
>
<LinearLayout
android:layout_width=
"match_parent"
...
...
@@ -33,74 +33,92 @@
android:gravity=
"center"
android:orientation=
"vertical"
>
<com.github.ybq.android.spinkit.SpinKitView
xmlns:app=
"http://schemas.android.com/apk/res-auto"
<com.github.ybq.android.spinkit.SpinKitView
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:id=
"@+id/spin_kit"
style=
"@style/SpinKitView.Circle"
android:layout_width=
"@dimen/prompt_dialog_logo_size"
android:layout_height=
"@dimen/prompt_dialog_logo_size"
android:layout_marginTop=
"@dimen/all_
margin
"
android:layout_marginTop=
"@dimen/all_
padding_left_right
"
android:visibility=
"gone"
app:SpinKit_Color=
"@color/black"
/>
app:SpinKit_Color=
"@color/black"
/>
<ImageView
android:id=
"@+id/iv_logo"
android:layout_width=
"@dimen/prompt_dialog_logo_size"
android:layout_height=
"@dimen/prompt_dialog_logo_size"
android:layout_centerHorizontal=
"true"
android:src=
"@mipmap/prompt_dialog_success"
/>
android:src=
"@mipmap/prompt_dialog_success"
/>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"
70dp
"
>
android:layout_height=
"
@dimen/list2_height
"
>
<TextView
android:id=
"@+id/tv_text"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/all_
margin
"
android:layout_marginTop=
"@dimen/all_
padding_left_right
"
android:gravity=
"center"
android:text=
"正在处理,请稍后."
android:textColor=
"@color/
succ
"
android:textSize=
"@dimen/
text_secondary_title"
/>
android:textColor=
"@color/
black_baozheng
"
android:textSize=
"@dimen/
all_text_size"
/>
</ScrollView>
<Button
android:id=
"@+id/btn_custom"
style=
"@style/button_positive_allradius"
android:layout_width=
"@dimen/dialog_button_width"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"@dimen/all_margin"
android:layout_marginTop=
"@dimen/all_margin"
android:text=
"重新获取"
/>
android:layout_width=
"@dimen/button1_width"
android:layout_height=
"@dimen/button1_height"
android:layout_marginBottom=
"@dimen/all_padding_left_right"
android:text=
"重新获取"
/>
</LinearLayout>
<
Linear
Layout
<
android.support.constraint.Constraint
Layout
android:id=
"@+id/ll_bottom"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_conten
t"
android:layout_height=
"
@dimen/list2_heigh
t"
android:layout_alignParentBottom=
"true"
android:orientation=
"horizontal"
android:visibility=
"gone"
>
<Button
android:id=
"@+id/btn_cancel"
style=
"@style/button_positive_bg_gray_noradius"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"取消"
/>
style=
"@style/button_passive"
android:layout_width=
"@dimen/button1_width"
android:layout_height=
"@dimen/button1_height"
android:text=
"取消"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@id/btn_ok"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<Button
android:id=
"@+id/btn_ok"
style=
"@style/button_positive_noradius"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"确认"
/>
</LinearLayout>
style=
"@style/button_positive"
android:layout_width=
"@dimen/button1_width"
android:layout_height=
"@dimen/button1_height"
android:text=
"确认"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@id/btn_cancel"
app:layout_constraintTop_toTopOf=
"parent"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/view_line_L050"
android:background=
"@color/gray_huanggai"
app:layout_constraintTop_toTopOf=
"parent"
/>
<View
android:layout_width=
"@dimen/view_line_L050"
android:layout_height=
"match_parent"
android:background=
"@color/gray_huanggai"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</android.support.constraint.ConstraintLayout>
</RelativeLayout>
</LinearLayout>
...
...
app/src/main/res/layout/fragment_order_main.xml
View file @
8fef851e
...
...
@@ -5,11 +5,26 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/
gray_zhouyu
"
android:background=
"@color/
white_caocao
"
tools:context=
"com.example.administrator.tangkupos.CasherFragment"
>
<!-- TODO: Update blank fragmfragment_integral_indexyout -->
<EditText
android:id=
"@+id/ed_title"
style=
"@style/searchBarEditor"
android:layout_width=
"match_parent"
android:layout_marginEnd=
"@dimen/all_padding_left_right"
android:layout_marginStart=
"@dimen/all_padding_left_right"
android:layout_marginTop=
"@dimen/padding_small"
android:layout_marginBottom=
"@dimen/padding_small"
android:layout_height=
"30dp"
android:drawablePadding=
"@dimen/all_padding"
android:hint=
"@string/statistics_order_edit_hint"
android:inputType=
"number"
android:textColor=
"@color/black_likui"
android:textSize=
"@dimen/all_text_size_low"
android:layout_below=
"@id/tab_layout"
/>
<android.support.design.widget.TabLayout
android:id=
"@+id/tab_layout"
...
...
@@ -26,7 +41,7 @@
android:id=
"@+id/viewPager_data"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_below=
"@id/
tab_layout
"
android:layout_below=
"@id/
ed_title
"
android:layout_marginTop=
"-1dp"
android:background=
"@color/gray"
>
...
...
@@ -38,6 +53,10 @@
android:layout_height=
"@dimen/view_line_L050"
android:layout_above=
"@id/viewPager_data"
android:background=
"@color/gray_huanggai"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/view_line_L050"
android:layout_above=
"@id/ed_title"
android:background=
"@color/gray_huanggai"
/>
</RelativeLayout>
</layout>
\ No newline at end of file
app/src/main/res/values/dimens.xml
View file @
8fef851e
...
...
@@ -65,8 +65,8 @@
<dimen
name=
"dialog_button_width"
>
190dp
</dimen>
<!--提示对话框-->
<dimen
name=
"prompt_dialog_width"
>
300dp
</dimen>
<dimen
name=
"prompt_dialog_height"
>
2
5
0dp
</dimen>
<dimen
name=
"prompt_dialog_logo_size"
>
64
dp
</dimen>
<dimen
name=
"prompt_dialog_height"
>
2
0
0dp
</dimen>
<dimen
name=
"prompt_dialog_logo_size"
>
48
dp
</dimen>
<!--商品页面-->
<integer
name=
"fragment_store_product_item_span_count"
>
4
</integer>
<integer
name=
"fragment_store_group_item_span_count"
>
7
</integer>
...
...
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