I have a layout (named mirroring.xml) and I need to use it in two different activities. First activity, needs the content to be displayed based on the full length and width of the android mobile. The second activity uses layout to show only half the screen. And to achieve this, I am using a bottomSheetDialog and BottomSheetFragment. But since I use same layout for both the full and half view, the full screen view works fine, but the half screen view, cut's off some of the views, and the alignment of the views are not proper. Do I need to use a separate layout in this case for the half screen view using the bottomSheetDialog ?
BottomSheetDialog alignment of views when using the same layout to show full view and half view
249 views Asked by Angus At
0
There are 0 answers
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in ANDROID-LAYOUT
- Is ConstraintLayout broken?
- error: cannot find symbol View root = inflater.inflate(R.layout.toolbar, parent, false);
- C# Xamarin Android | Change Contentview from class
- RTL/LTR layout drawable as Background
- Tab ItemIndicator not visible - Android TabLayout
- Guidelines in layouts in android studio
- How to style dynamic text in android with TextView
- Is it possible to navigate from one navgraph to a different one on a different starting fragment? (Nested Navgraph)
- Open full screen fragment from smaller fragment
- Should I create a layout file for each card view I have?
- Convert coordinates in android
- why does my background color override some of my other components?
- Layout goes over recycler view instead of pushing it above
- Vertical Label In Android And Show Text In Center With Dynamic Width
- The recyclerView items doesnt shows up when i put them inside a horizontalScrollView
Related Questions in BOTTOM-SHEET
- Flutter: How to use a BottomSheet in a BottomNavigationBar?
- The timer and validation of the bottom sheet are not functioning as desired in flutter
- Bottom sheet with textfield over lapping keyboard in jetpack compose android
- React native bottomsheet with “formSheet” screen (ios)
- How do I enable vertical scrolling inside the compose modalBottomSheet and disable the event that the bottomSheet closes?
- BottomSheetDialog endless nested scrolling Android
- React native app crashes with using @gorhom/bottom-sheet
- Close bottom sheet on tap outside
- bottomModalSheet doesn't take full width on tablet
- How to implement page transitions within a bottom sheet in .NET MAUI?
- Start bottom with fixed and then make it draggable flutter
- Jetpack compose snackbar hidden behind bottomsheet
- How to Create a Draggable and Non-Cancellable Bottom Sheet with Outsode Click Events in Android (Compose or Native)?
- Bottom sheet detent update in async Task
- Facing issue with ModalBottomSheet in Jetpack Compose. Scrim color is not animating while opening and closing of sheet and white line on right corner
Related Questions in ANDROID-BOTTOMSHEETDIALOG
- RecyclerView inside bottom sheet is not displayed
- StandardBottomSheet based on ConstraintLayout doesn't fill screen width
- Can we add shared element transitions from a fragment recyclerview to bottom sheet dialog in android?
- How to make a non-modal sheet using BottomSheetDialog in .NET MAUI?
- How to make the background of bottom sheet dialog transparent in android studio
- Jetpack Compose BottomSheetDialog testTag Appium
- How to Set Specific Heights for a BottomSheetDialog in Android Studio Compose
- Why my modal bottom sheets don't show Drag handle?
- BottomSheetDialog with EditText (Remove background under keyboard)
- How to display the BottomSheetDialogFragment above the BottomNavigationView
- BottomSheetDialog fills the background instead of dimming it
- showModalBottomSheet handler and dismissble
- Rounded Image on top of BottomDialogFragment
- recycler view not scrolling inside bottom sheet dialog
- Java AndroidStudio - BottomSheetDialog Image Overflowing bug
Related Questions in BOTTOMSHEETDIALOGFRAGMENT
- App label announcement upon opening `BottomSheetDialogFragment` with Compose content
- BottomSheetDialog endless nested scrolling Android
- BottomSheetDialogFragment shows along with android bottom nav icons
- Open bottomsheetdialogfragment Via Interface callback inside library
- Why my screen goes down from the CoordinatorLayout when I am applying layout behavior to its child?
- How it's possible to create a system to navigate between different fragments within a BottomSheetDialogFragment in android java?
- How to Ensure Full Content Display of My BottomSheetFragment in Android with navController?
- BottomSheetFragment is Do not working as expected in Fragment. Android Studio Java XML
- MaterialCardView rounded corner only from top
- Syncing Data Between Two RecyclerViews in Android BottomsheetDialogueFragment
- Why my inflated layout is empty in custom bottom sheet fragment?
- Modal Bottom sheet not becoming full screen
- Can't get BottomSheetDialogFragment expanded to top of the screen when opened
- BottomSheetDialogFragment collapsed when Recyclerview reached the upper border
- ModalBottomSheet. Dragging by the specific view
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)