Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
BlissLauncher
Commits
c1405d9a
Commit
c1405d9a
authored
May 16, 2022
by
Nishith Khanna
Browse files
Merge branch '5427-widget_slider_color' into 'master'
Change widget size slider accent color See merge request
!92
parents
4d01a341
c13b2b63
Pipeline
#186614
failed with stage
in 2 minutes and 1 second
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java
View file @
c1405d9a
...
...
@@ -3282,9 +3282,8 @@ public class LauncherActivity extends AppCompatActivity implements
});
AnimatorSet
set
=
new
AnimatorSet
();
set
.
play
(
ObjectAnimator
.
ofFloat
(
widgetResizeContainer
,
View
.
Y
,
mDeviceProfile
.
availableHeightPx
,
mDeviceProfile
.
availableHeightPx
-
Utilities
.
pxFromDp
(
48
,
this
)));
set
.
play
(
ObjectAnimator
.
ofFloat
(
widgetResizeContainer
,
View
.
TRANSLATION_Y
,
Utilities
.
pxFromDp
(
48
,
this
),
0
));
set
.
setDuration
(
200
);
set
.
setInterpolator
(
new
LinearInterpolator
());
set
.
addListener
(
new
AnimatorListenerAdapter
()
{
...
...
@@ -3368,8 +3367,8 @@ public class LauncherActivity extends AppCompatActivity implements
currentAnimator
.
cancel
();
}
AnimatorSet
set
=
new
AnimatorSet
();
set
.
play
(
ObjectAnimator
.
ofFloat
(
widgetResizeContainer
,
View
.
Y
,
mDeviceProfile
.
availableHeightPx
));
set
.
play
(
ObjectAnimator
.
ofFloat
(
widgetResizeContainer
,
View
.
TRANSLATION_
Y
,
Utilities
.
pxFromDp
(
48
,
this
)
));
set
.
setDuration
(
200
);
set
.
setInterpolator
(
new
LinearInterpolator
());
set
.
addListener
(
new
AnimatorListenerAdapter
()
{
...
...
app/src/main/res/layout/widgets_page.xml
View file @
c1405d9a
...
...
@@ -94,7 +94,9 @@
android:layout_marginLeft=
"8dp"
android:layout_marginRight=
"8dp"
android:layout_toLeftOf=
"@id/max_label"
android:layout_toEndOf=
"@id/min_label"
/>
android:layout_toEndOf=
"@id/min_label"
android:thumbTint=
"@color/accent_color"
android:progressTint=
"@color/accent_color"
/>
<TextView
android:id=
"@+id/max_label"
...
...
app/src/main/res/values/colors.xml
View file @
c1405d9a
...
...
@@ -33,4 +33,5 @@
<color
name=
"folder_preview_background_color"
>
#4dcbcbcb
</color>
<color
name=
"dock_background_color"
>
#26ffffff
</color>
<color
name=
"accent_color"
>
#0086FF
</color>
</resources>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment