Skip to content

Commit 5e5a000

Browse files
committed
Initial commit
0 parents  commit 5e5a000

File tree

84 files changed

+1079
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+1079
-0
lines changed

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/workspace.xml
5+
/.idea/libraries
6+
.DS_Store
7+
/build
8+
/captures
9+
.externalNativeBuild
10+
/.idea
11+
/build
12+
gradlew
13+
gradlew.bat
14+
/gradle

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# UIWidget
2+
--------------------------
3+
### 一、简介:
4+
5+
一个集成[UIAlertView](https://github.com/AriesHoo/UIAlertView)[UIActionSheetView](https://github.com/AriesHoo/UIActionSheetView)[UIProgressView](https://github.com/AriesHoo/UIProgressView)[RadiusView](https://github.com/AriesHoo/RadiusView)[TitleBarView](https://github.com/AriesHoo/TitleBarView)
6+
等项目常用UI库
7+
8+
[[Sample PC Download]](https://github.com/AriesHoo/UIWidget/blob/master/apk/sample.apk)
9+
10+
[[Sample Mobile Download]](http://fir.im/r84v)
11+
12+
![](https://github.com/AriesHoo/UIWidget/blob/master/apk/qr.png)
13+
14+
**1.1 Gradle集成**
15+
16+
```
17+
allprojects {
18+
repositories {
19+
...
20+
maven { url "https://jitpack.io" }
21+
}
22+
}
23+
```
24+
25+
```
26+
dependencies {
27+
    //compile 'com.github.AriesHoo:UIWidget:1.6.0'
28+
compile 'com.github.AriesHoo:UIWidget:${LATEST_VERSION}'
29+
}
30+
```
31+
### 二、录屏预览
32+
33+
![](https://github.com/AriesHoo/UIWidget/blob/master/screenshot/widget.gif)
34+
35+
[UIAlertView](https://github.com/AriesHoo/UIAlertView)
36+
37+
![](https://github.com/AriesHoo/UIWidget/blob/master/screenshot/alert.gif)
38+
39+
[UIActionSheetView](https://github.com/AriesHoo/UIActionSheetView)
40+
41+
![](https://github.com/AriesHoo/UIWidget/blob/master/screenshot/action.gif)
42+
43+
[UIProgressView](https://github.com/AriesHoo/UIProgressView)
44+
45+
![](https://github.com/AriesHoo/UIWidget/blob/master/screenshot/loading.gif)
46+
47+
[RadiusView](https://github.com/AriesHoo/RadiusView)
48+
49+
![](https://github.com/AriesHoo/UIWidget/blob/master/screenshot/radius.gif)
50+
51+
[TitleBarView](https://github.com/AriesHoo/TitleBarView)
52+
53+
![](https://github.com/AriesHoo/UIWidget/blob/master/screenshot/title.gif)
54+
55+

apk/qr.png

3.46 KB
Loading

apk/sample.apk

1.98 MB
Binary file not shown.

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'com.neenbedankt.android-apt'
3+
4+
android {
5+
def ext = rootProject.ext
6+
compileSdkVersion ext.compileSdkVersion
7+
buildToolsVersion ext.buildToolsVersion
8+
defaultConfig {
9+
applicationId "com.aries.library.fast.demo"
10+
minSdkVersion ext.minSdkVersion
11+
targetSdkVersion ext.targetSdkVersion
12+
versionCode 1
13+
versionName "1.0.1"
14+
multiDexEnabled true
15+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
16+
}
17+
buildTypes {
18+
release {
19+
minifyEnabled false
20+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
21+
}
22+
}
23+
}
24+
25+
dependencies {
26+
compile fileTree(dir: 'libs', include: ['*.jar'])
27+
def supportVersion = rootProject.ext.supportVersion
28+
compile 'com.android.support:appcompat-v7:'.concat(supportVersion)
29+
compile 'com.android.support:recyclerview-v7:'.concat(supportVersion)
30+
compile project(':library')
31+
}

app/proguard-rules.pro

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in D:\Android\sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}

app/src/main/AndroidManifest.xml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.aries.library.fast.demo">
4+
5+
<uses-permission android:name="android.permission.INTERNET"/>
6+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
7+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
8+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
9+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
10+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
11+
12+
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
13+
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
14+
15+
<application
16+
android:allowBackup="true"
17+
android:name=".App"
18+
android:icon="@drawable/ic_logo"
19+
android:label="@string/app_name"
20+
android:supportsRtl="true"
21+
android:theme="@style/AppTheme">
22+
<activity android:name=".MainActivity">
23+
<intent-filter>
24+
<action android:name="android.intent.action.MAIN"/>
25+
26+
<category android:name="android.intent.category.LAUNCHER"/>
27+
</intent-filter>
28+
</activity>
29+
</application>
30+
31+
</manifest>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.aries.library.fast.demo;
2+
3+
import android.content.Context;
4+
5+
import com.aries.library.fast.FastApplication;
6+
7+
/**
8+
* Created: AriesHoo on 2017/6/29 17:00
9+
* Function:
10+
* Desc:
11+
*/
12+
public class App extends FastApplication {
13+
14+
private static Context mContext;
15+
16+
@Override
17+
public void onCreate() {
18+
super.onCreate();
19+
mContext = this;
20+
}
21+
22+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.aries.library.fast.demo;
2+
3+
import android.os.Bundle;
4+
import android.support.annotation.Nullable;
5+
import android.support.v7.app.AppCompatActivity;
6+
7+
/**
8+
* Created by Aries Hoo on 2017/8/14.
9+
*/
10+
11+
public class MainActivity extends AppCompatActivity {
12+
@Override
13+
protected void onCreate(@Nullable Bundle savedInstanceState) {
14+
super.onCreate(savedInstanceState);
15+
}
16+
}

0 commit comments

Comments
 (0)