Skip to content

Commit

Permalink
added transparent color, by default transparent background and change…
Browse files Browse the repository at this point in the history
…d min for background transparency to 0. releasing v10.0.0
  • Loading branch information
Kosh committed Nov 5, 2016
1 parent 62de70c commit 7a8a7c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public static IconSizeTransparencyDialog newInstance(boolean isBackground, boole
seekBar.setMax(300);
seekBar.setProgress(PrefHelper.getInt(PrefConstant.MANUAL_SIZE));
} else {
seekBar.setMin(isBackground ? 0 : 20);
seekBar.setProgress(PrefHelper.getInt(isBackground ? PrefConstant.FA_BACKGROUND_ALPHA : PrefConstant.ICON_ALPHA));
}
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<item>#ffffb300</item>
<item>#fffb8c00</item>
<item>#fff4511e</item>
<item>#00000000</item>
</array>

</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/xml/fa_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
android:title="@string/theme_pack_title"/>

<org.xdty.preference.AppCompatColorPreference
android:defaultValue="@color/primary"
android:defaultValue="@color/transparent"
android:key="fa_background"
android:negativeButtonText="@null"
android:positiveButtonText="@null"
Expand Down

0 comments on commit 7a8a7c8

Please sign in to comment.