mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Improving highlight for Clear-all button.
Better shape + now has hover state. Bug: 72222505 Test: Manual Change-Id: I24ba55c760b15d71406a35ea5f7bf54f505741d6
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
<TextView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/clear_all_button"
|
||||
style="@android:style/Widget.DeviceDefault.Button.Borderless"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end|top"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:text="@string/recents_clear_all"
|
||||
android:textColor="?attr/workspaceTextColor"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
@@ -1556,11 +1556,6 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
|
||||
return mDownMotionY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onHoverEvent(android.view.MotionEvent event) {
|
||||
return true;
|
||||
}
|
||||
|
||||
protected interface ComputePageScrollsLogic {
|
||||
|
||||
boolean shouldIncludeView(View view);
|
||||
|
||||
Reference in New Issue
Block a user