Swap icons for light theme

This commit is contained in:
serso 2016-02-11 23:08:09 +01:00
parent 12c25b6ca6
commit fc48886929
6 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ public class ConverterFragment extends BaseDialogFragment
editTextFrom.addTextChangedListener(this); editTextFrom.addTextChangedListener(this);
swapButton.setOnClickListener(this); swapButton.setOnClickListener(this);
swapButton.setImageResource(App.getTheme().light ? R.drawable.ic_swap_vert_black_24dp : R.drawable.ic_swap_vert_white_24dp);
if (savedInstanceState == null) { if (savedInstanceState == null) {
editTextFrom.setText(String.valueOf(getArguments().getDouble(EXTRA_VALUE, 1f))); editTextFrom.setText(String.valueOf(getArguments().getDouble(EXTRA_VALUE, 1f)));

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B