Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Simple-Sms
Project
Overview
Details
Activity
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
zhangchengbo
Simple-Sms
Commits
d5a72937
Commit
d5a72937
authored
Nov 11, 2024
by
zhangchengbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改项目提示语,修改UI文案大小
parent
2eeaf3d0
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
NewConversationActivity.kt
...in/com/secspace/sms/activities/NewConversationActivity.kt
+1
-1
activity_new_conversation.xml
app/src/main/res/layout/activity_new_conversation.xml
+1
-1
item_suggested_contact.xml
app/src/main/res/layout/item_suggested_contact.xml
+3
-2
strings.xml
app/src/main/res/values-zh-rCN/strings.xml
+3
-4
dimens.xml
app/src/main/res/values/dimens.xml
+1
-1
strings.xml
commons/src/main/res/values-zh-rCN/strings.xml
+1
-1
strings.xml
commons/src/main/res/values-zh-rHK/strings.xml
+1
-1
No files found.
app/src/main/kotlin/com/secspace/sms/activities/NewConversationActivity.kt
View file @
d5a72937
...
@@ -193,7 +193,7 @@ class NewConversationActivity : SimpleActivity() {
...
@@ -193,7 +193,7 @@ class NewConversationActivity : SimpleActivity() {
}
}
private
fun
fillSuggestedContacts
(
callback
:
()
->
Unit
)
{
private
fun
fillSuggestedContacts
(
callback
:
()
->
Unit
)
{
val
privateCursor
=
getMyContactsCursor
(
fa
lse
,
true
)
val
privateCursor
=
getMyContactsCursor
(
fa
voritesOnly
=
false
,
withPhoneNumbersOnly
=
true
)
ensureBackgroundThread
{
ensureBackgroundThread
{
privateContacts
=
MyContactsContentProvider
.
getSimpleContacts
(
this
,
privateCursor
)
privateContacts
=
MyContactsContentProvider
.
getSimpleContacts
(
this
,
privateCursor
)
val
suggestions
=
getSuggestedContacts
(
privateContacts
)
val
suggestions
=
getSuggestedContacts
(
privateContacts
)
...
...
app/src/main/res/layout/activity_new_conversation.xml
View file @
d5a72937
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:hint=
"@string/add_contact_or_number"
android:hint=
"@string/add_contact_or_number"
android:inputType=
"textCapWords"
android:inputType=
"textCapWords"
android:textSize=
"@dimen/
big
_text_size"
/>
android:textSize=
"@dimen/
middle
_text_size"
/>
<ImageView
<ImageView
android:id=
"@+id/new_conversation_confirm"
android:id=
"@+id/new_conversation_confirm"
...
...
app/src/main/res/layout/item_suggested_contact.xml
View file @
d5a72937
...
@@ -22,10 +22,11 @@
...
@@ -22,10 +22,11 @@
android:layout_alignEnd=
"@id/suggested_contact_image"
android:layout_alignEnd=
"@id/suggested_contact_image"
android:ellipsize=
"end"
android:ellipsize=
"end"
android:gravity=
"center_horizontal"
android:gravity=
"center_horizontal"
android:maxLines=
"2"
android:maxLines=
"3"
android:textColor=
"@color/default_widget_bg_color"
android:paddingTop=
"@dimen/medium_margin"
android:paddingTop=
"@dimen/medium_margin"
android:paddingBottom=
"@dimen/medium_margin"
android:paddingBottom=
"@dimen/medium_margin"
android:textSize=
"@dimen/normal_text_size"
android:textSize=
"@dimen/normal_text_size"
tools:text=
"
John
"
/>
tools:text=
""
/>
</RelativeLayout>
</RelativeLayout>
app/src/main/res/values-zh-rCN/strings.xml
View file @
d5a72937
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
</plurals>
</plurals>
<!-- New conversation -->
<!-- New conversation -->
<string
name=
"new_conversation"
>
新的对话
</string>
<string
name=
"new_conversation"
>
新的对话
</string>
<string
name=
"add_contact_or_number"
>
添加联系人或者号码…
</string>
<string
name=
"add_contact_or_number"
>
请输入联系人或手机号码
</string>
<string
name=
"suggestions"
>
建议
</string>
<string
name=
"suggestions"
>
最近联系人
</string>
<!-- Group conversation -->
<!-- Group conversation -->
<string
name=
"members"
>
成员
</string>
<string
name=
"members"
>
成员
</string>
<string
name=
"conversation_name"
>
对话名
</string>
<string
name=
"conversation_name"
>
对话名
</string>
...
@@ -133,4 +133,4 @@
...
@@ -133,4 +133,4 @@
Haven't found some strings? There's more at
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
-->
</resources>
</resources>
\ No newline at end of file
app/src/main/res/values/dimens.xml
View file @
d5a72937
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources>
<dimen
name=
"notification_large_icon_size"
>
72dp
</dimen>
<dimen
name=
"notification_large_icon_size"
>
72dp
</dimen>
<dimen
name=
"bigger_avatar_size"
>
64
dp
</dimen>
<dimen
name=
"bigger_avatar_size"
>
58
dp
</dimen>
<dimen
name=
"play_outline_size"
>
36dp
</dimen>
<dimen
name=
"play_outline_size"
>
36dp
</dimen>
<dimen
name=
"attachment_preview_size"
>
64dp
</dimen>
<dimen
name=
"attachment_preview_size"
>
64dp
</dimen>
<dimen
name=
"attachment_preview_min_height"
>
@dimen/attachment_preview_size
</dimen>
<dimen
name=
"attachment_preview_min_height"
>
@dimen/attachment_preview_size
</dimen>
...
...
commons/src/main/res/values-zh-rCN/strings.xml
View file @
d5a72937
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
<!-- Filters -->
<!-- Filters -->
<string
name=
"filter"
>
过滤
</string>
<string
name=
"filter"
>
过滤
</string>
<string
name=
"filter_pro"
>
过滤 (Pro)
</string>
<string
name=
"filter_pro"
>
过滤 (Pro)
</string>
<string
name=
"no_items_found"
>
找不到任何项目
。
</string>
<string
name=
"no_items_found"
>
未找到匹配信息
。
</string>
<string
name=
"change_filter"
>
更改过滤器
</string>
<string
name=
"change_filter"
>
更改过滤器
</string>
<!-- Permissions -->
<!-- Permissions -->
<string
name=
"no_storage_permissions"
>
请授予存储权限
</string>
<string
name=
"no_storage_permissions"
>
请授予存储权限
</string>
...
...
commons/src/main/res/values-zh-rHK/strings.xml
View file @
d5a72937
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
<!-- Filters -->
<!-- Filters -->
<string
name=
"filter"
>
过滤
</string>
<string
name=
"filter"
>
过滤
</string>
<string
name=
"filter_pro"
>
过滤 (Pro)
</string>
<string
name=
"filter_pro"
>
过滤 (Pro)
</string>
<string
name=
"no_items_found"
>
找不到任何项目
。
</string>
<string
name=
"no_items_found"
>
未找到匹配信息
。
</string>
<string
name=
"change_filter"
>
更改过滤器
</string>
<string
name=
"change_filter"
>
更改过滤器
</string>
<!-- Permissions -->
<!-- Permissions -->
<string
name=
"no_storage_permissions"
>
请授予存储权限
</string>
<string
name=
"no_storage_permissions"
>
请授予存储权限
</string>
...
...
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