| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="@dimen/keyboard_height"
- android:background="@mipmap/bg_keyboard">
- <com.atmob.keyboard_android.component.LoginComponent
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <com.atmob.keyboard_android.component.VipComponent
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <com.atmob.keyboard_android.component.SettingComponent
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="5dp">
- <!-- 输入框 -->
- <EditText
- android:id="@+id/keyboard_input"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:cursorVisible="false"
- android:focusable="false"
- android:hint="复制过来的文本"
- android:inputType="none"
- android:longClickable="true"
- android:textSize="18sp" />
- <!-- 数字键盘 + 操作按钮 -->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:weightSum="4">
- <GridLayout
- android:id="@+id/number_pad"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="3"
- android:columnCount="3"
- android:padding="5dp"
- android:rowCount="4">
- <!-- 这里原有的静态按钮定义已全部删除 -->
- </GridLayout>
- <!-- 操作按钮 -->
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <Button
- android:id="@+id/btn_paste"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="粘贴" />
- <Button
- android:id="@+id/btn_delete"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="删除" />
- <Button
- android:id="@+id/btn_clear"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="清空" />
- <Button
- android:id="@+id/btn_send"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="发送" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </FrameLayout>
|