Skip to content

Instantly share code, notes, and snippets.

View learnpainless's full-sized avatar

Learn Pain Less learnpainless

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>404 HTML Tempalte by Prolong Services</title>
<!-- Google font -->
package com.learnpainless.androidnavigation.fragments
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.fragment.findNavController
import com.learnpainless.androidnavigation.R
import kotlinx.android.synthetic.main.fragment_second.*
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main_graph"
app:startDestination="@id/firstFragment">
<fragment
android:id="@+id/secondFragment"
android:name="com.learnpainless.androidnavigation.fragments.SecondFragment"
import React, {Component} from 'react';
import BottomNavigator from "./BottomNavigator";
export default class App extends Component {
render() {
return (
<BottomNavigator />
);
}
}
import React, { Component } from 'react';
import { View } from 'react-native';
import { Icon} from 'react-native-elements'
class BottomNavigator extends Component {
render() {
return (
<View style={{
flex: 1,
flexDirection: 'column',