| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <?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"
- android:visibility="gone" />
- <!-- VIP组件 -->
- <com.atmob.keyboard_android.component.VipComponent
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:visibility="gone" />
- <!-- 设置组件 -->
- <com.atmob.keyboard_android.component.SettingComponent
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:visibility="gone" />
- <!-- 键盘组件 -->
- <com.atmob.keyboard_android.component.KeyBoardContainerComponent
- 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"
- android:visibility="gone">
- <!-- 输入框 -->
- <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>
|