Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StatInfo
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
chenyuling
StatInfo
Commits
100eeedc
Commit
100eeedc
authored
Aug 22, 2023
by
chenyuling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改标题
parent
23a41778
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
7 deletions
+9
-7
ConfigDlgFragment.java
...om/srthinker/statinfo/uis/fragment/ConfigDlgFragment.java
+1
-1
activity_main.xml
app/src/main/res/layout/activity_main.xml
+1
-1
dialog_config.xml
app/src/main/res/layout/dialog_config.xml
+4
-4
layout_top.xml
app/src/main/res/layout/layout_top.xml
+1
-1
dimens.xml
app/src/main/res/values/dimens.xml
+1
-0
strings.xml
app/src/main/res/values/strings.xml
+1
-0
No files found.
app/src/main/java/com/srthinker/statinfo/uis/fragment/ConfigDlgFragment.java
View file @
100eeedc
...
@@ -60,7 +60,7 @@ public class ConfigDlgFragment extends DialogFragment {
...
@@ -60,7 +60,7 @@ public class ConfigDlgFragment extends DialogFragment {
private
void
initView
()
{
private
void
initView
()
{
mBinding
.
evAccount
.
initItem
(
"设备账号:"
,
"输入设备账号"
);
mBinding
.
evAccount
.
initItem
(
"设备账号:"
,
"输入设备账号"
);
mBinding
.
evPassword
.
initItem
(
"设备密码:"
,
"输入设备密码"
);
mBinding
.
evPassword
.
initItem
(
"设备密码:"
,
"输入设备密码"
);
mBinding
.
evServerip
.
initItem
(
"设备
IP:"
,
"输入设备
IP"
);
mBinding
.
evServerip
.
initItem
(
"设备
1的IP:"
,
"输入设备1的
IP"
);
mBinding
.
evPassword
.
setInputType
(
InputType
.
TYPE_CLASS_TEXT
|
InputType
.
TYPE_TEXT_VARIATION_PASSWORD
);
mBinding
.
evPassword
.
setInputType
(
InputType
.
TYPE_CLASS_TEXT
|
InputType
.
TYPE_TEXT_VARIATION_PASSWORD
);
if
(
type
==
ENTER_TYPE
){
if
(
type
==
ENTER_TYPE
){
mBinding
.
tvTitle
.
setText
(
"进去设备的配置信息"
);
mBinding
.
tvTitle
.
setText
(
"进去设备的配置信息"
);
...
...
app/src/main/res/layout/activity_main.xml
View file @
100eeedc
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"15dp"
android:layout_marginTop=
"15dp"
android:text=
"
人员管理可视化大屏展示平台
"
android:text=
"
@string/top_time
"
android:textColor=
"@color/color_BDE4FF"
android:textColor=
"@color/color_BDE4FF"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
<TextView
<TextView
...
...
app/src/main/res/layout/dialog_config.xml
View file @
100eeedc
...
@@ -34,23 +34,23 @@
...
@@ -34,23 +34,23 @@
android:id=
"@+id/ev_account"
android:id=
"@+id/ev_account"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"
15dp
"
/>
android:layout_marginTop=
"
@dimen/dlg_margin
"
/>
<com.srthinker.statinfo.wedget.EditView
<com.srthinker.statinfo.wedget.EditView
android:id=
"@+id/ev_password"
android:id=
"@+id/ev_password"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"
15dp
"
/>
android:layout_marginTop=
"
@dimen/dlg_margin
"
/>
<com.srthinker.statinfo.wedget.EditView
<com.srthinker.statinfo.wedget.EditView
android:id=
"@+id/ev_serverip"
android:id=
"@+id/ev_serverip"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"
15dp
"
/>
android:layout_marginTop=
"
@dimen/dlg_margin
"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:gravity=
"center"
android:layout_marginTop=
"15dp"
android:layout_marginTop=
"15dp"
android:layout_marginBottom=
"
32
dp"
android:layout_marginBottom=
"
25
dp"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<Button
<Button
android:id=
"@+id/btn_cancel"
android:id=
"@+id/btn_cancel"
...
...
app/src/main/res/layout/layout_top.xml
View file @
100eeedc
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerInParent=
"true"
android:layout_centerInParent=
"true"
android:text=
"
人员管理可视化大屏展示平台
"
android:text=
"
@string/top_time
"
android:textColor=
"@color/color_BDE4FF"
android:textColor=
"@color/color_BDE4FF"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
<TextView
<TextView
...
...
app/src/main/res/values/dimens.xml
View file @
100eeedc
...
@@ -10,4 +10,5 @@
...
@@ -10,4 +10,5 @@
<dimen
name=
"text_13"
>
13sp
</dimen>
<dimen
name=
"text_13"
>
13sp
</dimen>
<dimen
name=
"text_15"
>
15sp
</dimen>
<dimen
name=
"text_15"
>
15sp
</dimen>
<dimen
name=
"text_11"
>
11sp
</dimen>
<dimen
name=
"text_11"
>
11sp
</dimen>
<dimen
name=
"dlg_margin"
>
10dp
</dimen>
</resources>
</resources>
\ No newline at end of file
app/src/main/res/values/strings.xml
View file @
100eeedc
...
@@ -7,4 +7,5 @@
...
@@ -7,4 +7,5 @@
<string
name=
"select_two"
>
外架班组
</string>
<string
name=
"select_two"
>
外架班组
</string>
<string
name=
"select_three"
>
工地班组
</string>
<string
name=
"select_three"
>
工地班组
</string>
<string
name=
"select_four"
>
监理单位
</string>
<string
name=
"select_four"
>
监理单位
</string>
<string
name=
"top_time"
>
人员管理展示平台
</string>
</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