Swap icons for light theme
This commit is contained in:
parent
12c25b6ca6
commit
fc48886929
@ -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)));
|
||||||
|
BIN
app/src/main/res/drawable-hdpi/ic_swap_vert_black_24dp.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_swap_vert_black_24dp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 163 B |
BIN
app/src/main/res/drawable-mdpi/ic_swap_vert_black_24dp.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_swap_vert_black_24dp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 128 B |
BIN
app/src/main/res/drawable-xhdpi/ic_swap_vert_black_24dp.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_swap_vert_black_24dp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 186 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_swap_vert_black_24dp.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_swap_vert_black_24dp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 230 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_swap_vert_black_24dp.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/ic_swap_vert_black_24dp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 302 B |
Loading…
Reference in New Issue
Block a user