forked from jaydeepw/poly-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preview selected images like a carousel
- Loading branch information
Jaydeep
committed
Aug 23, 2014
1 parent
4ddbcc0
commit 103c547
Showing
6 changed files
with
135 additions
and
22 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="@android:color/white" | ||
android:clickable="true" | ||
android:orientation="vertical" | ||
android:padding="@dimen/media_spacing" > | ||
|
||
<ImageView | ||
android:id="@+id/media_image" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:adjustViewBounds="true" | ||
android:contentDescription="new post image" | ||
android:scaleType="centerCrop" | ||
android:visibility="visible" /> | ||
|
||
<!-- <ImageView | ||
android:id="@+id/remove_media" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="right|top" | ||
android:layout_margin="@dimen/media_spacing" | ||
android:background="@android:color/transparent" | ||
android:contentDescription="remove button" | ||
android:src="@drawable/btn_remove" /> --> | ||
|
||
</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,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<dimen name="media_spacing">10dp</dimen> | ||
|
||
</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