Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 #