This repository has been archived by the owner on Nov 22, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
710 additions
and
608 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,9 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.github.pedrovgs"> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.github.pedrovgs"> | ||
|
||
<uses-sdk android:minSdkVersion="8" | ||
android:targetSdkVersion="19"/> | ||
<uses-sdk | ||
android:minSdkVersion="8" | ||
android:targetSdkVersion="19" /> | ||
|
||
</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 was deleted.
Oops, something went wrong.
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,24 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<com.github.pedrovgs.DraggableView | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:draggable_view="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/draggable_view" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
draggable_view:top_view_id="@+id/drag_view" | ||
draggable_view:bottom_view_id="@+id/second_view"> | ||
<com.github.pedrovgs.DraggableView xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:draggable_view="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/draggable_view" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
draggable_view:bottom_view_id="@+id/second_view" | ||
draggable_view:top_view_id="@+id/drag_view"> | ||
|
||
<FrameLayout | ||
android:id="@+id/second_view" | ||
android:layout_below="@+id/drag_view" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent"/> | ||
android:id="@+id/second_view" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_below="@+id/drag_view" /> | ||
|
||
<FrameLayout | ||
android:id="@+id/drag_view" | ||
android:orientation="vertical" | ||
android:layout_height="wrap_content" | ||
android:layout_width="fill_parent" | ||
android:layout_alignParentTop="true"/> | ||
android:id="@+id/drag_view" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentTop="true" | ||
android:orientation="vertical" /> | ||
|
||
</com.github.pedrovgs.DraggableView> |
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,23 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<declare-styleable name="draggable_panel"> | ||
<attr name="top_fragment_height" format="dimension"/> | ||
<attr name="x_scale_factor" format="float"/> | ||
<attr name="y_scale_factor" format="float"/> | ||
<attr name="top_fragment_margin_right" format="dimension"/> | ||
<attr name="top_fragment_margin_bottom" format="dimension"/> | ||
<attr name="enable_horizontal_alpha_effect" format="boolean"/> | ||
<attr name="top_fragment_height" format="dimension" /> | ||
<attr name="x_scale_factor" format="float" /> | ||
<attr name="y_scale_factor" format="float" /> | ||
<attr name="top_fragment_margin_right" format="dimension" /> | ||
<attr name="top_fragment_margin_bottom" format="dimension" /> | ||
<attr name="enable_horizontal_alpha_effect" format="boolean" /> | ||
</declare-styleable> | ||
|
||
<declare-styleable name="draggable_view"> | ||
<attr name="top_view_id" format="reference"/> | ||
<attr name="bottom_view_id" format="reference"/> | ||
<attr name="top_view_height" format="dimension"/> | ||
<attr name="top_view_x_scale_factor" format="float"/> | ||
<attr name="top_view_y_scale_factor" format="float"/> | ||
<attr name="top_view_margin_right" format="dimension"/> | ||
<attr name="top_view_margin_bottom" format="dimension"/> | ||
<attr name="enable_minimized_horizontal_alpha_effect" format="boolean"/> | ||
<attr name="top_view_id" format="reference" /> | ||
<attr name="bottom_view_id" format="reference" /> | ||
<attr name="top_view_height" format="dimension" /> | ||
<attr name="top_view_x_scale_factor" format="float" /> | ||
<attr name="top_view_y_scale_factor" format="float" /> | ||
<attr name="top_view_margin_right" format="dimension" /> | ||
<attr name="top_view_margin_bottom" format="dimension" /> | ||
<attr name="enable_minimized_horizontal_alpha_effect" format="boolean" /> | ||
<attr name="top_view_resize" format="boolean" /> | ||
</declare-styleable> | ||
|
||
</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
Oops, something went wrong.