Files
lawnchair/res/layout/smartspace_smartspacer.xml
Suphon T a97b1e853c Implement custom popup for Smartspacer (#3716)
* Disable minify for debug

* Show launcher popup when long pressing smartspacer

* Add shortcut to smartspacer settings

* Add missing Smartspacer Popup Options + fixes (#3725)

* - Update Smartspacer client SDK to 1.0.4 (contains fixes for popup handling)
- Added options for dismiss, about & feedback, make them all optional and use the provided launchIntent method as it provides a fallback for invalid intents
- Use original Customise option as fallback if provided options are empty

* Reorder items to match Pixel Launcher

---------

Co-authored-by: Kieron Quinn <quinny898@gmail.com>
2023-11-16 09:35:19 +07:00

28 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<app.lawnchair.smartspace.SmartspacerView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/bc_smartspace_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="@dimen/enhanced_smartspace_margin_start_launcher">
<androidx.viewpager.widget.ViewPager
android:id="@+id/smartspace_card_pager"
android:layout_width="match_parent"
android:layout_height="@dimen/enhanced_smartspace_height"
android:layout_marginBottom="@dimen/smartspace_page_margin_16"
android:layout_gravity="center" />
<com.kieronquinn.app.smartspacer.sdk.client.views.PageIndicator
android:id="@+id/smartspace_page_indicator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|left|center_vertical|center_horizontal|center|start"
android:importantForAccessibility="no"
android:paddingStart="@dimen/page_indicator_padding_start"
android:paddingTop="@dimen/page_indicator_padding_top_bottom"
android:paddingBottom="@dimen/page_indicator_padding_top_bottom"
android:visibility="visible" />
</app.lawnchair.smartspace.SmartspacerView>