Skip to content

Commit

Permalink
Fix Dialog Error.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhinLiang committed Mar 17, 2016
1 parent 6a2805b commit 10304d6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile project(':material')
compile 'com.android.support:appcompat-v7:23.1.1'
compile project(':mdpreference')
compile project(':material')
}
14 changes: 5 additions & 9 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

## Project-wide Gradle settings.
#
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

#
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# org.gradle.parallel=true
2 changes: 1 addition & 1 deletion material/src/main/java/com/rey/material/dialog/Dialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ public boolean onTouchEvent(MotionEvent event) {

}

private class DialogCardView extends CardView {
public class DialogCardView extends CardView {

private Paint mDividerPaint;
private float mDividerPos = -1f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
final class ThemeUtils {

// material_deep_teal_500
static final int FALLBACK_COLOR = parseColor("#009688");
public static final int FALLBACK_COLOR = parseColor("#009688");

private ThemeUtils() {
// no instances
Expand Down

0 comments on commit 10304d6

Please sign in to comment.