From 1170c508b4b947ea01a91737664f09b9fe68e1d0 Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Tue, 2 Aug 2016 01:26:12 +0200 Subject: [PATCH] add new architecture --- app/src/main/AndroidManifest.xml | 9 +++++---- .../java/org/schabi/newpipe/MainActivity.java | 13 +++++++++++++ app/src/main/res/layout/activity_main.xml | 15 +++++++++++++++ 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 app/src/main/java/org/schabi/newpipe/MainActivity.java create mode 100644 app/src/main/res/layout/activity_main.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d18a30f57..a2e4a502f 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -16,8 +16,9 @@ android:logo="@mipmap/ic_launcher" android:theme="@style/AppTheme" tools:ignore="AllowBackup"> + @@ -135,7 +136,7 @@ android:name=".download.MainActivity" android:label="@string/app_name" android:launchMode="singleTask" - android:theme="@style/AppTheme"> + android:theme="@style/AppTheme" /> @@ -143,11 +144,11 @@ android:name="com.nononsenseapps.filepicker.FilePickerActivity" android:label="@string/app_name" android:launchMode="singleTask" - android:theme="@style/FilePickerTheme"> + android:theme="@style/FilePickerTheme" /> + android:theme="@style/AppTheme.NoActionBar" /> \ No newline at end of file diff --git a/app/src/main/java/org/schabi/newpipe/MainActivity.java b/app/src/main/java/org/schabi/newpipe/MainActivity.java new file mode 100644 index 000000000..4fdaa31ff --- /dev/null +++ b/app/src/main/java/org/schabi/newpipe/MainActivity.java @@ -0,0 +1,13 @@ +package org.schabi.newpipe; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class MainActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + } +} diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml new file mode 100644 index 000000000..dda225f91 --- /dev/null +++ b/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,15 @@ + + + + + +