• Stars
    star
    202
  • Rank 193,691 (Top 4 %)
  • Language
    Kotlin
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Round Korner Layouts is an Android library create to build a layout with the round corners

Round Korner Layouts Download

Round Korner Layouts is an Android library create to build a layout with the round corners

Screenshots

Demo Screenshot 1

Usage

To use Round Korner Layouts library and get your new UI working you only have to use the layout that fit better for you:

  • RoundKornerFrameLayout if you need a FrameLayout
<com.jcminarro.roundkornerlayout.RoundKornerFrameLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_margin="8dp"
            app:corner_radius="16dp">
            
            [...]
</com.jcminarro.roundkornerlayout.RoundKornerFrameLayout>
  • RoundKornerLinearLayout if you need a LinearLayout
<com.jcminarro.roundkornerlayout.RoundKornerLinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_margin="8dp"
            android:orientation="vertical"
            app:corner_radius="16dp">
            
            [...]
</com.jcminarro.roundkornerlayout.RoundKornerLinearLayout>
  • RoundKornerRelativeLayout if you need a RelativeLayout
<com.jcminarro.roundkornerlayout.RoundKornerRelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_margin="8dp"
            app:corner_radius="16dp">
            
            [...]
</com.jcminarro.roundkornerlayout.RoundKornerRelativeLayout>

Import RoundKornerLayouts dependency

Declare it into your pom.xml

<dependency>
  <groupId>com.jcminarro</groupId>
  <artifactId>RoundKornerLayouts</artifactId>
  <version>0.4.0</version>
  <type>pom</type>
</dependency>

Or into your build.gradle

dependencies {
    compile 'com.jcminarro:RoundKornerLayouts:0.4.0'
}

Do you want to contribute?

Feel free to add any useful feature to the library, we will be glad to improve it with your help. I'd love to hear about your use case too, especially if it's not covered perfectly.

Developed By

Follow me on Twitter

License

Copyright 2017 Jc Miñarro

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.