Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70a90075 authored by narinder Rana's avatar narinder Rana
Browse files

Update all Dialog action button color to accent color (blue) , bottomBar Action button text color

parent 1c9a62ff
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@
        android:layout_marginTop="@dimen/dialog_content_padding_top"
        android:layout_marginBottom="@dimen/dialog_content_padding_bottom"
        android:layout_centerInParent="true"
        app:boxStrokeColor="#@color/hairline"
        android:textColorHint="#@color/hairline"
        style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">

        <com.google.android.material.textfield.TextInputEditText
+2 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@
        android:layout_height="wrap_content"
        android:layout_marginStart="4dp"
        android:layout_marginEnd="4dp"
        android:textColor="@color/accent"
        android:text="@android:string/cancel"/>

    <com.google.android.material.button.MaterialButton
@@ -38,5 +39,6 @@
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="4dp"
        android:textColor="@color/accent"
        android:layout_marginEnd="4dp"/>
</LinearLayout>
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@
            android:layout_height="wrap_content"
            android:layout_marginStart="4dp"
            android:layout_marginEnd="4dp"
            android:textColor="@color/accent"
            android:text="@string/menu_save"/>

        <ProgressBar
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@
    <style name="MaterialButtonTextAppearance" parent="@style/TextAppearance.MaterialComponents.Button">
        <item name="android:textAllCaps">@bool/config_button_all_caps</item>
        <item name="fontFamily">@string/config_fontFamilyMedium</item>
        <item name="android:textColor">@color/accent</item>
    </style>

</resources>
 No newline at end of file
+8 −0
Original line number Diff line number Diff line
@@ -113,6 +113,14 @@ public class CreateDirectoryFragment extends DialogFragment {
                });
        editText.requestFocus();

        dialog.setOnShowListener(new DialogInterface.OnShowListener() {
            @Override
            public void onShow(DialogInterface dialogInterface) {
                dialog.getButton(AlertDialog.BUTTON_NEGATIVE).setTextColor(context.getResources().getColor(R.color.accent));
                dialog.getButton(AlertDialog.BUTTON_POSITIVE).setTextColor(context.getResources().getColor(R.color.accent));
            }
        });

        return dialog;
    }

Loading