|
|
|
@ -95,6 +95,53 @@
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
style="@style/BarStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/feishu_receive_id_type"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
|
android:id="@+id/rg_receive_id_type"
|
|
|
|
|
style="@style/rg_style"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_receive_id_type_open_id"
|
|
|
|
|
style="@style/rg_rb_style"
|
|
|
|
|
android:text="@string/open_id" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_receive_id_type_user_id"
|
|
|
|
|
style="@style/rg_rb_style"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/user_id" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_receive_id_type_union_id"
|
|
|
|
|
style="@style/rg_rb_style"
|
|
|
|
|
android:text="@string/union_id" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_receive_id_type_email"
|
|
|
|
|
style="@style/rg_rb_style"
|
|
|
|
|
android:text="@string/email" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_receive_id_type_chat_id"
|
|
|
|
|
style="@style/rg_rb_style"
|
|
|
|
|
android:text="@string/chat_id" />
|
|
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
style="@style/BarStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
@ -102,14 +149,14 @@
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="75dp"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="end"
|
|
|
|
|
android:text="@string/user_id"
|
|
|
|
|
android:text="@string/receive_id"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.edittext.materialedittext.MaterialEditText
|
|
|
|
|
android:id="@+id/et_user_id"
|
|
|
|
|
android:id="@+id/et_receive_id"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
@ -153,7 +200,7 @@
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/layout_custom_template"
|
|
|
|
|
android:id="@+id/layout_title_template"
|
|
|
|
|
style="@style/BarStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
@ -188,6 +235,78 @@
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
app:met_clearButton="true" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.button.shadowbutton.RippleShadowShadowButton
|
|
|
|
|
android:id="@+id/bt_insert_sender_to_title"
|
|
|
|
|
style="@style/insertButtonStyle"
|
|
|
|
|
android:text="@string/insert_sender" />
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.button.shadowbutton.RippleShadowShadowButton
|
|
|
|
|
android:id="@+id/bt_insert_extra_to_title"
|
|
|
|
|
style="@style/insertButtonStyle"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:text="@string/insert_extra" />
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.button.shadowbutton.RippleShadowShadowButton
|
|
|
|
|
android:id="@+id/bt_insert_time_to_title"
|
|
|
|
|
style="@style/insertButtonStyle"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:text="@string/insert_time" />
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.button.shadowbutton.RippleShadowShadowButton
|
|
|
|
|
android:id="@+id/bt_insert_device_name_to_title"
|
|
|
|
|
style="@style/insertButtonStyle"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:text="@string/insert_device_name" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/layout_message_card"
|
|
|
|
|
style="@style/BarStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
tools:ignore="RtlSymmetry">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/feishu_msg_type_interactive_message_card"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:text="@string/custom_template_tips"
|
|
|
|
|
android:textSize="@dimen/text_size_mini"
|
|
|
|
|
tools:ignore="SmallSp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.edittext.ClearEditText
|
|
|
|
|
android:id="@+id/et_message_card"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:autofillHints=""
|
|
|
|
|
android:gravity="left|top"
|
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
|
android:minLines="5"
|
|
|
|
|
android:text=""
|
|
|
|
|
tools:ignore="RtlHardcoded,SpeakableTextPresentCheck" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
@ -198,22 +317,28 @@
|
|
|
|
|
style="@style/insertButtonStyle"
|
|
|
|
|
android:text="@string/insert_sender" />
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.button.shadowbutton.RippleShadowShadowButton
|
|
|
|
|
android:id="@+id/bt_insert_content"
|
|
|
|
|
style="@style/insertButtonStyle"
|
|
|
|
|
android:layout_marginStart="3dp"
|
|
|
|
|
android:text="@string/insert_content" />
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.button.shadowbutton.RippleShadowShadowButton
|
|
|
|
|
android:id="@+id/bt_insert_extra"
|
|
|
|
|
style="@style/insertButtonStyle"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_marginStart="3dp"
|
|
|
|
|
android:text="@string/insert_extra" />
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.button.shadowbutton.RippleShadowShadowButton
|
|
|
|
|
android:id="@+id/bt_insert_time"
|
|
|
|
|
style="@style/insertButtonStyle"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_marginStart="3dp"
|
|
|
|
|
android:text="@string/insert_time" />
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.button.shadowbutton.RippleShadowShadowButton
|
|
|
|
|
android:id="@+id/bt_insert_device_name"
|
|
|
|
|
style="@style/insertButtonStyle"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_marginStart="3dp"
|
|
|
|
|
android:text="@string/insert_device_name" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|