From 2295bd4f8f4a1d565e69ab5931ae2f0108d24407 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 1 Sep 2018 02:34:08 +0200 Subject: Added drawing tool and color selection seekbar --- .../main/java/me/texx/Texx/MediaPreviewActivity.kt | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 app/src/main/java/me/texx/Texx/MediaPreviewActivity.kt (limited to 'app/src/main/java/me/texx/Texx/MediaPreviewActivity.kt') diff --git a/app/src/main/java/me/texx/Texx/MediaPreviewActivity.kt b/app/src/main/java/me/texx/Texx/MediaPreviewActivity.kt deleted file mode 100644 index b0ebaa7..0000000 --- a/app/src/main/java/me/texx/Texx/MediaPreviewActivity.kt +++ /dev/null @@ -1,34 +0,0 @@ -package me.texx.Texx - -import android.net.Uri -import android.os.Bundle -import android.support.v7.app.AppCompatActivity -import android.view.Window -import android.view.WindowManager -import android.widget.ImageView -import daio.io.dresscode.dressCodeName -import daio.io.dresscode.matchDressCode -import me.texx.Texx.util.ThemeUtil.getThemeName - -/** - * Activity which will be shown after you've taken a picture - * Previews the taken picture and posts it if you want - */ -class MediaPreviewActivity : AppCompatActivity() { - /** - * Set initial configuration - */ - override fun onCreate(savedInstanceState: Bundle?) { - matchDressCode() - super.onCreate(savedInstanceState) - dressCodeName = getThemeName(this) - requestWindowFeature(Window.FEATURE_NO_TITLE) - window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, - WindowManager.LayoutParams.FLAG_FULLSCREEN) - setContentView(R.layout.activity_media_preview) - - val filepath = intent.getStringExtra("filepath") - val imageView = findViewById(R.id.imagePreview) - imageView.setImageURI(Uri.parse(filepath)) - } -} -- cgit v1.2.3