Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raghavtilak/neubrutalism
A library to help you utilise the Simplicity & Aesthetics of Brutalism UI Design in Android.
https://github.com/raghavtilak/neubrutalism
android-brutalism android-trending android-ui brutalism hacktoberfest hacktoberfest-android hacktoberfest2023
Last synced: 10 days ago
JSON representation
A library to help you utilise the Simplicity & Aesthetics of Brutalism UI Design in Android.
- Host: GitHub
- URL: https://github.com/raghavtilak/neubrutalism
- Owner: raghavtilak
- Created: 2023-01-26T18:02:39.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T17:57:49.000Z (about 1 year ago)
- Last Synced: 2024-11-14T19:43:16.966Z (2 months ago)
- Topics: android-brutalism, android-trending, android-ui, brutalism, hacktoberfest, hacktoberfest-android, hacktoberfest2023
- Language: Kotlin
- Homepage:
- Size: 713 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NeuBrutalism
[![](https://jitpack.io/v/raghavtilak/NeuBrutalism.svg)](https://jitpack.io/#raghavtilak/NeuBrutalism)
A library to help you utilise the Simplicity & Aesthetics of Brutalism UI Design in Android.
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/raghavtilak)
# Demo #|Buttons|Dialog|
|--|--|
|||# Usage 🛠️ #
## Dependency #
> Step 1. Add the JitPack repository to your build file
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```>Step 2. Add the dependency
```
dependencies {
implementation 'com.github.raghavtilak:NeuBrutalism:1.0.1'
}
```
## Layout File #
```
app:bg_marginStart="6dp"
app:bg_marginTop="6dp"
app:bg_radius="3dp"
app:fg_color="@color/white"
app:fg_strokeColor="@color/black"
app:fg_strokeWidth="4dp"
app:bg_shadowColor="@color/black">
```
## Dynamic Properties #
```
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)val neubutton = findViewById(R.id.neubrutview)
neubutton.setOnClickListener {
Log.d("TAG","Onclick")
}
neubutton.bg_shadowColor = Color.BLUE
}
}```
## Attributes #