Hiding Home and Back button in Android [duplicate] - android

This question already has answers here:
Hide ICS back home task switcher buttons
(6 answers)
Closed 9 years ago.
I would like my app to hide the Home and Back button which is show at bottom of activity.
I was able to hide the title bar but I am not able to do for Home and Back button.
Is it possible to do it?

Starting from Android 4.4 KitKat, you can use "immersive" full-screen mode. Here's the detail and some sample codes.
https://developer.android.com/training/system-ui/immersive.html

Related

Show Bottom Navigation when Keyboard visible [duplicate]

This question already has answers here:
Android: How do I prevent the soft keyboard from pushing my view up?
(28 answers)
Closed 3 years ago.
I am Using Fragment where I click on EditText the keyboard visible and I need a Bottom Navigation should comes above the Keyboard.
Try
<activity android:windowSoftInputMode="adjustPan"/>
in your manifest

Hiding the "top" part of the android soft keyboard [duplicate]

This question already has answers here:
Disabling the fullscreen editing view for soft keyboard input in landscape?
(11 answers)
Closed 4 years ago.
I have a requirement to show a keyboard input in an app I'm making, but the "top" part of the soft keyboard needs to be hidden. I say "top" part, I'm sure it has a name but I haven't been able to find it. Instead, I've drawn a diagram showing you which part of the soft keyboard I want to hide (the part enclosed in the red rectangle):
Is this possible? If so, could someone point me to the official docs that explain it because I've been unable to find any (probably because I don't know the name for the "top" part).
Looks like you are talking about the full-screen editing view (landscape mode).
Try to add
android:imeOptions="flagNoExtractUi|flagNoFullscreen"
in the edit text

Android studio AlertDialog ProgressBar lock [duplicate]

This question already has answers here:
Prevent Android activity dialog from closing on outside touch
(20 answers)
Closed 6 years ago.
I need to lock my AlertDialog. Now, when my alertDialog is enable and when i click on the screen, my alertdialog closed. I need to wait the end of the progress bar to close my alertDialog. How i can do this? Thank
You just need to use alertdialog.setCancelable(false) so the dialog does not close when the user touches elsewhere on the screen, or touches the back button on their phone. After your progress bar completes, call alertdialog.dismiss() to close it.

Keyboard hides my button Android [duplicate]

This question already has answers here:
Keep android view in visible area if keyboard comes up
(2 answers)
Closed 8 years ago.
I have a very annoying problem, I have a screen with a button at the bottom and an edit text at the center, when I write in the edit text, the keyboard comes up and hides the button.
I want that the button will be above the keyboard and follow it, but I dont want the background picture to shrink (This is what happened when I tried to put it in scrollview).
If someone has an idea, that would be wonderful.
Just add following code to your manifest file at your activity tag
android:windowSoftInputMode="adjustPan|stateHidden"
For example
<activity android:name="ACTIVITY_NAME"
android:windowSoftInputMode="adjustPan|stateHidden">
</activity>

How to show dialog animation like this? [duplicate]

This question already has an answer here:
How to make whatsapp type of animation for opening the menu from toolbar(actionbar)
(1 answer)
Closed 7 years ago.
I want to show such animation on click on floating action button:
What is this animation is called? How to implement it in Android?
PS. This animation in youtube: https://www.youtube.com/watch?v=Vdo95zNo408&feature=youtu.be&t=15
https://github.com/markushi/android-ui
try this link. It's have Reveal effect.

Categories

Resources