|
|
@@ -3,40 +3,71 @@
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/key_list"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="10dp"
|
|
|
- android:layout_weight="1"
|
|
|
- tools:background="@android:color/holo_blue_dark"
|
|
|
- tools:layout_height="150dp" />
|
|
|
+ <Space
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="10dp" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/action_btn_layout"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="6dp"
|
|
|
- android:layout_marginEnd="10dp"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_marginBottom="6dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/delete_btn"
|
|
|
- style="@style/keyboard_action_btn"
|
|
|
- android:text="@string/delete" />
|
|
|
+ <com.atmob.keyboard_android.component.PasteBarComponent
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ tools:background="@android:color/holo_red_dark"
|
|
|
+ tools:layout_height="46dp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/clear_btn"
|
|
|
- style="@style/keyboard_action_btn"
|
|
|
+ android:id="@+id/paste_btn"
|
|
|
+ style="@style/keyboard_action_btn2"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
android:layout_marginTop="6dp"
|
|
|
- android:layout_marginBottom="6dp"
|
|
|
- android:text="@string/clear" />
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:text="@string/paste" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/send_btn"
|
|
|
- style="@style/keyboard_action_btn"
|
|
|
- android:text="@string/send" />
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/key_list"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ tools:background="@android:color/holo_blue_dark"
|
|
|
+ tools:layout_height="150dp" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="6dp"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/delete_btn"
|
|
|
+ style="@style/keyboard_action_btn"
|
|
|
+ android:text="@string/delete" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/clear_btn"
|
|
|
+ style="@style/keyboard_action_btn"
|
|
|
+ android:text="@string/clear" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/send_btn"
|
|
|
+ style="@style/keyboard_action_btn"
|
|
|
+ android:text="@string/send" />
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|