Launcher3
Launcher3 copied to clipboard
Please add an option to disable search bar.
for none google users.
+1 from me.
You must understand the goal of this project is to stay as true as possible to the original launcher, so there will never be an option to remove the search bar unless Google adds it in its own Pixel launcher.
What you can do is tweak the project a little by yourself and get rid of the home screen search bar - which I assume is the only place you want it removed.
If that is the case then clone the project, open it in the Android Studio and make the following changes:
(Note: You can comment or remove the relevant code, there is no difference whatsoever)
Comment this line https://github.com/amirzaidi/Launcher3/blob/23203324e3e8ef2bc5ab7f2dedacbebc9672da2d/res/layout/hotseat.xml#L26
Like this
<!--<include layout="@layout/search_container_hotseat" />-->
Comment the usages of the variable hotseatBarBottomPaddingPx
in the following locations
https://github.com/amirzaidi/Launcher3/blob/23203324e3e8ef2bc5ab7f2dedacbebc9672da2d/src/com/android/launcher3/DeviceProfile.java#L234
https://github.com/amirzaidi/Launcher3/blob/23203324e3e8ef2bc5ab7f2dedacbebc9672da2d/src/com/android/launcher3/DeviceProfile.java#L542
https://github.com/amirzaidi/Launcher3/blob/23203324e3e8ef2bc5ab7f2dedacbebc9672da2d/src/com/android/launcher3/DeviceProfile.java#L684
https://github.com/amirzaidi/Launcher3/blob/23203324e3e8ef2bc5ab7f2dedacbebc9672da2d/src/com/android/launcher3/DeviceProfile.java#L695
Like this
+ hotseatBarTopPaddingPx /*+ hotseatBarBottomPaddingPx*/;
/*- hotseatBarBottomPaddingPx*/);
/*hotseatBarBottomPaddingPx +*/ mInsets.bottom + cellLayoutBottomPaddingPx);
/*hotseatBarBottomPaddingPx +*/ mInsets.bottom + cellLayoutBottomPaddingPx);
Connect your device to your computer and run the app through the Android Studio.
If you did everything correctly your launcher should look like this:
If you want a bit less height for the hot seat icons you can do so by commenting the following lines:
https://github.com/amirzaidi/Launcher3/blob/23203324e3e8ef2bc5ab7f2dedacbebc9672da2d/src/com/android/launcher3/DeviceProfile.java#L264-L265
Like this
// int extraSpace = getCellSize().y - iconSizePx - iconDrawablePaddingPx;
// hotseatBarSizePx += extraSpace - pageIndicatorSizePx;
Which will cause the following height reduction:
To prevent the page indicator (white arrow) from peeking at the top behind the status bar when the app drawer is open (if it is happening to you, otherwise this is unnecessary), change this line:
https://github.com/amirzaidi/Launcher3/blob/23203324e3e8ef2bc5ab7f2dedacbebc9672da2d/src/com/android/launcher3/allapps/AllAppsCaretController.java#L84
Into this
if (mLauncher.useVerticalBarLayout()) {
animateCaretToProgress(CaretDrawable.PROGRESS_CARET_POINTING_DOWN);
}
someone can upload the "go" version without the search bar (following the instructions of @Yonezpt
Thank you
@ll0r3nt3 I have made one for you, you can download here.
It's a stupid request. If you don't want it to be like the Pixel launcher, use a different launcher.
@ll0r3nt3 I have made one for you, you can download here.
Can you also please make the normal version? because the go version doesn't have full widget support. Thanks!
I have a custom aosp build here.
@Recaust Do you have any idea how to change the background to dark in the original Launcher3 apk? I'm using an old device. This is my only problem. Rootless Launcher takes 100 MB of RAM while my original Launcher3 takes just 40 MB. If I just could change the white background, I'd appreciate it. Would you be able to do it if I sent my apk or if you could tell me which value to change. Thanks!
Sorry i do not. I followed the information from @Yonezpt above to make my build.
+1
For anyone who needs it, original Launcher3 with transparent background and search bar removed. Launcher3_BlackBG_Search_Removed.zip
@ll0r3nt3 I have made one for you, you can download here.
Can you also please make the normal version? because the go version doesn't have full widget support. Thanks!
I have a custom aosp build here.
Can you make Google search bar in the dock into a different widget like for example DuckDuckGo or etc? Thnx. Also apk link for it. Sorry for the interruption and late reply.
@amirzaidi I understand this is your project and that your vision for this project is to stay as close to AOSP as possible. I appreciate the efforts of you and the community members to accommodate requests like this. I'd personally like an official release on F-Droid that has this change and it seems there are two ways to accomplish this:
- Request an alternate release of the same app with a different version name on F-Droid
- A fork of this project
I'm not familiar enough with F-Droid procedures to know if #1 is even possible. A fork would also allow you to forward people that are requesting new features to the fork, considering the README states:
Bug reports go above all else, and almost every feature request will be denied
Are you opposed to me creating a new project that'll use Launcher3 as an upstream? If you're not opposed, can you please point me to a branch or commit that is the source of your Launcher3_BlackBG_Search_Removed.zip
apk that is linked to here
For anyone who needs it, original Launcher3 with transparent background and search bar removed. Launcher3_BlackBG_Search_Removed.zip
This doesn't install -> "There was an problem parsing this package"
For anyone who needs it, original Launcher3 with transparent background and search bar removed. Launcher3_BlackBG_Search_Removed.zip
This doesn't install -> "There was an problem parsing this package"
Can you install via ADB with "adb install file.apk" and tell me what error you get?
For anyone who needs it, original Launcher3 with transparent background and search bar removed. Launcher3_BlackBG_Search_Removed.zip
This doesn't install -> "There was an problem parsing this package"
Can you install via ADB with "adb install file.apk" and tell me what error you get?
Here:
@ll0r3nt3 I have made one for you, you can download here.
Can you also please make the normal version? because the go version doesn't have full widget support. Thanks!
I have a custom aosp build here.
It seems like you forgot to add back in the option to blacklist/whitelist apps from the app drawer
For anyone who needs it, original Launcher3 with transparent background and search bar removed. Launcher3_BlackBG_Search_Removed.zip
This doesn't install -> "There was an problem parsing this package"
Can you install via ADB with "adb install file.apk" and tell me what error you get?
Sorry for the delay, I went to try this out again today on a different device and same issue (won't install);
Error via adb: adb: failed to install .\Launcher3_BlackBG_Search_Removed.apk: Failure [INSTALL_PARSE_FAILED_NOT_APK: Failed to parse /data/app/vmdl338845290.tmp/base.apk]
For anyone who needs it, original Launcher3 with transparent background and search bar removed. Launcher3_BlackBG_Search_Removed.zip
This doesn't install -> "There was an problem parsing this package"
Can you install via ADB with "adb install file.apk" and tell me what error you get?
Sorry for the delay, I went to try this out again today on a different device and same issue (won't install); Error via adb:
adb: failed to install .\Launcher3_BlackBG_Search_Removed.apk: Failure [INSTALL_PARSE_FAILED_NOT_APK: Failed to parse /data/app/vmdl338845290.tmp/base.apk]
Sorry, my uploaded file was corrupted. I have updated the file in the same post, you can download again. :)
For anyone who needs it, original Launcher3 with transparent background and search bar removed. Launcher3_BlackBG_Search_Removed.zip
This doesn't install -> "There was an problem parsing this package"
Can you install via ADB with "adb install file.apk" and tell me what error you get?
Sorry for the delay, I went to try this out again today on a different device and same issue (won't install); Error via adb:
adb: failed to install .\Launcher3_BlackBG_Search_Removed.apk: Failure [INSTALL_PARSE_FAILED_NOT_APK: Failed to parse /data/app/vmdl338845290.tmp/base.apk]
Sorry, my uploaded file was corrupted. I have updated the file in the same post, you can download again. :)
It still fails to install with the following error:
adb: failed to install /home/user/Downloads/Launcher3_BlackBG_Search_Removed.apk: Failure [INSTALL_PARSE_FAILED_NOT_APK: Failed to parse /data/app/vmdl1927466071.tmp/base.apk]
@ThoriumTextile You downloaded the older apk. This is the newer one. https://github.com/amirzaidi/Launcher3/files/6489146/Launcher3_BlackBG_Search_Removed.zip
@ThoriumTextile You downloaded the older apk. This is the newer one. https://github.com/amirzaidi/Launcher3/files/6489146/Launcher3_BlackBG_Search_Removed.zip
Sorry for the very late reply but this still doesn't install and returns the following error:
Performing Streamed Install
adb: failed to install Downloads/Launcher3_BlackBG_Search_Removed.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
Sorry for the very late reply but this still doesn't install and returns the following error:
Performing Streamed Install adb: failed to install Downloads/Launcher3_BlackBG_Search_Removed.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
Try, adb install -r path-to-apk
If it doesn't work, uninstall the previous version first and install this version.
Sorry for the very late reply but this still doesn't install and returns the following error:
Performing Streamed Install adb: failed to install Downloads/Launcher3_BlackBG_Search_Removed.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
Try,
adb install -r path-to-apk
If it doesn't work, uninstall the previous version first and install this version.
Nope, even with the -r
flag it's giving me the same error. BTW this is on a fresh LineageOS install that i never installed Rootless pixel launcher on.
It's a stupid request. If you don't want it to be like the Pixel launcher, use a different launcher.
Who ever disliked this comment is stupid.
[Launcher3/res/layout/hotseat.xml]
<!--<include layout="@layout/search_container_hotseat" />-->
not avalable in GSI android 12.1 launcher how to edit remove search bar and adjusted padding
It's a stupid request. If you don't want it to be like the Pixel launcher, use a different launcher.
Who ever disliked this comment is stupid.
Good point, actually. Use Lawnchair instead. The constant back-and-forth of arguing here on a practically dead project says a lot about it's author.
lawnchair is not a free app, plus it's not maintained, so it's not a viable alternative
lawnchair is not a free app, plus it's not maintained, so it's not a viable alternative
https://github.com/LawnchairLauncher/lawnchair/releases The f-droid release is decadent, however it's still very much alive. You can also use Neo Launcher if you prefer