Skip to content

Commit 0b03285

Browse files
committed
Merge pull request #116 from chrisjenx/triage-for-2-0-0-release
Triage for 2 0 0 release
2 parents b2eeccd + 7dbd1b6 commit 0b03285

File tree

10 files changed

+18
-8
lines changed

10 files changed

+18
-8
lines changed

CalligraphySample/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ apply plugin: 'com.android.application'
1010

1111
android {
1212
compileSdkVersion 21
13-
buildToolsVersion "21.1.1"
13+
buildToolsVersion "21.1.2"
1414

1515
defaultConfig {
1616
minSdkVersion 7
@@ -29,8 +29,8 @@ android {
2929

3030
dependencies {
3131
compile project(':calligraphy')
32-
compile 'com.android.support:support-v4:21.0.2'
33-
compile 'com.android.support:appcompat-v7:21.0.2'
32+
compile 'com.android.support:support-v4:21.0.3'
33+
compile 'com.android.support:appcompat-v7:21.0.3'
3434

3535
compile 'com.jakewharton:butterknife:5.1.2'
3636
}

CalligraphySample/src/main/assets/fonts/Roboto-Bold.ttf

100755100644
-18.1 KB
Binary file not shown.
-12.7 KB
Binary file not shown.
-25.2 KB
Binary file not shown.
Binary file not shown.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
1+
<TextView
2+
3+
xmlns:android="http://schemas.android.com/apk/res/android"
24
android:layout_width="wrap_content"
35
android:layout_height="wrap_content"
4-
android:text="@string/defined_view_stub" />
6+
android:text="@string/defined_view_stub"/>
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<TextView
22
fontPath="fonts/Oswald-Stencbab.ttf"
33
xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:tools="http://schemas.android.com/tools"
45
android:layout_width="wrap_content"
56
android:layout_height="wrap_content"
6-
android:text="@string/defined_view_stub_font_path" />
7+
android:text="@string/defined_view_stub_font_path"
8+
tools:ignore="MissingPrefix"/>

CalligraphySample/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<resources>
33

44
<string name="app_name">Calligraphy</string>
5+
<string name="defined_gtw">\nThis is text set by the gtw style.\n</string>
56
<string name="default_theme">\nThis is text set by the default theme fontPath.\n</string>
67
<string name="defined_fontpath_view">\nThis has a font path set to Roboto Bold, on the View.\n</string>
78
<string name="defined_incorrect">\nThis has a fontPath set to a font file that does not exist, it goes back to the default.\n</string>

CalligraphySample/src/main/res/values/styles.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323

2424
<style name="AppTheme.Widget"/>
2525

26+
<style name="TextViewNoStyleParent">
27+
<item name="android:textColor">@android:color/holo_blue_dark</item>
28+
<item name="fontPath">fonts/gtw.ttf</item>
29+
</style>
30+
2631
<style name="AppTheme.Widget.TextView" parent="android:Widget.Holo.Light.TextView">
2732
<!-- Custom Attr-->
2833
<item name="fontPath">fonts/RobotoCondensed-Regular.ttf</item>

calligraphy/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repositories {
1414

1515
android {
1616
compileSdkVersion 21
17-
buildToolsVersion "21.1.1"
17+
buildToolsVersion "21.1.2"
1818

1919
defaultConfig {
2020
minSdkVersion 7
@@ -31,7 +31,7 @@ android {
3131
}
3232

3333
dependencies {
34-
provided 'com.android.support:appcompat-v7:21.0.2'
34+
provided 'com.android.support:appcompat-v7:21.0.3'
3535
}
3636

3737
apply from: '../gradle/deploy.gradle'

0 commit comments

Comments
 (0)