Skip to content

Commit

Permalink
重写
Browse files Browse the repository at this point in the history
  • Loading branch information
LRH1993 committed May 26, 2017
1 parent 68440db commit 2a62275
Show file tree
Hide file tree
Showing 120 changed files with 39 additions and 5,259 deletions.
5 changes: 4 additions & 1 deletion recyclerview_helper/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<activity android:name=".sample.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>

<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:name=".sample.AllActivity"></activity>
</application>



</manifest>

This file was deleted.

40 changes: 30 additions & 10 deletions recyclerview_helper/app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.lvr.recyclerview_helper.MainActivity">
android:orientation="vertical">

<TextView
android:layout_width="wrap_content"
<android.support.v7.widget.Toolbar
android:id="@+id/tool_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Hello World!"/>
</RelativeLayout>
android:background="@color/colorPrimary"
android:minHeight="?attr/actionBarSize">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Spinner
android:id="@+id/spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<Button
android:id="@+id/btn_next"
android:background="@null"
android:text="跳转"
android:layout_alignParentRight="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</RelativeLayout>
</android.support.v7.widget.Toolbar>
<com.lvr.library.recyclerview.HRecyclerView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
2 changes: 1 addition & 1 deletion recyclerview_helper/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
Expand Down
1 change: 1 addition & 0 deletions recyclerview_helper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ buildscript {

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
}
}

Expand Down
3 changes: 3 additions & 0 deletions recyclerview_helper/library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
group='com.github.LRH1993'

android {
compileSdkVersion 25
Expand Down Expand Up @@ -28,4 +30,5 @@ dependencies {
})
compile 'com.android.support:appcompat-v7:25.1.0'
testCompile 'junit:junit:4.12'
compile 'com.android.support:recyclerview-v7:25.1.0'
}
9 changes: 0 additions & 9 deletions recyclerview_helper/recyclerview_helper/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions recyclerview_helper/recyclerview_helper/.idea/compiler.xml

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions recyclerview_helper/recyclerview_helper/.idea/encodings.xml

This file was deleted.

19 changes: 0 additions & 19 deletions recyclerview_helper/recyclerview_helper/.idea/gradle.xml

This file was deleted.

This file was deleted.

This file was deleted.

62 changes: 0 additions & 62 deletions recyclerview_helper/recyclerview_helper/.idea/misc.xml

This file was deleted.

10 changes: 0 additions & 10 deletions recyclerview_helper/recyclerview_helper/.idea/modules.xml

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion recyclerview_helper/recyclerview_helper/app/.gitignore

This file was deleted.

30 changes: 0 additions & 30 deletions recyclerview_helper/recyclerview_helper/app/build.gradle

This file was deleted.

17 changes: 0 additions & 17 deletions recyclerview_helper/recyclerview_helper/app/proguard-rules.pro

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2a62275

Please sign in to comment.