![]() |
BottomSheetTextView.Android is distributed using jcenter.
buildscript {
repositories {
jcenter()
maven { url "https://maven.google.com" }
}
...
}
allprojects {
repositories {
jcenter()
mavenLocal()
maven { url "https://maven.google.com" }
...
}
}
dependencies {
compile 'com.github.prscX:BottomSheetTextView.Android:0.0.1'
}
BottomSheetTextView.Builder builder = new BottomSheetTextView.Builder(activity);
builder.setTitle("Bottom Sheet");
builder.setDescription("BottomSheetDialogFragment is a thin layer on top of the regular support library Fragment that renders your fragment as a modal bottom sheet, fundamentally acting as a dialog.");
builder.show();
-
setTitle(String): Specify the title of bottomsheet
-
setTitleSize(int): Specify the font size of title
-
setTitleColor(String): Specify the color of title
-
setDescription(String): Specify the description of bottomsheet
-
setDescriptionSize(int): Specify the font size of description
-
setDescriptionColor(String): Specify the color of description
-
setBackgroundColor(String): Specify the background color
-
setHeaderMinHeight(int): Specify the header min height
-
show() Invoke the BottomSheet Text View
If you are looking for similar library on iOS, please use the below one: BottomSheetTextView.iOS
Have an idea? Found a bug? Please raise to ISSUES. Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.
If you are using this library in one of your projects, add it in this list below. ✨
This library is provided under the Apache License.
BottomSheetTextView.Android @ prscX
I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).
However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:
-
Starring and sharing the projects you like 🚀
-
If you're feeling especially charitable, please follow prscX on GitHub.
Thanks! ❤️
prscX.github.io
</ Pranav >