Daniel Zlotin před 8 roky
rodič
revize
8138bd25dd

+ 7
- 0
android/app/src/main/java/com/reactnativenavigation/layouts/ScreenLayout.java Zobrazit soubor

@@ -0,0 +1,7 @@
1
+package com.reactnativenavigation.layouts;
2
+
3
+import com.facebook.react.ReactRootView;
4
+
5
+public class ScreenLayout extends ReactRootView {
6
+
7
+}

+ 0
- 48
android/app/src/main/res/layout/bottom_tab_activity.xml Zobrazit soubor

@@ -1,48 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
-    xmlns:app="http://schemas.android.com/apk/res-auto"
4
-    xmlns:tools="http://schemas.android.com/tools"
5
-    android:layout_width="match_parent"
6
-    android:layout_height="match_parent"
7
-    android:animateLayoutChanges="true"
8
-    android:orientation="vertical"
9
-    tools:context=".activities.BottomTabActivity">
10
-
11
-    <android.support.design.widget.AppBarLayout
12
-        android:id="@+id/appbar"
13
-        android:layout_width="match_parent"
14
-        android:layout_height="wrap_content"
15
-        android:fitsSystemWindows="true">
16
-
17
-        <com.reactnativenavigation.views.RnnToolBar
18
-            android:id="@+id/toolbar"
19
-            android:layout_width="match_parent"
20
-            android:layout_height="?attr/actionBarSize"
21
-            app:layout_scrollFlags="scroll|enterAlways" />
22
-    </android.support.design.widget.AppBarLayout>
23
-
24
-    <android.support.v4.widget.DrawerLayout
25
-        android:id="@+id/drawerLayout"
26
-        android:layout_width="match_parent"
27
-        android:layout_height="0dp"
28
-        android:layout_weight="1">
29
-
30
-        <android.support.design.widget.CoordinatorLayout
31
-            android:id="@+id/contentFrame"
32
-            android:layout_width="match_parent"
33
-            android:layout_height="0dp"
34
-            android:layout_weight="1" />
35
-
36
-        <FrameLayout
37
-            android:id="@+id/drawerFrame"
38
-            android:layout_width="wrap_content"
39
-            android:layout_height="match_parent"
40
-            android:layout_gravity="start" />
41
-    </android.support.v4.widget.DrawerLayout>
42
-
43
-    <com.aurelhubert.ahbottomnavigation.AHBottomNavigation
44
-        android:id="@+id/bottom_tab_bar"
45
-        android:layout_width="match_parent"
46
-        android:layout_height="wrap_content" />
47
-
48
-</LinearLayout>

+ 0
- 26
android/app/src/main/res/layout/modal_layout.xml Zobrazit soubor

@@ -1,26 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
-    xmlns:app="http://schemas.android.com/apk/res-auto"
4
-    android:layout_width="match_parent"
5
-    android:layout_height="match_parent"
6
-    android:background="@android:color/transparent"
7
-    android:orientation="vertical">
8
-
9
-    <android.support.design.widget.AppBarLayout
10
-        android:id="@+id/appbar"
11
-        android:layout_width="match_parent"
12
-        android:layout_height="wrap_content"
13
-        android:fitsSystemWindows="true">
14
-
15
-        <com.reactnativenavigation.views.RnnToolBar
16
-            android:id="@+id/toolbar"
17
-            android:layout_width="match_parent"
18
-            android:layout_height="?attr/actionBarSize"
19
-            app:layout_scrollFlags="scroll|enterAlways" />
20
-    </android.support.design.widget.AppBarLayout>
21
-
22
-    <com.reactnativenavigation.views.ScreenStack
23
-        android:id="@+id/screenStack"
24
-        android:layout_width="match_parent"
25
-        android:layout_height="match_parent" />
26
-</LinearLayout>

+ 0
- 37
android/app/src/main/res/layout/single_screen_activity.xml Zobrazit soubor

@@ -1,37 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
-    xmlns:app="http://schemas.android.com/apk/res-auto"
4
-    android:layout_width="match_parent"
5
-    android:layout_height="match_parent"
6
-    android:orientation="vertical">
7
-
8
-    <android.support.design.widget.AppBarLayout
9
-        android:id="@+id/appbar"
10
-        android:layout_width="match_parent"
11
-        android:layout_height="wrap_content"
12
-        android:fitsSystemWindows="true">
13
-
14
-        <com.reactnativenavigation.views.RnnToolBar
15
-            android:id="@+id/toolbar"
16
-            android:layout_width="match_parent"
17
-            android:layout_height="?attr/actionBarSize"
18
-            app:layout_scrollFlags="scroll|enterAlways" />
19
-    </android.support.design.widget.AppBarLayout>
20
-
21
-    <android.support.v4.widget.DrawerLayout
22
-        android:id="@+id/drawerLayout"
23
-        android:layout_width="match_parent"
24
-        android:layout_height="match_parent">
25
-
26
-        <android.support.design.widget.CoordinatorLayout
27
-            android:id="@+id/contentFrame"
28
-            android:layout_width="match_parent"
29
-            android:layout_height="match_parent" />
30
-
31
-        <FrameLayout
32
-            android:id="@+id/drawerFrame"
33
-            android:layout_width="wrap_content"
34
-            android:layout_height="match_parent"
35
-            android:layout_gravity="start" />
36
-    </android.support.v4.widget.DrawerLayout>
37
-</LinearLayout>