-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from wordpress-mobile/clean/autogrow-direct-lin…
…k-to-aztec Clean/autogrow direct link to aztec
- Loading branch information
Showing
19 changed files
with
122 additions
and
873 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
android/Application/src/main/java/com/example/android/MainActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
* Copyright 2013 The Android Open Source Project | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
|
||
package com.example.android; | ||
|
||
import android.os.Bundle; | ||
import android.support.v4.app.FragmentTransaction; | ||
import android.view.KeyEvent; | ||
|
||
import com.example.android.common.activities.SampleRNBaseActivity; | ||
import com.example.android.recyclerview.R; | ||
|
||
/** | ||
* A simple launcher activity containing a summary sample description, sample log and a custom | ||
* {@link android.support.v4.app.Fragment} which can display a view. | ||
* <p> | ||
* For devices with displays with a width of 720dp or greater, the sample log is always visible, | ||
* on other devices it's visibility is controlled by an item on the Action Bar. | ||
*/ | ||
public class MainActivity extends SampleRNBaseActivity { | ||
|
||
public static final String TAG = "MainActivity"; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_main); | ||
|
||
if (savedInstanceState == null) { | ||
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); | ||
MyFragment fragment = new MyFragment(); | ||
transaction.replace(R.id.sample_content_fragment, fragment); | ||
transaction.commit(); | ||
} | ||
} | ||
|
||
@Override | ||
public boolean onKeyUp(int keyCode, KeyEvent event) { | ||
if (keyCode == KeyEvent.KEYCODE_MENU && mReactInstanceManager != null) { | ||
mReactInstanceManager.showDevOptionsDialog(); | ||
return true; | ||
} | ||
return super.onKeyUp(keyCode, event); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...clerview/AztecRN/ReactAztecBlurEvent.java → ...droid/ReactAztec/ReactAztecBlurEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lerview/AztecRN/ReactAztecFocusEvent.java → ...roid/ReactAztec/ReactAztecFocusEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...cyclerview/AztecRN/ReactAztecManager.java → ...android/ReactAztec/ReactAztecManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...cyclerview/AztecRN/ReactAztecPackage.java → ...android/ReactAztec/ReactAztecPackage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../recyclerview/AztecRN/ReactAztecView.java → ...le/android/ReactAztec/ReactAztecView.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ew/AztecRN/ReactaztecEndEditingEvent.java → ...ReactAztec/ReactaztecEndEditingEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.