Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #31 from gini/develop
Browse files Browse the repository at this point in the history
Release version 1.4.1
  • Loading branch information
a-szotyori committed Sep 22, 2021
2 parents 12465eb + 2d55f64 commit 5c7f021
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 36 deletions.
2 changes: 1 addition & 1 deletion ginicapture/src/doc/source/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Now you can add the Gini Capture SDK to your app's dependencies:
.. code:: groovy
dependencies {
implementation 'net.gini:gini-capture-sdk:1.4.0'
implementation 'net.gini:gini-capture-sdk:1.4.1'
}
After syncing Gradle you can start integrating the Gini Capture SDK.
2 changes: 1 addition & 1 deletion ginicapture/src/doc/source/integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ To use it add the ``gini-capture-network-lib`` dependency to your app's ``build.
dependencies {
...
implementation 'net.gini:gini-capture-network-lib:1.4.0'
implementation 'net.gini:gini-capture-network-lib:1.4.1'
}
For the Gini Capture SDK to be aware of the default implementations create the instances and pass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,13 @@

<Button
android:id="@+id/gc_button_photo_tips_camera"
style="@style/GiniCaptureTheme.Button"
android:layout_width="wrap_content"
android:layout_height="@dimen/gc_photo_tips_bottom_button_height"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_margin="@dimen/gc_photo_tips_bottom_button_margin"
android:background="@color/gc_accent"
android:text="@string/gc_photo_tips_camera_button"
android:width="@dimen/gc_photo_tips_bottom_button_max_width"
android:textColor="@color/gc_photo_tips_button_text" />

android:width="@dimen/gc_photo_tips_bottom_button_max_width"/>

</RelativeLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,13 @@

<Button
android:id="@+id/gc_button_photo_tips_camera"
style="@style/GiniCaptureTheme.Button"
android:layout_width="wrap_content"
android:layout_height="@dimen/gc_photo_tips_bottom_button_height"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_margin="@dimen/gc_photo_tips_bottom_button_margin"
android:background="@color/gc_accent"
android:text="@string/gc_photo_tips_camera_button"
android:width="@dimen/gc_photo_tips_bottom_button_max_width"
android:textColor="@color/gc_photo_tips_button_text" />

android:width="@dimen/gc_photo_tips_bottom_button_max_width" />

</RelativeLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,13 @@

<Button
android:id="@+id/gc_button_no_results_back"
style="@style/GiniCaptureTheme.Button"
android:layout_width="wrap_content"
android:layout_height="@dimen/gc_noresults_bottom_button_height"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_margin="@dimen/gc_noresults_bottom_button_margin"
android:background="@color/gc_noresults_button"
android:text="@string/gc_noresults_back_button"
android:width="@dimen/gc_noresults_bottom_button_max_width"
android:textColor="@color/gc_noresults_button_text" />

android:width="@dimen/gc_noresults_bottom_button_max_width" />

</RelativeLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,13 @@

<Button
android:id="@+id/gc_button_photo_tips_camera"
style="@style/GiniCaptureTheme.Button"
android:layout_width="wrap_content"
android:layout_height="@dimen/gc_photo_tips_bottom_button_height"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_margin="@dimen/gc_photo_tips_bottom_button_margin"
android:background="@color/gc_accent"
android:text="@string/gc_photo_tips_camera_button"
android:width="@dimen/gc_photo_tips_bottom_button_max_width"
android:textColor="@color/gc_photo_tips_button_text" />
android:width="@dimen/gc_photo_tips_bottom_button_max_width"/>

</RelativeLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,13 @@

<Button
android:id="@+id/gc_button_photo_tips_camera"
style="@style/GiniCaptureTheme.Button"
android:layout_width="wrap_content"
android:layout_height="@dimen/gc_photo_tips_bottom_button_height"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_margin="@dimen/gc_photo_tips_bottom_button_margin"
android:background="@color/gc_accent"
android:text="@string/gc_photo_tips_camera_button"
android:width="@dimen/gc_photo_tips_bottom_button_max_width"
android:textColor="@color/gc_photo_tips_button_text" />
android:width="@dimen/gc_photo_tips_bottom_button_max_width" />

</RelativeLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,14 @@

<Button
android:id="@+id/gc_button_no_results_back"
style="@style/GiniCaptureTheme.Button"
android:layout_width="wrap_content"
android:layout_height="@dimen/gc_noresults_bottom_button_height"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_margin="@dimen/gc_noresults_bottom_button_margin"
android:background="@color/gc_noresults_button"
android:text="@string/gc_noresults_back_button"
android:width="@dimen/gc_noresults_bottom_button_max_width"
android:textColor="@color/gc_noresults_button_text" />
android:width="@dimen/gc_noresults_bottom_button_max_width" />


</RelativeLayout>
6 changes: 2 additions & 4 deletions ginicapture/src/main/res/layout/gc_activity_photo_tips.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,11 @@

<Button
android:id="@+id/gc_button_photo_tips_camera"
style="@style/GiniCaptureTheme.Button"
android:layout_width="match_parent"
android:layout_height="@dimen/gc_photo_tips_bottom_button_height"
android:layout_alignParentBottom="true"
android:layout_margin="@dimen/gc_photo_tips_bottom_button_margin"
android:background="@color/gc_photo_tips_button"
android:text="@string/gc_photo_tips_camera_button"
android:textColor="@color/gc_photo_tips_button_text" />

android:text="@string/gc_photo_tips_camera_button" />

</RelativeLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,11 @@

<Button
android:id="@+id/gc_button_photo_tips_camera"
style="@style/GiniCaptureTheme.Button"
android:layout_width="match_parent"
android:layout_height="@dimen/gc_photo_tips_bottom_button_height"
android:layout_alignParentBottom="true"
android:layout_margin="@dimen/gc_photo_tips_bottom_button_margin"
android:background="@color/gc_photo_tips_button"
android:text="@string/gc_photo_tips_camera_button"
android:textColor="@color/gc_photo_tips_button_text" />

android:text="@string/gc_photo_tips_camera_button"/>

</RelativeLayout>
6 changes: 2 additions & 4 deletions ginicapture/src/main/res/layout/gc_fragment_noresults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,11 @@

<Button
android:id="@+id/gc_button_no_results_back"
style="@style/GiniCaptureTheme.Button"
android:layout_width="match_parent"
android:layout_height="@dimen/gc_noresults_bottom_button_height"
android:layout_alignParentBottom="true"
android:layout_margin="@dimen/gc_noresults_bottom_button_margin"
android:background="@color/gc_noresults_button"
android:text="@string/gc_noresults_back_button"
android:textColor="@color/gc_noresults_button_text" />

android:text="@string/gc_noresults_back_button" />

</RelativeLayout>
12 changes: 12 additions & 0 deletions ginicapture/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -321,5 +321,17 @@

<style name="GiniCaptureTheme.Review.MultiPage.PageIndicator.TextStyle" parent="Root.GiniCaptureTheme.Review.MultiPage.PageIndicator.TextStyle" />

<!-- Root widget styles -->

<style name="Root.GiniCaptureTheme.Button" parent="Widget.MaterialComponents.Button">
<item name="android:textColor">@color/gc_photo_tips_button_text</item>
<item name="backgroundTint">@color/gc_photo_tips_button</item>
<item name="android:insetTop">0dp</item>
<item name="android:insetBottom">0dp</item>
</style>

<!-- Widget styles used in the layouts which are overridable for customization -->

<style name="GiniCaptureTheme.Button" parent="Root.GiniCaptureTheme.Button" />

</resources>
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m
# mavenReleasesRepoUrl=https://repo.i.gini.net/nexus/content/repositories/releases
# mavenOpenRepoUrl=https://repo.i.gini.net/nexus/content/repositories/open
groupId=net.gini
version=1.4.0
version=1.4.1

android.useAndroidX=true
android.enableJetifier=true
Expand Down

0 comments on commit 5c7f021

Please sign in to comment.