radio buttons style to match the theme. error toast on failure
This commit is contained in:
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user