radio buttons style to match the theme. error toast on failure

This commit is contained in:
M M Arif
2019-10-25 23:19:16 +05:00
parent c4b0b596d3
commit 7e3eef90d2
3 changed files with 10 additions and 0 deletions

View File

@ -47,12 +47,14 @@
android:text="@string/loginViaPassword"
android:checked="true"
android:layout_marginEnd="30dp"
android:theme="@style/radioButtonsInDarkTheme"
android:textColor="@color/white"/>
<RadioButton
android:id="@+id/loginToken"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/copyToken"
android:theme="@style/radioButtonsInDarkTheme"
android:textColor="@color/white"/>
</RadioGroup>

View File

@ -56,4 +56,9 @@
<item name="android:layout_marginBottom">10dp</item>
</style>
<style name="radioButtonsInDarkTheme" parent="Theme.AppCompat.Dialog.Alert">
<item name="colorControlNormal">@color/white</item>
<item name="colorControlActivated">@color/white</item>
</style>
</resources>