Skip to content
プロジェクト

JcMinarro/RoundKornerLayouts

GitHubで見る

概要

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

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
-1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

関連プロジェクトを探す

読み込み中…