Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
#37
Browse files Browse the repository at this point in the history
The async demo has been rewrote to a simpler form

Other refactorings.
  • Loading branch information
openaphid committed Dec 28, 2012
1 parent 8f9c1ef commit be3545d
Show file tree
Hide file tree
Showing 18 changed files with 443 additions and 500 deletions.
2 changes: 1 addition & 1 deletion FlipView/Demo/Aphid-FlipView-Demo.iml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
</content>
<orderEntry type="jdk" jdkName="Android 2.2 Platform" jdkType="Android SDK" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="Aphid-FlipView-Library" />
<orderEntry type="module-library">
Expand Down
Binary file modified FlipView/Demo/libs/android-support-v4.jar
Binary file not shown.
Binary file removed FlipView/Demo/libs/imageloader-core-1.5.7.jar
Binary file not shown.
192 changes: 0 additions & 192 deletions FlipView/Demo/libs/imageloader_LICENSE.txt

This file was deleted.

3 changes: 2 additions & 1 deletion FlipView/Demo/res/layout/complex1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@

<ImageView android:layout_gravity="center_horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:scaleType="centerCrop"
android:layout_margin="5dp"
android:layout_weight="1"
android:id="@+id/photo"
/>

Expand Down
32 changes: 30 additions & 2 deletions FlipView/Demo/res/layout/xml_layout.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<com.aphidmobile.flip.FlipViewController xmlns:android="http://schemas.android.com/apk/res/android"

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@android:color/white"
>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@android:style/TextAppearance.Large"
android:text="Header"
android:background="@android:color/darker_gray"
/>

<com.aphidmobile.flip.FlipViewController
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:id="@+id/flipView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height = "0dp"
android:layout_weight="1"
custom:orientation="horizontal" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@android:style/TextAppearance.Large"
android:text="Footer"
android:background="@android:color/darker_gray"
/>

</LinearLayout>


Loading

0 comments on commit be3545d

Please sign in to comment.