手机适配
This commit is contained in:
@@ -9,21 +9,21 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
<LinearLayout
|
||||
android:id="@+id/control_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="@dimen/sw_3dp"
|
||||
android:layout_height="@dimen/sw_50dp"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:paddingStart="@dimen/sw_10dp"
|
||||
android:paddingEnd="@dimen/sw_10dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/key_ai"
|
||||
android:layout_width="34dp"
|
||||
android:layout_height="34dp"
|
||||
android:layout_width="@dimen/sw_34dp"
|
||||
android:layout_height="@dimen/sw_34dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -37,22 +37,21 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/key_revoke"
|
||||
android:layout_width="83dp"
|
||||
android:layout_height="25dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:layout_width="@dimen/sw_83dp"
|
||||
android:layout_height="@dimen/sw_25dp"
|
||||
android:paddingEnd="@dimen/sw_10dp"
|
||||
android:clickable="true"/>
|
||||
|
||||
|
||||
<!-- 收起键盘 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/collapse_button"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_width="@dimen/sw_50dp"
|
||||
android:layout_height="@dimen/sw_50dp"
|
||||
android:gravity="center">
|
||||
<TextView
|
||||
android:id="@+id/Key_collapse"
|
||||
android:layout_width="19dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_width="@dimen/sw_19dp"
|
||||
android:layout_height="@dimen/sw_10dp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -64,12 +63,12 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/completion_scroll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_height="@dimen/sw_50dp"
|
||||
android:layout_marginTop="@dimen/sw_3dp"
|
||||
android:background="@drawable/complete_bg">
|
||||
<HorizontalScrollView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_width="@dimen/sw_0dp"
|
||||
android:layout_height="@dimen/sw_50dp"
|
||||
android:layout_weight="1"
|
||||
android:scrollbars="none"
|
||||
android:overScrollMode="never"
|
||||
@@ -84,21 +83,21 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="4dp"
|
||||
android:paddingEnd="4dp" />
|
||||
android:paddingStart="@dimen/sw_4dp"
|
||||
android:paddingEnd="@dimen/sw_4dp" />
|
||||
</HorizontalScrollView>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/associate_close"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_width="@dimen/sw_40dp"
|
||||
android:layout_height="@dimen/sw_50dp"
|
||||
android:background="@drawable/complete_close_bg"
|
||||
android:gravity="center"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
<ImageView
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_width="@dimen/sw_10dp"
|
||||
android:layout_height="@dimen/sw_10dp"
|
||||
android:src="@drawable/associate_close"/>
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -108,87 +107,87 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_marginTop="@dimen/sw_3dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_q"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
android:gravity="center"/>
|
||||
<TextView
|
||||
android:id="@+id/key_w"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
android:gravity="center"/>
|
||||
<TextView
|
||||
android:id="@+id/key_e"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
android:gravity="center"/>
|
||||
<TextView
|
||||
android:id="@+id/key_r"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
android:gravity="center"/>
|
||||
<TextView
|
||||
android:id="@+id/key_t"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
android:gravity="center"/>
|
||||
<TextView
|
||||
android:id="@+id/key_y"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
android:gravity="center"/>
|
||||
<TextView
|
||||
android:id="@+id/key_u"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
android:gravity="center"/>
|
||||
<TextView
|
||||
android:id="@+id/key_i"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
android:gravity="center"/>
|
||||
<TextView
|
||||
android:id="@+id/key_o"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
android:gravity="center"/>
|
||||
<TextView
|
||||
android:id="@+id/key_p"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -205,8 +204,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_a"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -214,8 +213,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_s"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -223,8 +222,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_d"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -232,8 +231,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_f"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -241,8 +240,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_g"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -250,8 +249,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_h"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -259,8 +258,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_j"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -268,8 +267,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_k"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -277,8 +276,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_l"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -295,9 +294,9 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_up"
|
||||
android:layout_width="42dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_width="@dimen/sw_42dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:layout_marginEnd="@dimen/sw_10dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -305,8 +304,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_z"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -314,8 +313,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_x"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -323,8 +322,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_c"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -332,8 +331,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_v"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -341,8 +340,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_b"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -350,8 +349,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_n"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -359,8 +358,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_m"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_32dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -368,9 +367,9 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_del"
|
||||
android:layout_width="42dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_width="@dimen/sw_42dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:layout_marginStart="@dimen/sw_10dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -388,8 +387,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_123"
|
||||
android:layout_width="42dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_42dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -397,8 +396,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_emoji"
|
||||
android:layout_width="42dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_42dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -406,8 +405,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_space"
|
||||
android:layout_width="177dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_177dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
@@ -415,8 +414,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
<TextView
|
||||
android:id="@+id/key_send"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_width="@dimen/sw_88dp"
|
||||
android:layout_height="@dimen/sw_41dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#A9A9A9"
|
||||
android:clickable="true"
|
||||
|
||||
Reference in New Issue
Block a user