1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-12 03:39:34 +01:00

add new architecture

This commit is contained in:
Christian Schabesberger 2016-08-02 01:26:12 +02:00
parent f34cacbc5c
commit 1170c508b4
3 changed files with 33 additions and 4 deletions

View File

@ -16,8 +16,9 @@
android:logo="@mipmap/ic_launcher"
android:theme="@style/AppTheme"
tools:ignore="AllowBackup">
<activity
android:name=".VideoItemListActivity"
android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@ -135,7 +136,7 @@
android:name=".download.MainActivity"
android:label="@string/app_name"
android:launchMode="singleTask"
android:theme="@style/AppTheme"></activity>
android:theme="@style/AppTheme" />
<service android:name="us.shandian.giga.service.DownloadManagerService" />
@ -143,11 +144,11 @@
android:name="com.nononsenseapps.filepicker.FilePickerActivity"
android:label="@string/app_name"
android:launchMode="singleTask"
android:theme="@style/FilePickerTheme"></activity>
android:theme="@style/FilePickerTheme" />
<activity
android:name=".ChannelActivity"
android:label="@string/title_activity_channel"
android:theme="@style/AppTheme.NoActionBar"></activity>
android:theme="@style/AppTheme.NoActionBar" />
</application>
</manifest>

View File

@ -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);
}
}

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="org.schabi.newpipe.MainActivity"
android:orientation="vertical">
<include layout="@layout/main_bg" />
</RelativeLayout>