Skip to content

Commit b1cf1c3

Browse files
committed
Release version2.0.6
1 parent a58dd9a commit b1cf1c3

File tree

7 files changed

+16
-31
lines changed

7 files changed

+16
-31
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repositories {
2323
}
2424
2525
dependencies {
26-
implementation "com.github.skydoves:elasticviews:2.0.5"
26+
implementation "com.github.skydoves:elasticviews:2.0.6"
2727
}
2828
```
2929

@@ -65,6 +65,7 @@ public void onClick(View v) {
6565
android:text="Elastic Button"
6666
android:textColor="@android:color/white"
6767
android:textSize="17sp"
68+
app:button_cornerRadius="4dp"
6869
app:button_duration="250"
6970
app:button_scale="0.87" />
7071
```
@@ -78,6 +79,7 @@ public void onClick(View v) {
7879
android:text="Text"
7980
android:textColor="@android:color/white"
8081
android:textStyle="bold"
82+
app:checkButton_cornerRadius="4dp"
8183
app:checkButton_duration="400"
8284
app:checkButton_scale="0.9" />
8385
```
@@ -113,7 +115,7 @@ ElasticLayout gives elastic animation to all child views.
113115
<com.skydoves.elasticviews.ElasticLayout
114116
android:layout_width="match_parent"
115117
android:layout_height="80dp"
116-
app:layout_backgroundColor="#30354b"
118+
app:layout_cornerRadius="4dp"
117119
app:layout_duration="500"
118120
app:layout_scale="0.85">
119121

app/src/main/res/drawable/rectangle_button.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/src/main/res/drawable/rectangle_checkbutton.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/src/main/res/drawable/rectangle_layout.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/src/main/res/layout/activity_example2.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@
3939
android:layout_width="match_parent"
4040
android:layout_height="50dp"
4141
android:layout_margin="10dp"
42-
android:background="@drawable/rectangle_layout"
42+
android:background="@color/background"
4343
android:onClick="views"
4444
android:text="Elastic Button"
4545
android:textColor="@android:color/white"
46+
app:button_cornerRadius="4dp"
4647
app:button_duration="250"
4748
app:button_scale="0.87" />
4849

@@ -64,8 +65,9 @@
6465
android:layout_width="match_parent"
6566
android:layout_height="80dp"
6667
android:layout_margin="10dp"
67-
android:background="@drawable/rectangle_layout"
68+
android:background="@color/background"
6869
android:onClick="views"
70+
app:layout_cornerRadius="4dp"
6971
app:layout_duration="500"
7072
app:layout_scale="0.85">
7173

app/src/main/res/layout/activity_main.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@
5555
android:layout_height="0dp"
5656
android:layout_margin="20dp"
5757
android:layout_weight="1"
58-
android:background="@drawable/rectangle_layout"
58+
android:background="@color/background"
5959
android:onClick="buttons"
6060
android:text="Example Activity0"
6161
android:textColor="@android:color/white"
6262
android:textSize="17sp"
63+
app:button_cornerRadius="4dp"
6364
app:button_duration="250"
6465
app:button_scale="0.87" />
6566

@@ -70,12 +71,12 @@
7071
android:layout_marginLeft="20dp"
7172
android:layout_marginRight="20dp"
7273
android:layout_weight="1"
73-
android:background="@drawable/rectangle_layout"
74+
android:background="@color/background"
7475
android:onClick="buttons"
75-
7676
android:text="Example Activity1"
7777
android:textColor="@android:color/white"
7878
android:textSize="17sp"
79+
app:button_cornerRadius="4dp"
7980
app:button_duration="250"
8081
app:button_scale="0.87" />
8182

@@ -85,11 +86,12 @@
8586
android:layout_height="0dp"
8687
android:layout_margin="20dp"
8788
android:layout_weight="1"
88-
android:background="@drawable/rectangle_layout"
89+
android:background="@color/background"
8990
android:onClick="buttons"
9091
android:text="Example Activity2"
9192
android:textColor="@android:color/white"
9293
android:textSize="17sp"
94+
app:button_cornerRadius="4dp"
9395
app:button_duration="250"
9496
app:button_scale="0.87" />
9597
</LinearLayout>

dependencies.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ext.versions = [
22
minSdk : 16,
33
compileSdk : 29,
4-
versionCode : 19,
5-
versionName : '2.0.5',
4+
versionCode : 20,
5+
versionName : '2.0.6',
66

77
gradleBuildTool : '3.5.1',
88
spotlessGradle : '3.26.0',

0 commit comments

Comments
 (0)