diff options
| author | Jules Aguillon | 2024-07-06 22:16:37 +0200 |
|---|---|---|
| committer | GitHub | 2024-07-06 22:16:37 +0200 |
| commit | bf3b9c374e1e68b1244da392666b571ab37e51fb (patch) | |
| tree | b76bd387664a2b2fc381a2e907795d21016c150d /res/layout/clipboard_pin_entry.xml | |
| parent | 6021a0b83c33a495fedde7bbb751ad3e3754bd98 (diff) | |
| download | unexpected-keyboard-bf3b9c374e1e68b1244da392666b571ab37e51fb.tar.gz unexpected-keyboard-bf3b9c374e1e68b1244da392666b571ab37e51fb.zip | |
Clipboard pane (#681)
This adds the clipboard pane, which allows to save an arbitrary number of
clipboards and to paste them later. The key can be disabled in settings.
Checking the "Recently copied text" checkbox will cause the keyboard to keep a
temporary history of copied text. This history can only contain 3 elements
which expire after 5 minutes.
If this is unchecked, no history is collected.
History entries can be pinned into the persisted list of pins.
Diffstat (limited to 'res/layout/clipboard_pin_entry.xml')
| -rw-r--r-- | res/layout/clipboard_pin_entry.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/layout/clipboard_pin_entry.xml b/res/layout/clipboard_pin_entry.xml new file mode 100644 index 0000000..9cd8b2d --- /dev/null +++ b/res/layout/clipboard_pin_entry.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> + <TextView android:id="@+id/clipboard_pin_text" style="@style/clipboardEntry" android:maxLines="3"/> + <LinearLayout style="@style/clipboardEntryButtons"> + <View android:id="@+id/clipboard_pin_paste" style="@style/clipboardEntryButton" android:background="@drawable/ic_clipboard_paste"/> + <View android:id="@+id/clipboard_pin_remove" style="@style/clipboardEntryButton" android:background="@drawable/ic_delete"/> + </LinearLayout> +</LinearLayout> |
