-
Notifications
You must be signed in to change notification settings - Fork 49
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 #6 from kaelaela/develop
Update v1.1.0
- Loading branch information
Showing
18 changed files
with
285 additions
and
108 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,12 @@ OpenGraphView | |
|
||
Rich url link view for Android. | ||
|
||
![default](art/ogview.gif) | ||
![default](art/ogview.gif)![default](art/ogview2.gif) | ||
|
||
## Usage | ||
|
||
```groovy | ||
compile 'me.kaelaela:OpenGraphView:1.0.2' | ||
compile 'me.kaelaela:OpenGraphView:1.1.0@aar' | ||
``` | ||
|
||
```java | ||
|
@@ -27,12 +27,12 @@ ogView.loadFrom(url); | |
android:layout_width="match_parent" | ||
android:layout_height="96dp" | ||
og:bgColor="@android:color/white" | ||
og:cornerRadius="4dp" | ||
og:descTextColor="@color/text_black" | ||
og:faviconPlaceHolder="@color/light_gray" | ||
og:imagePlaceHolder="@color/light_gray" | ||
og:separateImage="true" | ||
og:strokeColor="@color/light_gray" | ||
og:strokeWidth="2dp" | ||
og:titleColor="@color/text_black" | ||
og:urlTextColor="@color/base_gray" | ||
og:imagePosition="left|right" | ||
|
@@ -42,6 +42,7 @@ ogView.loadFrom(url); | |
| Attribute | Description | | ||
|:---|:---| | ||
| bgColor | Set background color | | ||
| cornerRadius | Set view corner radius | | ||
| imagePlaceHolder | Set image or drawable to image place holder | | ||
| faviconPlaceHolder | Set image or drawable to favicon place holder | | ||
| separateImage | Set image separator visiblity | | ||
|
@@ -57,17 +58,18 @@ ogView.loadFrom(url); | |
- [ ] Custom layout | ||
- [x] View color | ||
- [ ] View size | ||
- [x] Text ~~size, line, style,~~ color | ||
- [x] Text color | ||
- [x] Image position | ||
- [ ] Rounded view | ||
- [x] Rounded view | ||
- [x] Image cache | ||
- [ ] Enable load twitter | ||
- [ ] More metadata | ||
- [x] Enable load twitter | ||
- [ ] Load more metadata | ||
- [ ] custom parser | ||
|
||
## Me | ||
|
||
Yuichi Maekawa(Kaelaela) | ||
* Twitter [@Yuichi0531](https://twitter.com/Yuichi0531) | ||
* Twitter [@kaelaela31](https://twitter.com/kaelaela31) | ||
* [email protected] | ||
|
||
##### Inspired | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,6 +1,6 @@ | ||
#Mon Dec 28 10:00:20 PST 2015 | ||
#Wed Oct 19 21:01:30 JST 2016 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip |
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.