- onethis is just a panel in an additional layer (FrameLayout) - any container with which it is convenient to assemble the necessary markup. Recently there is a tool from the SDK - BottomSheetDialog . Here is an example - pavlofff
|
1 answer
It is easy to find out which widgets are used, having the source code, you can use the Layout Inspector in Android Studio. You can call it by going to the tools tab on the studio taskbar:
When you call the inspector on the screen of the device / emulator should be the scene that you want to inspect.
UPD:
Ok, if you need everything ready, these components were used:
SeekBar(progress bar)TextView(percentage of progress)Viewwith a height of1 - 2dp(horizontal line)- Perhaps
FloatingActionButton/ custom round buttons Buttonwithstyle="@style/Widget.AppCompat.Button.Borderless"(button "reset progress")
UPD2:
Options for placing elements at the bottom of the screen:
CoordinatorViewas the parentViewGroupfor this panel +BotomSheetBehaviorRelativeLayoutas the parentViewGroupfor this panel +android:layout_alignParentBottom="true"in thexmlproperties of the panelFrameLayoutas the parentViewGroupfor this panel +android:layout_gravity="bottom"in thexmlproperties of the panel
- oneUseless answer. Having the source is clear, I can find out. - Nick
- @ Nick updated the answer - zTrap
- probably the main problem is. to bring these standard components on top of the current screen in a small window below? - pavlofff
- @pavlofff if the problem is really this, then you gave an exhaustive answer, I just listed the
viewinside the component withBotomSheetBehavior- zTrap - oneI just wrote a commentary that can give the right direction to resolve the issue, because I have no time to write a valuable answer. You wrote the answer and it will be great if he solves the problem in question as completely as possible. If you are embarrassed that you take advantage of my advice, it is not worth it - if I wanted to, I would have written the answer myself, not a comment, but later. - pavlofff
|


