Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MiYaFastCashier
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangjiantao
MiYaFastCashier
Commits
7b00871f
Commit
7b00871f
authored
Jun 02, 2022
by
赵鹏翔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础ui抽取
parent
488b87a0
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
68 additions
and
96 deletions
+68
-96
PriceInputActivity.kt
...c/main/java/com/miya/fastcashier/ui/PriceInputActivity.kt
+3
-3
RefundActivity.kt
app/src/main/java/com/miya/fastcashier/ui/RefundActivity.kt
+1
-2
CommonPromptView.java
...in/java/com/miya/fastcashier/widget/CommonPromptView.java
+0
-46
Divider.java
app/src/main/java/com/miya/fastcashier/widget/Divider.java
+0
-3
app_keybord_btn_dark.xml
app/src/main/res/drawable/app_keybord_btn_dark.xml
+0
-5
app_keybord_btn_normal.xml
app/src/main/res/drawable/app_keybord_btn_normal.xml
+0
-7
app_keybord_btn_pressed.xml
app/src/main/res/drawable/app_keybord_btn_pressed.xml
+0
-7
activity_price_input.xml
app/src/main/res/layout/activity_price_input.xml
+1
-1
fragment_search_order.xml
app/src/main/res/layout/fragment_search_order.xml
+1
-1
ic_delete.png
app/src/main/res/mipmap-hdpi/ic_delete.png
+0
-0
build.gradle
lib_common/build.gradle
+5
-0
CommonPromptView.kt
.../com/fastcashier/lib_common/ui/dialog/CommonPromptView.kt
+32
-0
NumberManualDialog.kt
...om/fastcashier/lib_common/ui/dialog/NumberManualDialog.kt
+1
-1
DecimalKeyboard.java
...com/fastcashier/lib_common/ui/widget/DecimalKeyboard.java
+6
-3
NumKeyboard.java
...ava/com/fastcashier/lib_common/ui/widget/NumKeyboard.java
+1
-1
app_selector_keybord_btn.xml
...common/src/main/res/drawable/app_selector_keybord_btn.xml
+2
-2
app_dialog_number_input.xml
lib_common/src/main/res/layout/app_dialog_number_input.xml
+1
-1
app_layout_keyboard_decimal.xml
...ommon/src/main/res/layout/app_layout_keyboard_decimal.xml
+13
-13
layout_common_prompt_view.xml
lib_common/src/main/res/layout/layout_common_prompt_view.xml
+0
-0
app_bg_common_empty.png
lib_common/src/main/res/mipmap-hdpi/app_bg_common_empty.png
+0
-0
colors.xml
lib_common/src/main/res/values/colors.xml
+1
-0
No files found.
app/src/main/java/com/miya/fastcashier/ui/PriceInputActivity.kt
View file @
7b00871f
...
@@ -9,6 +9,8 @@ import androidx.lifecycle.ViewModelProvider
...
@@ -9,6 +9,8 @@ import androidx.lifecycle.ViewModelProvider
import
com.fastcashier.lib_common.base.BaseActivity
import
com.fastcashier.lib_common.base.BaseActivity
import
com.fastcashier.lib_common.config.IntentExtra
import
com.fastcashier.lib_common.config.IntentExtra
import
com.fastcashier.lib_common.ui.dialog.CommonDialog
import
com.fastcashier.lib_common.ui.dialog.CommonDialog
import
com.fastcashier.lib_common.ui.widget.DecimalKeyboard.DELETE
import
com.fastcashier.lib_common.ui.widget.DecimalKeyboard.DOT
import
com.fastcashier.lib_common.util.StringPriceFormatUtils
import
com.fastcashier.lib_common.util.StringPriceFormatUtils
import
com.fastcashier.lib_common.util.clickWithTrigger
import
com.fastcashier.lib_common.util.clickWithTrigger
import
com.miya.fastcashier.R
import
com.miya.fastcashier.R
...
@@ -18,13 +20,11 @@ import com.miya.fastcashier.ui.dialog.PayChooseDialog.GeneratePayCodeClickListen
...
@@ -18,13 +20,11 @@ import com.miya.fastcashier.ui.dialog.PayChooseDialog.GeneratePayCodeClickListen
import
com.miya.fastcashier.utils.CenterToasty
import
com.miya.fastcashier.utils.CenterToasty
import
com.miya.fastcashier.utils.WordUtil
import
com.miya.fastcashier.utils.WordUtil
import
com.miya.fastcashier.viewmodel.PayViewModel
import
com.miya.fastcashier.viewmodel.PayViewModel
import
com.miya.fastcashier.widget.DecimalKeyboard.DELETE
import
com.miya.fastcashier.widget.DecimalKeyboard.DOT
import
com.sdy.miya.moblie.component.pay.platform.bean.PayServiceResponse
import
com.sdy.miya.moblie.component.pay.platform.bean.PayServiceResponse
import
java.math.BigDecimal
import
java.math.BigDecimal
class
PriceInputActivity
:
BaseActivity
()
{
class
PriceInputActivity
:
BaseActivity
()
{
private
lateinit
var
viewModel
:
PayViewModel
private
lateinit
var
viewModel
:
PayViewModel
private
lateinit
var
binding
:
ActivityPriceInputBinding
private
lateinit
var
binding
:
ActivityPriceInputBinding
...
...
app/src/main/java/com/miya/fastcashier/ui/RefundActivity.kt
View file @
7b00871f
...
@@ -65,8 +65,7 @@ class RefundActivity : BaseActivity() {
...
@@ -65,8 +65,7 @@ class RefundActivity : BaseActivity() {
llBack
.
clickWithTrigger
{
finish
()
}
llBack
.
clickWithTrigger
{
finish
()
}
val
ivRefundManualInput
=
binding
.
ivRefundManualInput
binding
.
ivRefundManualInput
.
clickWithTrigger
{
ivRefundManualInput
.
clickWithTrigger
{
if
(
numberManualDialog
==
null
)
{
if
(
numberManualDialog
==
null
)
{
numberManualDialog
=
NumberManualDialog
(
this
);
numberManualDialog
=
NumberManualDialog
(
this
);
numberManualDialog
!!
.
setNumberInputListener
(
object
:
numberManualDialog
!!
.
setNumberInputListener
(
object
:
...
...
app/src/main/java/com/miya/fastcashier/widget/CommonPromptView.java
deleted
100644 → 0
View file @
488b87a0
package
com
.
miya
.
fastcashier
.
widget
;
import
android.content.Context
;
import
android.util.AttributeSet
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
com.miya.fastcashier.R
;
import
com.miya.fastcashier.databinding.LayoutCommonPromptViewBinding
;
import
org.jetbrains.annotations.NotNull
;
import
androidx.annotation.NonNull
;
import
androidx.annotation.Nullable
;
import
androidx.constraintlayout.widget.ConstraintLayout
;
public
class
CommonPromptView
extends
ConstraintLayout
{
private
LayoutCommonPromptViewBinding
viewBinding
;
public
CommonPromptView
(
@NonNull
@NotNull
Context
context
)
{
this
(
context
,
null
);
}
public
CommonPromptView
(
@NonNull
@NotNull
Context
context
,
@Nullable
@org
.
jetbrains
.
annotations
.
Nullable
AttributeSet
attrs
)
{
this
(
context
,
attrs
,
0
);
}
public
CommonPromptView
(
@NonNull
@NotNull
Context
context
,
@Nullable
@org
.
jetbrains
.
annotations
.
Nullable
AttributeSet
attrs
,
int
defStyleAttr
)
{
super
(
context
,
attrs
,
defStyleAttr
);
View
inflate
=
LayoutInflater
.
from
(
getContext
()).
inflate
(
R
.
layout
.
layout_common_prompt_view
,
this
);
viewBinding
=
LayoutCommonPromptViewBinding
.
bind
(
inflate
);
}
public
void
setPromptImage
(
int
imageResId
)
{
viewBinding
.
ivPrompt
.
setImageResource
(
imageResId
);
}
public
void
setPromptText
(
String
text
)
{
viewBinding
.
tvPrompt
.
setText
(
text
);
}
}
app/src/main/java/com/miya/fastcashier/widget/Divider.java
View file @
7b00871f
package
com
.
miya
.
fastcashier
.
widget
;
package
com
.
miya
.
fastcashier
.
widget
;
import
android.content.Context
;
import
android.graphics.Canvas
;
import
android.graphics.Canvas
;
import
android.graphics.Paint
;
import
android.graphics.Paint
;
import
android.view.View
;
import
android.view.View
;
import
androidx.recyclerview.widget.RecyclerView
;
import
androidx.recyclerview.widget.RecyclerView
;
import
com.miya.fastcashier.R
;
/**
/**
* 通用的RecyclerDivider
* 通用的RecyclerDivider
*/
*/
...
...
app/src/main/res/drawable/app_keybord_btn_dark.xml
deleted
100644 → 0
View file @
488b87a0
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:state_pressed=
"true"
android:drawable=
"@drawable/app_keybord_btn_normal"
/>
<item
android:state_pressed=
"false"
android:drawable=
"@drawable/app_keybord_btn_pressed"
/>
</selector>
\ No newline at end of file
app/src/main/res/drawable/app_keybord_btn_normal.xml
deleted
100644 → 0
View file @
488b87a0
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<gradient
android:endColor=
"@color/white"
android:startColor=
"@color/white"
/>
<corners
android:radius=
"8dp"
/>
</shape>
\ No newline at end of file
app/src/main/res/drawable/app_keybord_btn_pressed.xml
deleted
100644 → 0
View file @
488b87a0
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<gradient
android:endColor=
"#E7E7EB"
android:startColor=
"#E7E7EB"
/>
<corners
android:radius=
"8dp"
/>
</shape>
\ No newline at end of file
app/src/main/res/layout/activity_price_input.xml
View file @
7b00871f
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
tools:visibility=
"visible"
tools:visibility=
"visible"
android:textSize=
"26sp"
/>
android:textSize=
"26sp"
/>
<com.
miya.fastcashier
.widget.DecimalKeyboard
<com.
fastcashier.lib_common.ui
.widget.DecimalKeyboard
android:id=
"@+id/numKeyboard"
android:id=
"@+id/numKeyboard"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
...
...
app/src/main/res/layout/fragment_search_order.xml
View file @
7b00871f
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
android:background=
"@color/color_F8F8F8"
android:background=
"@color/color_F8F8F8"
android:layout_height=
"match_parent"
/>
android:layout_height=
"match_parent"
/>
<com.
miya.fastcashier.widget
.CommonPromptView
<com.
fastcashier.lib_common.ui.dialog
.CommonPromptView
android:id=
"@+id/cpEmptyView"
android:id=
"@+id/cpEmptyView"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
...
...
app/src/main/res/mipmap-hdpi/ic_delete.png
deleted
100644 → 0
View file @
488b87a0
938 Bytes
lib_common/build.gradle
View file @
7b00871f
...
@@ -25,6 +25,11 @@ android {
...
@@ -25,6 +25,11 @@ android {
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
}
}
}
}
buildFeatures
{
viewBinding
true
}
compileOptions
{
compileOptions
{
sourceCompatibility
JavaVersion
.
VERSION_1_8
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
...
...
lib_common/src/main/java/com/fastcashier/lib_common/ui/dialog/CommonPromptView.kt
0 → 100644
View file @
7b00871f
package
com.fastcashier.lib_common.ui.dialog
import
android.content.Context
import
android.util.AttributeSet
import
kotlin.jvm.JvmOverloads
import
androidx.constraintlayout.widget.ConstraintLayout
import
android.view.LayoutInflater
import
com.fastcashier.lib_common.R
import
com.fastcashier.lib_common.databinding.LayoutCommonPromptViewBinding
class
CommonPromptView
@JvmOverloads
constructor
(
context
:
Context
,
attrs
:
AttributeSet
?
=
null
,
defStyleAttr
:
Int
=
0
)
:
ConstraintLayout
(
context
,
attrs
,
defStyleAttr
)
{
private
val
viewBinding
:
LayoutCommonPromptViewBinding
init
{
val
inflate
=
LayoutInflater
.
from
(
getContext
()).
inflate
(
R
.
layout
.
layout_common_prompt_view
,
this
)
viewBinding
=
LayoutCommonPromptViewBinding
.
bind
(
inflate
)
}
fun
setPromptImage
(
imageResId
:
Int
)
{
viewBinding
.
ivPrompt
.
setImageResource
(
imageResId
)
}
fun
setPromptText
(
text
:
String
?)
{
viewBinding
.
tvPrompt
.
text
=
text
}
}
\ No newline at end of file
lib_common/src/main/java/com/fastcashier/lib_common/ui/dialog/NumberManualDialog.kt
View file @
7b00871f
...
@@ -10,7 +10,7 @@ import android.widget.Button
...
@@ -10,7 +10,7 @@ import android.widget.Button
import
android.widget.ImageView
import
android.widget.ImageView
import
android.widget.TextView
import
android.widget.TextView
import
com.fastcashier.lib_common.R
import
com.fastcashier.lib_common.R
import
com.fastcashier.lib_common.ui.NumKeyboard
import
com.fastcashier.lib_common.ui.
widget.
NumKeyboard
/**
/**
* 数字键盘
* 数字键盘
...
...
app/src/main/java/com/miya/fastcashier
/widget/DecimalKeyboard.java
→
lib_common/src/main/java/com/fastcashier/lib_common/ui
/widget/DecimalKeyboard.java
View file @
7b00871f
package
com
.
miya
.
fastcashier
.
widget
;
package
com
.
fastcashier
.
lib_common
.
ui
.
widget
;
import
android.content.Context
;
import
android.content.Context
;
import
android.util.AttributeSet
;
import
android.util.AttributeSet
;
import
android.view.LayoutInflater
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.View
;
import
android.widget.Button
;
import
android.widget.Button
;
import
android.widget.LinearLayout
;
import
android.widget.LinearLayout
;
import
com.miya.fastcashier.R
;
import
com.fastcashier.lib_common.R
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
...
@@ -27,7 +30,7 @@ public class DecimalKeyboard extends LinearLayout {
...
@@ -27,7 +30,7 @@ public class DecimalKeyboard extends LinearLayout {
public
DecimalKeyboard
(
Context
context
,
AttributeSet
attrs
)
{
public
DecimalKeyboard
(
Context
context
,
AttributeSet
attrs
)
{
super
(
context
,
attrs
);
super
(
context
,
attrs
);
View
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
keyboard_decimal
,
this
,
true
);
View
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
app_layout_
keyboard_decimal
,
this
,
true
);
buttons
=
new
ArrayList
<>(
12
);
buttons
=
new
ArrayList
<>(
12
);
ClickListener
clickListener
=
new
ClickListener
();
ClickListener
clickListener
=
new
ClickListener
();
btn_7
=
view
.
findViewById
(
R
.
id
.
btn_7
);
btn_7
=
view
.
findViewById
(
R
.
id
.
btn_7
);
...
...
lib_common/src/main/java/com/fastcashier/lib_common/ui/NumKeyboard.java
→
lib_common/src/main/java/com/fastcashier/lib_common/ui/
widget/
NumKeyboard.java
View file @
7b00871f
package
com
.
fastcashier
.
lib_common
.
ui
;
package
com
.
fastcashier
.
lib_common
.
ui
.
widget
;
import
android.content.Context
;
import
android.content.Context
;
import
android.util.AttributeSet
;
import
android.util.AttributeSet
;
...
...
app/src/main/res/drawable/app
_keybord_btn.xml
→
lib_common/src/main/res/drawable/app_selector
_keybord_btn.xml
View file @
7b00871f
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:state_pressed=
"false"
android:drawable=
"@drawable/app_keybord_btn_normal"
/>
<item
android:state_pressed=
"false"
android:drawable=
"@drawable/app_
shape_
keybord_btn_normal"
/>
<item
android:state_pressed=
"true"
android:drawable=
"@drawable/app_keybord_btn_pressed"
/>
<item
android:state_pressed=
"true"
android:drawable=
"@drawable/app_
shape_
keybord_btn_pressed"
/>
</selector>
</selector>
\ No newline at end of file
lib_common/src/main/res/layout/app_dialog_number_input.xml
View file @
7b00871f
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
app:layout_constraintStart_toStartOf=
"@+id/etNumber"
app:layout_constraintStart_toStartOf=
"@+id/etNumber"
app:layout_constraintTop_toBottomOf=
"@+id/etNumber"
/>
app:layout_constraintTop_toBottomOf=
"@+id/etNumber"
/>
<com.fastcashier.lib_common.ui.NumKeyboard
<com.fastcashier.lib_common.ui.
widget.
NumKeyboard
android:id=
"@+id/numKeyboard"
android:id=
"@+id/numKeyboard"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
...
...
app/src/main/res/layout/
keyboard_decimal.xml
→
lib_common/src/main/res/layout/app_layout_
keyboard_decimal.xml
View file @
7b00871f
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"1"
android:text=
"1"
android:textColor=
"#333333"
android:textColor=
"#333333"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:textColor=
"#333333"
android:textColor=
"#333333"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"2"
android:text=
"2"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:textColor=
"#333333"
android:textColor=
"#333333"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"3"
android:text=
"3"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"4"
android:text=
"4"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
android:textColor=
"#333333"
android:textColor=
"#333333"
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"5"
android:text=
"5"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:textColor=
"#333333"
android:textColor=
"#333333"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"6"
android:text=
"6"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
</LinearLayout>
</LinearLayout>
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:textColor=
"#333333"
android:textColor=
"#333333"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"7"
android:text=
"7"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:textColor=
"#333333"
android:textColor=
"#333333"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"8"
android:text=
"8"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:textColor=
"#333333"
android:textColor=
"#333333"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"9"
android:text=
"9"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
</LinearLayout>
</LinearLayout>
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:textColor=
"#333333"
android:textColor=
"#333333"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"0"
android:text=
"0"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:textColor=
"#333333"
android:textColor=
"#333333"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:text=
"."
android:text=
"."
android:paddingBottom=
"30dp"
android:paddingBottom=
"30dp"
android:textSize=
"69sp"
/>
android:textSize=
"69sp"
/>
...
@@ -177,7 +177,7 @@
...
@@ -177,7 +177,7 @@
style=
"@style/Base.Widget.AppCompat.Button.Borderless"
style=
"@style/Base.Widget.AppCompat.Button.Borderless"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/app_keybord_btn"
android:background=
"@drawable/app_
selector_
keybord_btn"
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
android:layout_weight=
"1"
>
android:layout_weight=
"1"
>
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
android:layout_height=
"54dp"
android:layout_height=
"54dp"
android:layout_gravity=
"center"
android:layout_gravity=
"center"
android:scaleType=
"fitXY"
android:scaleType=
"fitXY"
android:src=
"@mipmap/
ic
_delete"
/>
android:src=
"@mipmap/
app_icon
_delete"
/>
</FrameLayout>
</FrameLayout>
</LinearLayout>
</LinearLayout>
...
...
app
/src/main/res/layout/layout_common_prompt_view.xml
→
lib_common
/src/main/res/layout/layout_common_prompt_view.xml
View file @
7b00871f
File moved
app
/src/main/res/mipmap-hdpi/app_bg_common_empty.png
→
lib_common
/src/main/res/mipmap-hdpi/app_bg_common_empty.png
View file @
7b00871f
File moved
lib_common/src/main/res/values/colors.xml
View file @
7b00871f
...
@@ -9,5 +9,6 @@
...
@@ -9,5 +9,6 @@
<color
name=
"transparent"
>
#00000000
</color>
<color
name=
"transparent"
>
#00000000
</color>
<color
name=
"color_323233"
>
#323233
</color>
<color
name=
"color_323233"
>
#323233
</color>
<color
name=
"color_333333"
>
#333333
</color>
</resources>
</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