modal windows – Material Design | Dialoge from floating action button – how to do it? Is it even a good idea?

I’m designing a dark-mode-first desktop website for an online media organization.
One of the key characteristics of the organiation is its community, and how open, friendly, inviting and communical it is.

So, I thought of designing an FAB (floating action buttion) that supports those characteristics that will be used for connecting with the community.
Impelementation wise, it has a “contact us” text with a relevant icon, and should open up into a dialog. However, I’m not sure if an FAB opening into a dialog is in line with the Material Design guidelines. Is it?

Another issue that I have is that the FAB uses the primary accent color I defined, which I think is fine, since it’s small, how would I color the panel while showing that it’s an expansion of the button? I think it’s an issue for the big dialog from to have a fill primary color, which would be too colorful and bright in this color’s case. If it’s not against the Material Design guidelines, how would you advise me to go about designing it?

I thought of making only a border of the same color and treating the rest of the dialog like a regular card but I’m not sure about that layout.

Page with the contact us FAB:
page-with-contact-us-fab

Page with the contact us dialog open, red border, grey fill color:
page-with-contact-us-dialog-open--border-red-fill-grey

Page with the contact us dialog open, red fill color:
page-with-contact-us-dialog-open--fill-red

I also saw a this Codepen that uses the same structure, only uses a menu header (I don’t know what else to call it) that has the FAB’s color. I’m not sure if it’s a good idea, but I’m thinking of having 2 sections in that dialog, which I think would be a good idea for this use case to be implemented as tabs. With 2 sections, one would be links to all the communities, and the other one will be for contacting the organization directly, so that Codepen’s structure with the header might be a good idea.

I’d appreciate thoughts on that structure as well.

Note about a closing option being missing: whichever structure I go with I’d have to choose what kind of closing mechanism I want, so in the meantime I didn’t add this option.

EDIT: I could also implement a contact option via a form, which would make the active role of the dialog a contact us/support dialog, in which case the positioning and the structure (dialog) would be traditional.

magento2 – Magento 2.4.2 – Addtocart Button Disabled

magento2 – Magento 2.4.2 – Addtocart Button Disabled – Magento Stack Exchange

c# – Erro ao clicar no button para salvar dados no banco

Bom Dia galera, estou tentando salvar alguns dados no banco de dados,pelo
button do windows form C#,e aparece este erro,já tentei de tudo,mas o erro
persiste,fiz o print e colei o codigo do forms e do sql,por favor, alguém poderia me ajudar?

inserir a descrição da imagem aqui

         strSql ="insert into Paciente 
         values(@IDPACIENTE,@NOMEPACIENTE,@SOBRENOME,@DATANASCIMENTO,
        @GENERO,@CPF,@UFRG,@EMAIL,@CELULAR,@TELEFONEFIXO,
          @PRONTUARIO,@CONVENIO,@CARTEIRINHACONVENIO,@VALIDADECARTEIRINHA)";

         sqlCon = new SqlConnection(strCon);
        SqlCommand comando = new SqlCommand(strSql, sqlCon);

        comando.Parameters.Add("@IDPACIENTE", SqlDbType.Int).Value = textBox_ID.Text;
        comando.Parameters.Add("@NOMEPACIENTE", SqlDbType.VarChar).Value = textBox_Nome.Text;
        comando.Parameters.Add("@SOBRENOME", SqlDbType.VarChar).Value = textBox_SOBRENOME.Text;
        comando.Parameters.Add("@DATANASCIMENTO", SqlDbType.DateTime).Value = maskedTextBox_DataNascimento.Text;
        comando.Parameters.Add("@GENERO", SqlDbType.Char).Value =comboBox_Genero.Text;
        comando.Parameters.Add("@CPF", SqlDbType.Char).Value =maskedTextBox_CPF.Text;
        comando.Parameters.Add("@UFRG", SqlDbType.VarChar).Value = textBox_UFRG.Text;
        comando.Parameters.Add("@EMAIL", SqlDbType.VarChar).Value =textBox_EMAIL.Text;
        comando.Parameters.Add("@CELULAR", SqlDbType.VarChar).Value =maskedTextBox_CELULAR.Text;
        comando.Parameters.Add("@TELEFONEFIXO", SqlDbType.VarChar).Value =maskedTextBox_TELEFONE.Text;
        comando.Parameters.Add("@PRONTUARIO", SqlDbType.VarChar).Value =textBox_Prontuario.Text;
        comando.Parameters.Add("@CONVENIO", SqlDbType.VarChar).Value =textBox_CONVENIO.Text;
        comando.Parameters.Add("@CARTEIRINHACONVENIO", SqlDbType.VarChar).Value =textBox_CarteirinhaConvenio.Text;
        comando.Parameters.Add("@VALIDADECARTEIRINHA", SqlDbType.DateTime).Value =maskedTextBox_ValidadeCarteirinha.Text;


        try
        {


            sqlCon.Open();
            comando.ExecuteNonQuery();
            MessageBox.Show("Cadastro Efetuado Com Sucesso");
        }

        catch (Exception ex)
        {

            MessageBox.Show(ex.Message);
        }

        finally

        {
            sqlCon.Close();


    
  
       CREATE TABLE Paciente
      (
    IDPACIENTE INT IDENTITY PRIMARY KEY NOT NULL,
    NOMEPACIENTE VARCHAR (50),
    SOBRENOME  VARCHAR (50),
    DATANASCIMENTO DATETIME,
    GENERO CHAR(1),
    CPF CHAR(12) NOT NULL,
    UFRG  VARCHAR (50),
    EMAIL VARCHAR (100),
    CELULAR VARCHAR (100),
    TELEFONEFIXO VARCHAR(10),
    PRONTUARIO VARCHAR(100),
    CONVENIO VARCHAR(100),
    CARTEIRINHACONVENIO VARCHAR(100),
    VALIDADECARTERINHA  DATETIME

  )
         

How I change Button color in android studio from java. Android ver 4.2

In Android studio I am changing button color when I am at dark theme (on my phone) and it is working but when I am at day theme it doesn’t work

The Java code:

btMonthly.setBackgroundColor(getResources().getColor(R.color.light_gray));
            btDaily.setBackgroundColor(getResources().getColor(R.color.light_gray));
            btWeekly.setBackgroundColor(getResources().getColor(R.color.dark_gray));

The xml code:

<RelativeLayout
            android:layout_marginTop="150dp"
            android:layout_width="410dp"
            android:layout_height="80dp">
        <Button
            android:id="@+id/weekly_bt"
            android:backgroundTint="@color/light_gray"
            android:layout_width="120dp"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_toRightOf="@id/daily_bt"
            android:layout_alignTop="@id/daily_bt"
            android:text="Weekly" />
        <Button
            android:id="@+id/daily_bt"
            android:backgroundTint="@color/dark_gray"
            android:layout_width="120dp"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_centerHorizontal="true"
            android:text="Daily" />

        <Button
            android:id="@+id/monthly_bt"
            android:backgroundTint="@color/light_gray"
            android:layout_width="120dp"
            android:layout_height="wrap_content"
            android:layout_alignTop="@id/daily_bt"
            android:layout_toLeftOf="@id/daily_bt"
            android:text="Monthly" />
        </RelativeLayout>

any Ideas?

sharepoint online – Conditional visibility of the button in the List

I have configured button in my list, that triggers particular flow. However I would like the button to be visible only if there is value filled in particular column (e.g. column “Name”).

Cannot make it work as whenever I’m filling ANY condition as “display” or “visibility”, button just disappears:

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "button",
  "txtContent": "Trigger action",
  "customRowAction": {
    "action": "executeFlow",
    "actionParams": "{"id": ""}"
  },
  "style": {
    "background-color": "red",
    "color": "white",
    "font-weight": "bold",
    "display": "=if((($Name) != ''),'visible')"
  }
}

Any suggestions?

How to add on a site page a button allowing to upload a folder (and not files individually) to a document library?

I am designing a sharepoint site for a team so we can share documentation with external users. I wish to add a button on the homepage for the colleagues who will upload documentation with me. Once the upload is done, a flow with power automate analyze the information and parse it in several document libraries – and this part is OK for the moment. I would just need to add this button, so I am sure the folder they upload goes to right library. I have done a lot of research on the topic, but cannot find any help – especially since I want to upload a folder and not files.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123