This repository has been archived by the owner on May 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 816
Downgrade API 14 #61
Open
ppamorim
wants to merge
7
commits into
facebookarchive:master
Choose a base branch
from
ppamorim:downgrade
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Downgrade API 14 #61
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2ba347e
Changes on examples
ppamorim 60c5178
uncommited change
ppamorim 18dce14
Rectoring at OverScrollView
ppamorim 419f51e
Structure changes
ppamorim e7df1fe
Example and Playground updated
ppamorim b230210
Merge pull request #1 from ppamorim/structure
ppamorim 1a7ff00
Api downgrade and minor changes
ppamorim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.facebook.rebound.example" | ||
android:versionCode="1" | ||
android:versionName="1.0"> | ||
<uses-sdk android:targetSdkVersion="19" | ||
android:minSdkVersion="14"/> | ||
|
||
<application | ||
android:label="Rebound Example" | ||
android:hardwareAccelerated="true" | ||
android:allowBackup="false" | ||
android:icon="@drawable/rebound_icon" | ||
> | ||
android:icon="@drawable/rebound_icon"> | ||
|
||
<activity | ||
android:name="com.facebook.rebound.example.MainActivity" | ||
android:theme="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen" | ||
android:theme="@style/AppTheme" | ||
android:label="Rebound Example"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
</activity> | ||
|
||
</application> | ||
|
||
</manifest> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/root_view" | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
> | ||
android:id="@+id/root_view" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<ImageView | ||
android:id="@+id/image_view" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:src="@drawable/landscape" | ||
android:scaleType="centerCrop" | ||
/> | ||
android:scaleType="centerCrop"/> | ||
|
||
<com.facebook.rebound.ui.SpringConfiguratorView | ||
android:id="@+id/spring_configurator" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="bottom" | ||
/> | ||
android:layout_gravity="bottom"/> | ||
|
||
</FrameLayout> |
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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="black">#000000</color> | ||
</resources> |
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,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<!-- Base application theme. --> | ||
<style name="AppTheme" parent="Theme.AppCompat.NoActionBar"> | ||
<item name="android:windowContentOverlay">@null</item> | ||
<item name="android:windowNoTitle">true</item> | ||
<item name="android:windowActionBar">false</item> | ||
<item name="android:windowBackground">@color/black</item> | ||
</style> | ||
|
||
</resources> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.facebook.rebound.playground" > | ||
<uses-sdk android:targetSdkVersion="19" | ||
android:minSdkVersion="16"/> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@drawable/rebound_icon" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme" | ||
android:hardwareAccelerated="true" | ||
> | ||
android:hardwareAccelerated="true"> | ||
|
||
<activity | ||
android:name="com.facebook.rebound.playground.app.PlaygroundActivity" | ||
android:theme="@android:style/Theme.Holo.NoActionBar" | ||
android:screenOrientation="portrait" | ||
android:label="@string/app_name" > | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
</application> | ||
|
||
</manifest> |
17 changes: 17 additions & 0 deletions
17
...ndroid-playground/src/main/java/com/facebook/rebound/playground/app/AbstractActivity.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,17 @@ | ||
package com.facebook.rebound.playground.app; | ||
|
||
import android.os.Bundle; | ||
import android.support.v7.app.AppCompatActivity; | ||
import butterknife.ButterKnife; | ||
|
||
public abstract class AbstractActivity extends AppCompatActivity { | ||
|
||
@Override protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(getContentViewId()); | ||
ButterKnife.bind(this); | ||
} | ||
|
||
protected abstract int getContentViewId(); | ||
|
||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove