- fix typo in styles
- fix sign up with provider in dark primary color Signed-off-by: tobiasKaminsky <[email protected]>
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -94,7 +94,7 @@ public class FirstRunActivity extends BaseActivity implements ViewPager.OnPageCh
|
||||
});
|
||||
|
||||
Button providerButton = findViewById(R.id.signup);
|
||||
providerButton.setBackgroundColor(getResources().getColor(R.color.primary_dark));
|
||||
providerButton.setBackgroundColor(getResources().getColor(R.color.primary));
|
||||
providerButton.setTextColor(getResources().getColor(R.color.login_text_color));
|
||||
providerButton.setVisibility(isProviderOrOwnInstallationVisible ? View.VISIBLE : View.GONE);
|
||||
providerButton.setOnClickListener(v -> {
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/signup"
|
||||
android:theme="@style/OutlineLogindButton"
|
||||
android:theme="@style/OutlineLoginButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
<item name="android:textAllCaps">false</item>
|
||||
</style>
|
||||
|
||||
<style name="OutlineLogindButton" parent="Widget.MaterialComponents.Button.OutlinedButton">
|
||||
<style name="OutlineLoginButton" parent="Widget.MaterialComponents.Button.OutlinedButton">
|
||||
<item name="colorAccent">@color/transparent</item>
|
||||
<item name="android:textColor">@color/fg_inverse</item>
|
||||
<item name="android:textAllCaps">false</item>
|
||||
|
||||
Reference in new issue
Block a user