forked from extern/Unexpected-Keyboard
bf3b9c374e
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.
61 lines
2.6 KiB
XML
61 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<!-- Emoji pane -->
|
|
<style name="emojiTypeButton">
|
|
<item name="android:padding">1px</item>
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:minHeight">18dp</item>
|
|
<item name="android:background">?attr/emoji_button_bg</item>
|
|
<item name="android:textColor">?attr/emoji_key_text</item>
|
|
<item name="android:textSize">18dp</item>
|
|
</style>
|
|
<style name="emojiGridButton">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">fill_parent</item>
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:textSize">@dimen/emoji_text_size</item>
|
|
<item name="android:textColor">?attr/emoji_color</item>
|
|
</style>
|
|
<!-- Clipboard pane -->
|
|
<style name="clipboardEntry">
|
|
<item name="android:layout_weight">1</item>
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_marginHorizontal">14dp</item>
|
|
<item name="android:layout_marginVertical">14dp</item>
|
|
<item name="android:textSize">16dp</item>
|
|
<item name="android:textColor">?attr/colorLabel</item>
|
|
</style>
|
|
<style name="clipboardHeading">
|
|
<item name="android:layout_marginHorizontal">6dp</item>
|
|
<item name="android:layout_marginTop">14dp</item>
|
|
<item name="android:layout_marginBottom">0dp</item>
|
|
<item name="android:textSize">14dp</item>
|
|
<item name="android:fontWeight">700</item>
|
|
<item name="android:textColor">?attr/colorSubLabel</item>
|
|
</style>
|
|
<style name="clipboardEntryButtons">
|
|
<item name="android:orientation">horizontal</item>
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_gravity">center_vertical</item>
|
|
<item name="android:layout_marginRight">12dp</item>
|
|
</style>
|
|
<style name="clipboardEntryButton">
|
|
<item name="android:layout_width">24dp</item>
|
|
<item name="android:layout_height">24dp</item>
|
|
<item name="android:layout_marginHorizontal">2dp</item>
|
|
<item name="android:backgroundTint">?attr/colorLabel</item>
|
|
<item name="android:backgroundTintMode">src_in</item>
|
|
</style>
|
|
<!-- Launcher activity -->
|
|
<style name="paragraph">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_marginVertical">8dp</item>
|
|
<item name="android:layout_marginHorizontal">16dp</item>
|
|
<item name="android:layout_gravity">center</item>
|
|
</style>
|
|
<style name="appTheme" parent="@android:style/Theme.DeviceDefault.DayNight"/>
|
|
</resources>
|