优化:界面布局微调

pull/127/head
pppscn 2 years ago
parent c88b057232
commit 673bac5854

@ -202,7 +202,7 @@
<LinearLayout <LinearLayout
android:id="@+id/layout_cancel_app_notify" android:id="@+id/layout_cancel_app_notify"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="25dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal"> android:orientation="horizontal">

@ -18,7 +18,7 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
android:layout_width="80dp" android:layout_width="70dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="end" android:gravity="end"
android:text="@string/set_name" android:text="@string/set_name"
@ -28,6 +28,7 @@
android:id="@+id/editTextQYWXAppName" android:id="@+id/editTextQYWXAppName"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="5dp"
android:layout_weight="1" android:layout_weight="1"
android:importantForAutofill="no" android:importantForAutofill="no"
android:inputType="text" android:inputType="text"
@ -51,7 +52,7 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
android:layout_width="80dp" android:layout_width="70dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="end" android:gravity="end"
android:text="@string/Corp_ID" android:text="@string/Corp_ID"
@ -76,9 +77,11 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
android:layout_width="80dp" android:layout_width="70dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="end" android:gravity="end"
android:maxLines="1"
android:text="@string/Agent_ID" android:text="@string/Agent_ID"
android:textStyle="bold" /> android:textStyle="bold" />
@ -93,7 +96,6 @@
tools:ignore="LabelFor" /> tools:ignore="LabelFor" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -102,7 +104,7 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
android:layout_width="80dp" android:layout_width="70dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="end" android:gravity="end"
android:text="@string/App_Secret" android:text="@string/App_Secret"
@ -112,7 +114,7 @@
android:id="@+id/editTextQYWXAppSecret" android:id="@+id/editTextQYWXAppSecret"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="10dp" android:layout_marginStart="5dp"
app:showEye="true" /> app:showEye="true" />
</LinearLayout> </LinearLayout>
@ -125,7 +127,7 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
android:layout_width="80dp" android:layout_width="70dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="end" android:gravity="end"
android:text="@string/is_at_all" android:text="@string/is_at_all"
@ -154,7 +156,7 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
android:layout_width="80dp" android:layout_width="70dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="end" android:gravity="end"
android:text="@string/specified_member" android:text="@string/specified_member"

@ -45,14 +45,13 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
android:layout_marginTop="5dp"
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:gravity="center_vertical"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="5dp"
android:text="@string/SmsSimSlot" android:text="@string/SmsSimSlot"
android:textStyle="bold" /> android:textStyle="bold" />

@ -126,13 +126,13 @@
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text='@string/WebNotifyWebParams' android:text='@string/WebNotifyWebParams'
android:textStyle="bold" /> android:textStyle="bold" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/WebNotifyWebParamsTips" android:text="@string/WebNotifyWebParamsTips"
android:textSize="10sp" android:textSize="10sp"
@ -157,16 +157,15 @@
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/WebNotifySecret" android:text="@string/WebNotifySecret"
android:textStyle="bold" /> android:textStyle="bold" />
<com.idormy.sms.forwarder.view.ClearEditText <com.idormy.sms.forwarder.view.ClearEditText
android:id="@+id/editTextWebNotifySecret" android:id="@+id/editTextWebNotifySecret"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="5dp"
app:showEye="true" /> app:showEye="true" />
</LinearLayout> </LinearLayout>

@ -42,7 +42,7 @@
<ImageView <ImageView
android:id="@+id/iv_edit_eye" android:id="@+id/iv_edit_eye"
android:layout_width="45dp" android:layout_width="45dp"
android:layout_height="match_parent" android:layout_height="45dp"
android:contentDescription="@string/todo" android:contentDescription="@string/todo"
android:scaleType="centerInside" android:scaleType="centerInside"
android:src="@drawable/clear_icon_eye_close" android:src="@drawable/clear_icon_eye_close"
@ -50,8 +50,9 @@
<ImageView <ImageView
android:id="@+id/iv_edit_clean" android:id="@+id/iv_edit_clean"
android:layout_width="45dp" android:layout_width="40dp"
android:layout_height="match_parent" android:layout_height="40dp"
android:layout_marginBottom="3dp"
android:contentDescription="@string/todo" android:contentDescription="@string/todo"
android:scaleType="centerInside" android:scaleType="centerInside"
android:src="@drawable/clear_icon_close" android:src="@drawable/clear_icon_close"

@ -149,8 +149,8 @@
<string name="feishu_msg_type_interactive">消息卡片</string> <string name="feishu_msg_type_interactive">消息卡片</string>
<string name="feishu_msg_type_interactive_title">标题模板</string> <string name="feishu_msg_type_interactive_title">标题模板</string>
<string name="Corp_ID">企业ID</string> <string name="Corp_ID">企业ID</string>
<string name="Agent_ID">应用AgentId</string> <string name="Agent_ID">AgentId</string>
<string name="App_Secret">应用Secret</string> <string name="App_Secret">Secret</string>
<string name="is_at_all">是否@all</string> <string name="is_at_all">是否@all</string>
<string name="specified_member">指定成员</string> <string name="specified_member">指定成员</string>
<string name="at_all">\@all</string> <string name="at_all">\@all</string>
@ -179,7 +179,7 @@
<string name="low_power_alarm_threshold">电量预警(%)</string> <string name="low_power_alarm_threshold">电量预警(%)</string>
<string name="low_power_alarm_threshold_tips">取值0990禁用</string> <string name="low_power_alarm_threshold_tips">取值0990禁用</string>
<string name="retry_interval">请求接口失败重试</string> <string name="retry_interval">请求接口失败重试</string>
<string name="retry_interval_tips">次数=0禁用,间隔逐次递增</string> <string name="retry_interval_tips">次数=0禁用间隔逐次递增</string>
<string name="forward_sms">转发短信广播</string> <string name="forward_sms">转发短信广播</string>
<string name="forward_sms_tips">请授予读取短信、通知类短信、发送短信等权限,关闭验证码保护</string> <string name="forward_sms_tips">请授予读取短信、通知类短信、发送短信等权限,关闭验证码保护</string>
<string name="forward_missed_calls">转发通话记录</string> <string name="forward_missed_calls">转发通话记录</string>

Loading…
Cancel
Save