continuar utilizador
This commit is contained in:
36
.idea/caches/deviceStreaming.xml
generated
36
.idea/caches/deviceStreaming.xml
generated
@@ -87,6 +87,18 @@
|
|||||||
<option name="screenX" value="720" />
|
<option name="screenX" value="720" />
|
||||||
<option name="screenY" value="1600" />
|
<option name="screenY" value="1600" />
|
||||||
</PersistentDeviceSelectionData>
|
</PersistentDeviceSelectionData>
|
||||||
|
<PersistentDeviceSelectionData>
|
||||||
|
<option name="api" value="30" />
|
||||||
|
<option name="brand" value="realme" />
|
||||||
|
<option name="codename" value="RMX3231" />
|
||||||
|
<option name="id" value="RMX3231" />
|
||||||
|
<option name="labId" value="google" />
|
||||||
|
<option name="manufacturer" value="realme" />
|
||||||
|
<option name="name" value="C11" />
|
||||||
|
<option name="screenDensity" value="320" />
|
||||||
|
<option name="screenX" value="720" />
|
||||||
|
<option name="screenY" value="1600" />
|
||||||
|
</PersistentDeviceSelectionData>
|
||||||
<PersistentDeviceSelectionData>
|
<PersistentDeviceSelectionData>
|
||||||
<option name="api" value="36" />
|
<option name="api" value="36" />
|
||||||
<option name="brand" value="samsung" />
|
<option name="brand" value="samsung" />
|
||||||
@@ -1038,6 +1050,30 @@
|
|||||||
<option name="screenX" value="1600" />
|
<option name="screenX" value="1600" />
|
||||||
<option name="screenY" value="2560" />
|
<option name="screenY" value="2560" />
|
||||||
</PersistentDeviceSelectionData>
|
</PersistentDeviceSelectionData>
|
||||||
|
<PersistentDeviceSelectionData>
|
||||||
|
<option name="api" value="30" />
|
||||||
|
<option name="brand" value="motorola" />
|
||||||
|
<option name="codename" value="guamna" />
|
||||||
|
<option name="id" value="guamna" />
|
||||||
|
<option name="labId" value="google" />
|
||||||
|
<option name="manufacturer" value="Motorola" />
|
||||||
|
<option name="name" value="Moto XT2093-3" />
|
||||||
|
<option name="screenDensity" value="280" />
|
||||||
|
<option name="screenX" value="720" />
|
||||||
|
<option name="screenY" value="1600" />
|
||||||
|
</PersistentDeviceSelectionData>
|
||||||
|
<PersistentDeviceSelectionData>
|
||||||
|
<option name="api" value="30" />
|
||||||
|
<option name="brand" value="motorola" />
|
||||||
|
<option name="codename" value="guamp" />
|
||||||
|
<option name="id" value="guamp" />
|
||||||
|
<option name="labId" value="google" />
|
||||||
|
<option name="manufacturer" value="Motorola" />
|
||||||
|
<option name="name" value="Moto XT2083-1" />
|
||||||
|
<option name="screenDensity" value="280" />
|
||||||
|
<option name="screenX" value="720" />
|
||||||
|
<option name="screenY" value="1600" />
|
||||||
|
</PersistentDeviceSelectionData>
|
||||||
<PersistentDeviceSelectionData>
|
<PersistentDeviceSelectionData>
|
||||||
<option name="api" value="34" />
|
<option name="api" value="34" />
|
||||||
<option name="brand" value="google" />
|
<option name="brand" value="google" />
|
||||||
|
|||||||
@@ -352,17 +352,18 @@ public class InicioFragment extends Fragment {
|
|||||||
editText.setLayoutParams(lp);
|
editText.setLayoutParams(lp);
|
||||||
container.addView(editText);
|
container.addView(editText);
|
||||||
|
|
||||||
android.app.AlertDialog dialog = new com.google.android.material.dialog.MaterialAlertDialogBuilder(getContext())
|
androidx.appcompat.app.AlertDialog dialog = new com.google.android.material.dialog.MaterialAlertDialogBuilder(getContext())
|
||||||
.setTitle("Novo Desafio")
|
.setTitle("Novo Desafio")
|
||||||
.setView(container)
|
.setView(container)
|
||||||
.setNegativeButton("Cancelar", null)
|
.setNegativeButton("Cancelar", null)
|
||||||
.setPositiveButton("Adicionar", null)
|
.setPositiveButton("Adicionar", null)
|
||||||
|
.create();
|
||||||
|
|
||||||
|
|
||||||
dialog.setOnShowListener(d -> {
|
dialog.setOnShowListener(d -> {
|
||||||
// Style buttons
|
// Style buttons
|
||||||
android.widget.Button btnAdd = dialog.getButton(android.app.AlertDialog.BUTTON_POSITIVE);
|
android.widget.Button btnAdd = dialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_POSITIVE);
|
||||||
android.widget.Button btnCancel = dialog.getButton(android.app.AlertDialog.BUTTON_NEGATIVE);
|
android.widget.Button btnCancel = dialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_NEGATIVE);
|
||||||
if (btnAdd != null) btnAdd.setTextColor(getResources().getColor(R.color.primary_purple));
|
if (btnAdd != null) btnAdd.setTextColor(getResources().getColor(R.color.primary_purple));
|
||||||
if (btnCancel != null) btnCancel.setTextColor(getResources().getColor(R.color.text_secondary));
|
if (btnCancel != null) btnCancel.setTextColor(getResources().getColor(R.color.text_secondary));
|
||||||
|
|
||||||
@@ -389,7 +390,7 @@ public class InicioFragment extends Fragment {
|
|||||||
|
|
||||||
dialog.show();
|
dialog.show();
|
||||||
}
|
}
|
||||||
jhvjhvkvjhv
|
|
||||||
private void saveNewTask(String title) {
|
private void saveNewTask(String title) {
|
||||||
com.google.firebase.auth.FirebaseUser currentUser = AuthManager.getInstance().getCurrentUser();
|
com.google.firebase.auth.FirebaseUser currentUser = AuthManager.getInstance().getCurrentUser();
|
||||||
if (currentUser == null) return;
|
if (currentUser == null) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user