Commit 3e25fd61 authored by norhalimah's avatar norhalimah

styling..

parent 581d1a12
...@@ -13,7 +13,7 @@ public class MainActivity extends ReactActivity { ...@@ -13,7 +13,7 @@ public class MainActivity extends ReactActivity {
*/ */
@Override @Override
protected String getMainComponentName() { protected String getMainComponentName() {
return "PianoApp"; return "PianoSmart";
} }
@Override @Override
......
<resources> <resources>
<string name="app_name">PianoApp</string> <string name="app_name">PianoSmart</string>
</resources> </resources>
rootProject.name = 'PianoApp' rootProject.name = 'PianoSmart'
include ':@react-native-community_art' include ':@react-native-community_art'
project(':@react-native-community_art').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/art/android') project(':@react-native-community_art').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/art/android')
include ':@react-native-community_art' include ':@react-native-community_art'
......
{ {
"name": "PianoApp", "name": "PianoSmart",
"displayName": "PianoApp" "displayName": "PianoSmart"
} }
\ No newline at end of file
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
#define TIMEOUT_SECONDS 600 #define TIMEOUT_SECONDS 600
#define TEXT_TO_LOOK_FOR @"Welcome to React" #define TEXT_TO_LOOK_FOR @"Welcome to React"
@interface PianoAppTests : XCTestCase @interface PianoSmartTests : XCTestCase
@end @end
@implementation PianoAppTests @implementation PianoSmartTests
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
{ {
......
...@@ -3,7 +3,7 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ ...@@ -3,7 +3,7 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ
platform :ios, '10.0' platform :ios, '10.0'
target 'PianoApp' do target 'PianoSmart' do
config = use_native_modules! config = use_native_modules!
use_react_native!(:path => config["reactNativePath"]) use_react_native!(:path => config["reactNativePath"])
...@@ -22,7 +22,7 @@ target 'PianoApp' do ...@@ -22,7 +22,7 @@ target 'PianoApp' do
pod 'ReactNativeART', :path => '../node_modules/@react-native-community/art' pod 'ReactNativeART', :path => '../node_modules/@react-native-community/art'
target 'PianoAppTests' do target 'PianoSmartTests' do
inherit! :complete inherit! :complete
# Pods for testing # Pods for testing
end end
...@@ -37,10 +37,10 @@ target 'PianoApp' do ...@@ -37,10 +37,10 @@ target 'PianoApp' do
end end
end end
target 'PianoApp-tvOS' do target 'PianoSmart-tvOS' do
# Pods for PianoApp-tvOS # Pods for PianoSmart-tvOS
target 'PianoApp-tvOSTests' do target 'PianoSmart-tvOSTests' do
inherit! :search_paths inherit! :search_paths
# Pods for testing # Pods for testing
end end
......
{ {
"name": "PianoApp", "name": "PianoSmart",
"version": "0.0.1", "version": "0.0.1",
"private": true, "private": true,
"scripts": { "scripts": {
......
...@@ -4,12 +4,10 @@ ...@@ -4,12 +4,10 @@
/* eslint-disable prettier/prettier */ /* eslint-disable prettier/prettier */
import React from 'react'; import React from 'react';
import { import {
ImageBackground,
Text, Text,
View, View,
StatusBar, StatusBar,
TouchableHighlight, TouchableHighlight,
Button,
Modal, Modal,
TouchableOpacity, TouchableOpacity,
Dimensions, Dimensions,
...@@ -691,7 +689,7 @@ showDone(){ ...@@ -691,7 +689,7 @@ showDone(){
marginTop:10, marginTop:10,
marginBottom:10, marginBottom:10,
}} }}
onPress={() => this.backAction()}> onPress={() => this.playButton()}>
<Text style={{color: '#FFFFFF', <Text style={{color: '#FFFFFF',
fontFamily: 'Gilroy-Bold', fontSize:16, textAlign: 'left', lineHeight:20, paddingHorizontal:Dimensions.get('window').width * 0.13}}>PLAY</Text> fontFamily: 'Gilroy-Bold', fontSize:16, textAlign: 'left', lineHeight:20, paddingHorizontal:Dimensions.get('window').width * 0.13}}>PLAY</Text>
</TouchableOpacity> </TouchableOpacity>
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment