Skip to content

Commit d76ac88

Browse files
committed
Dynamic utils 4.4.4
Dynamic locale 2.2.0. Dynamic preferences 2.2.2.
1 parent 666f156 commit d76ac88

File tree

6 files changed

+17
-8
lines changed

6 files changed

+17
-8
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Dynamic Support
44

55
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?)](https://www.apache.org/licenses/LICENSE-2.0.html)
6-
[![Build Status](https://travis-ci.org/pranavpandey/dynamic-support.svg?branch=master)](https://travis-ci.org/pranavpandey/dynamic-support)
76
[![Release](https://img.shields.io/maven-central/v/com.pranavpandey.android/dynamic-support)](https://search.maven.org/artifact/com.pranavpandey.android/dynamic-support)
87

98
A complete library to build apps for Android 4.0 (API 14) and above with a built-in theme engine.
@@ -57,6 +56,7 @@ dependencies {
5756
---
5857

5958
## Usage
59+
6060
It is a collection of activities, fragments, widgets, views and some utility functions required
6161
to build a standard Android app. It also provides some built-in use cases like an intro screen,
6262
drawer activity, about screen, collapsing app bar, navigation bar view, color picker, multiple
@@ -65,12 +65,14 @@ locales, runtime permissions, etc. which can be used and customised according to
6565
> For a complete reference, please read the [documentation][documentation].
6666
6767
### Theme engine
68+
6869
Each activity and widget can be themed by using the built-in theme engine with background aware
6970
functionality to avoid any visibility issues. Colors can be selected by using the provided
7071
[material design colors][material-design-colors] or by selecting a custom color from the built-in
7172
picker which supports HEX, HSV, ARGB and CMYK values.
7273

7374
### Background aware
75+
7476
Below are the same colors applied on the light and dark backgrounds respectively. But the final
7577
color is adjusted according to the colored view background to provide best visibility.
7678

@@ -80,6 +82,7 @@ color is adjusted according to the colored view background to provide best visib
8082
</p>
8183

8284
### Sample
85+
8386
This library is fully commented so, please check the individual classes or files for the
8487
documentation. Basic documentation will be available soon.
8588

@@ -92,6 +95,7 @@ It depends on the [dynamic-theme][dynamic-theme], [dynamic-locale][dynamic-local
9295
So, their functions can also be used to perform other useful operations.
9396

9497
### Proguard
98+
9599
This library uses reflection at some places to theme widgets at runtime. So, their original name
96100
must be preserved to theme them properly. It will automatically apply the appropriate rules if
97101
proguard is enabled in the project.
@@ -163,9 +167,11 @@ checkout the `Rotation` and `Everyday` apps to experience the full potential of
163167
</p>
164168

165169
### Supported
170+
166171
- [EZ Notes][ez-notes]
167172

168173
### Developed
174+
169175
- [Rotation][rotation]
170176
- [Everyday][everyday]
171177
- [Palettes][palettes]
@@ -175,6 +181,7 @@ checkout the `Rotation` and `Everyday` apps to experience the full potential of
175181
---
176182

177183
## Translations
184+
178185
- German (de) - Flubberlutsch
179186
- French (fr) - Nitesh Jha | Others
180187
- Hindi (hi) - Siddh Narhari

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ buildscript {
2121
'targetSdk' : 33,
2222
'buildTools' : '33.0.0',
2323
'multidex' : '2.0.1',
24-
'dynamic' : '4.1.2',
24+
'dynamic' : '4.4.4',
2525
'fragment' : '1.5.0',
2626
'flexbox' : '3.0.0',
2727
'kotlin' : '1.6.21',
28-
'locale' : '2.1.0',
28+
'locale' : '2.2.0',
2929
'material' : '1.7.0-alpha02',
30-
'preferences' : '2.2.0',
30+
'preferences' : '2.2.2',
3131
'swiperefresh': '1.1.0',
3232
'theme' : '4.3.1',
33+
'toasts' : '4.1.2',
3334
'work' : '2.8.0-alpha02'
3435
]
3536

dynamic-support/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ android {
4444
}
4545

4646
dependencies {
47+
api "com.pranavpandey.android:dynamic-utils:${versions.dynamic}"
4748
api "com.pranavpandey.android:dynamic-theme:${versions.theme}"
4849
api "com.pranavpandey.android:dynamic-locale:${versions.locale}"
4950
api "com.pranavpandey.android:dynamic-preferences:${versions.preferences}"
50-
api "com.pranavpandey.android:dynamic-toasts:${versions.dynamic}"
51+
api "com.pranavpandey.android:dynamic-toasts:${versions.toasts}"
5152
api "androidx.fragment:fragment:${versions.fragment}"
5253
api "androidx.swiperefreshlayout:swiperefreshlayout:${versions.swiperefresh}"
5354
api "androidx.work:work-runtime:${versions.work}"

dynamic-support/src/main/java/com/pranavpandey/android/dynamic/support/widget/DynamicAppBarLayout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public void initialize() {
153153

154154
@Override
155155
public void applyWindowInsets() {
156-
DynamicViewUtils.applyWindowInsetsHorizontal(this, false);
156+
DynamicViewUtils.applyWindowInsetsHorizontal(this);
157157
}
158158

159159
@Override

dynamic-support/src/main/java/com/pranavpandey/android/dynamic/support/widget/DynamicCollapsingToolbarLayout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public void initialize() {
9595

9696
@Override
9797
public void applyWindowInsets() {
98-
DynamicViewUtils.applyWindowInsetsHorizontal(this, false);
98+
DynamicViewUtils.applyWindowInsetsHorizontal(this);
9999
}
100100

101101
@Override

dynamic-support/src/main/java/com/pranavpandey/android/dynamic/support/widget/DynamicNavigationRailView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public void initialize() {
221221

222222
@Override
223223
public void applyWindowInsets() {
224-
DynamicViewUtils.applyWindowInsetsVertical(this, false);
224+
DynamicViewUtils.applyWindowInsetsVertical(this);
225225
}
226226

227227
@Override

0 commit comments

Comments
 (0)