Skip to content

Commit

Permalink
- declared public resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Zawadzki committed Sep 28, 2016
1 parent bd621b5 commit 97678b2
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This library tries to mimic the activity chooser version you can see on Android

## Download (from JCenter)
```groovy
compile 'com.github.zawadz88:material-activity-chooser:0.1.0'
compile 'com.github.zawadz88:material-activity-chooser:0.1.1'
```

## Supported features
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ org.gradle.jvmargs=-Xmx1536m

POM_GROUP_ID=com.github.zawadz88
POM_ARTIFACT_ID=material-activity-chooser
POM_VERSION=0.1.0
POM_VERSION=0.1.1
4 changes: 4 additions & 0 deletions material-activity-chooser/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

sourceSets.all { sourceSet ->
sourceSet.res.srcDirs += ['src/main/res-public']
}
}

dependencies {
Expand Down
30 changes: 30 additions & 0 deletions material-activity-chooser/src/main/res-public/values/public.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Attributes -->
<public type="attr" name="mac_bottomSheetStyle" />
<public type="attr" name="mac_bottomSheetTitleStyle" />
<public type="attr" name="mac_emptyViewStyle" />
<public type="attr" name="mac_emptyViewTitleStyle" />
<public type="attr" name="mac_emptyViewButtonStyle" />
<public type="attr" name="mac_activityItemStyle" />
<public type="attr" name="mac_activityItemIconStyle" />
<public type="attr" name="mac_activityItemLabelStyle" />

<public type="attr" name="mac_activityItemSpanCount" />

<public type="attr" name="state_over_content" />

<!-- Styles -->
<public type="style" name="MACBottomSheet" />
<public type="style" name="MACBottomSheetTitle" />
<public type="style" name="MACActivityItem" />
<public type="style" name="MACActivityItemIcon" />
<public type="style" name="MACActivityItemLabel" />
<public type="style" name="MACEmptyView" />
<public type="style" name="MACEmptyViewTitle" />
<public type="style" name="MACEmptyViewButton" />

<!-- Themes -->
<public type="style" name="MACTheme" />

</resources>

0 comments on commit 97678b2

Please sign in to comment.