Dodane logo

This commit is contained in:
Krokogator 2019-01-13 14:18:44 +01:00
parent 19a5ffef8a
commit dab45c39f8
9 changed files with 13 additions and 5 deletions

View File

@ -1,5 +1,6 @@
package com.krokogator.photoeat;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
@ -31,8 +32,10 @@ public class MainActivity extends AppCompatActivity {
File newFile;
@SuppressLint("ResourceType")
@Override
protected void onCreate(Bundle savedInstanceState) {
setTheme(R.drawable.ic_theme);
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

View File

@ -2,20 +2,15 @@ package com.krokogator.photoeat.service;
import com.google.api.client.http.ByteArrayContent;
import com.google.api.client.http.GenericUrl;
import com.google.api.client.http.HttpContent;
import com.google.api.client.http.HttpHeaders;
import com.google.api.client.http.HttpRequest;
import com.google.api.client.http.HttpRequestFactory;
import com.google.api.client.http.javanet.NetHttpTransport;
import com.google.api.client.json.GenericJson;
import com.google.gson.reflect.TypeToken;
import com.krokogator.photoeat.model.Output;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.IOException;
import java.lang.reflect.Type;
public class NutritionixService {

View File

@ -0,0 +1,10 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque">
<!-- The background color, preferably the same as your normal theme -->
<item android:drawable="@android:color/white"/>
<!-- Your product logo - 144dp color version of your app icon -->
<item>
<bitmap
android:src="@drawable/photoeat_logo"
android:gravity="center"/>
</item>
</layer-list>

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 19 KiB