slavi 1 ano atrás
pai
commit
e7dc17af7b

+ 0 - 7
app/src/main/java/com/example/recipeproj/ViewRecipe.java

@@ -206,14 +206,7 @@ public class ViewRecipe extends AppCompatActivity {
         intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
         pickImg.launch(intent);
     }
-    public void ads(View v)
-    {
-        EncodeImage encodeImage = new EncodeImage();
-        //cars.setImage(encodeImage.Image(bitmap));
-        fullText.setText(encodeImage.Image(bitmap));
-        String fff = fullText.getText().toString();
 
-    }
     public void calcWeight(View v)
     {
 

+ 1 - 13
app/src/main/res/layout/activity_view_recipe.xml

@@ -25,7 +25,7 @@
 
             android:text="Register"
 
-            android:textColor="#F4DC04"
+            android:textColor="#020202"
             android:textSize="20sp"
             android:textStyle="bold"
             app:layout_constraintStart_toStartOf="parent"
@@ -104,16 +104,4 @@
         app:layout_constraintTop_toTopOf="parent"
         tools:srcCompat="@tools:sample/avatars" />
 
-    <Button
-        android:id="@+id/button"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_marginTop="68dp"
-        android:text="Button"
-        android:onClick="ads"
-        app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintHorizontal_bias="0.097"
-        app:layout_constraintStart_toStartOf="parent"
-        app:layout_constraintTop_toTopOf="parent" />
-
 </androidx.constraintlayout.widget.ConstraintLayout>