Skip to content

Commit

Permalink
1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MazWoz committed Oct 22, 2019
1 parent 8ab2d41 commit 576a7ec
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 23
targetSdkVersion 29
versionCode 1
versionName "1.2.3"
versionName "1.2.4"
}
buildTypes {
release {
Expand Down
6 changes: 4 additions & 2 deletions library/src/main/res/layout/library_bottom_dialog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,15 @@
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@android:string/cancel"/>
android:text="@android:string/cancel"
android:theme="@style/Button.Base"/>
<Button
android:id="@+id/bottomDialog_ok"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@android:string/ok"/>
android:text="@android:string/ok"
android:theme="@style/Button.Base"/>

</LinearLayout>

Expand Down
11 changes: 11 additions & 0 deletions library/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,15 @@
<item name="android:windowExitAnimation">@anim/sheet_hide</item>
</style>

<style name="Button.Base" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
<item name="android:textColor">@android:color/white</item>
<item name="android:textSize">13sp</item>
<item name="android:minHeight">@dimen/btn_min_height</item>
<item name="android:minWidth">@dimen/btn_min_width</item>
<item name="android:focusable">true</item>
<item name="android:clickable">true</item>
<item name="android:gravity">center</item>
<item name="android:layout_marginLeft">@dimen/btn_margin</item>
<item name="android:layout_marginRight">@dimen/btn_margin</item>
</style>
</resources>

0 comments on commit 576a7ec

Please sign in to comment.