diff --git a/1-Base/build.gradle b/1-Base/build.gradle
index 2ff3fb8..af31836 100644
--- a/1-Base/build.gradle
+++ b/1-Base/build.gradle
@@ -17,19 +17,19 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.3"
+ compileSdkVersion 24
+ buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.example.android.materialdesigncodelab"
minSdkVersion 15
- targetSdkVersion 23
+ targetSdkVersion 24
versionCode 1
versionName "1.0"
}
}
dependencies {
- compile 'com.android.support:appcompat-v7:23.4.0'
- compile 'com.android.support:design:23.4.0'
+ compile 'com.android.support:appcompat-v7:24.2.1'
+ compile 'com.android.support:design:24.2.1'
}
diff --git a/1-Base/src/main/res/menu/menu_main.xml b/1-Base/src/main/res/menu/menu_main.xml
index d577760..419a40f 100644
--- a/1-Base/src/main/res/menu/menu_main.xml
+++ b/1-Base/src/main/res/menu/menu_main.xml
@@ -1,3 +1,4 @@
+
-
+
diff --git a/2-Color/build.gradle b/2-Color/build.gradle
index 2ff3fb8..af31836 100644
--- a/2-Color/build.gradle
+++ b/2-Color/build.gradle
@@ -17,19 +17,19 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.3"
+ compileSdkVersion 24
+ buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.example.android.materialdesigncodelab"
minSdkVersion 15
- targetSdkVersion 23
+ targetSdkVersion 24
versionCode 1
versionName "1.0"
}
}
dependencies {
- compile 'com.android.support:appcompat-v7:23.4.0'
- compile 'com.android.support:design:23.4.0'
+ compile 'com.android.support:appcompat-v7:24.2.1'
+ compile 'com.android.support:design:24.2.1'
}
diff --git a/2-Color/src/main/res/menu/menu_main.xml b/2-Color/src/main/res/menu/menu_main.xml
index d577760..419a40f 100644
--- a/2-Color/src/main/res/menu/menu_main.xml
+++ b/2-Color/src/main/res/menu/menu_main.xml
@@ -1,3 +1,4 @@
+
-
-
\ No newline at end of file
+
+
diff --git a/3-Layout/build.gradle b/3-Layout/build.gradle
index f330932..fcdcc48 100644
--- a/3-Layout/build.gradle
+++ b/3-Layout/build.gradle
@@ -17,20 +17,20 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.3"
+ compileSdkVersion 24
+ buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.example.android.materialdesigncodelab"
minSdkVersion 15
- targetSdkVersion 23
+ targetSdkVersion 24
versionCode 1
versionName "1.0"
}
}
dependencies {
- compile 'com.android.support:appcompat-v7:23.4.0'
- compile 'com.android.support:design:23.4.0'
- compile 'com.android.support:recyclerview-v7:23.4.0'
+ compile 'com.android.support:appcompat-v7:24.2.1'
+ compile 'com.android.support:design:24.2.1'
+ compile 'com.android.support:recyclerview-v7:24.2.1'
}
diff --git a/3-Layout/src/main/res/menu/menu_main.xml b/3-Layout/src/main/res/menu/menu_main.xml
index d577760..419a40f 100644
--- a/3-Layout/src/main/res/menu/menu_main.xml
+++ b/3-Layout/src/main/res/menu/menu_main.xml
@@ -1,3 +1,4 @@
+
-
-
\ No newline at end of file
+
+
diff --git a/4-RecyclerView/build.gradle b/4-RecyclerView/build.gradle
index fdee7a6..83dc288 100644
--- a/4-RecyclerView/build.gradle
+++ b/4-RecyclerView/build.gradle
@@ -17,21 +17,21 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.3"
+ compileSdkVersion 24
+ buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.example.android.materialdesigncodelab"
minSdkVersion 15
- targetSdkVersion 23
+ targetSdkVersion 24
versionCode 1
versionName "1.0"
}
}
dependencies {
- compile 'com.android.support:appcompat-v7:23.4.0'
- compile 'com.android.support:design:23.4.0'
- compile 'com.android.support:cardview-v7:23.4.0'
- compile 'com.android.support:recyclerview-v7:23.4.0'
+ compile 'com.android.support:appcompat-v7:24.2.1'
+ compile 'com.android.support:design:24.2.1'
+ compile 'com.android.support:cardview-v7:24.2.1'
+ compile 'com.android.support:recyclerview-v7:24.2.1'
}
diff --git a/4-RecyclerView/src/main/res/layout/item_card.xml b/4-RecyclerView/src/main/res/layout/item_card.xml
index c0e4bf6..33153d2 100644
--- a/4-RecyclerView/src/main/res/layout/item_card.xml
+++ b/4-RecyclerView/src/main/res/layout/item_card.xml
@@ -41,8 +41,9 @@
android:id="@+id/card_title"
android:layout_width="match_parent"
android:layout_height="@dimen/card_title_height"
- android:layout_alignBottom="@+id/card_image"
+ android:layout_alignBottom="@id/card_image"
android:layout_marginLeft="@dimen/md_keylines"
+ android:layout_marginStart="@dimen/md_keylines"
tools:text="@string/item_title"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:textColor="@color/white" />
@@ -51,14 +52,14 @@
android:id="@+id/card_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_below="@+id/card_image"
+ android:layout_below="@id/card_image"
android:layout_marginLeft="@dimen/md_keylines"
android:layout_marginTop="@dimen/md_keylines"
android:layout_marginBottom="@dimen/md_keylines"
android:layout_marginRight="@dimen/md_keylines"
tools:text="@string/item_desc"
android:ellipsize="end"
- android:singleLine="true"
+ android:maxLines="1"
android:textColor="@color/dark_grey"
android:textSize="@dimen/article_subheading" />
@@ -66,7 +67,7 @@
android:id="@+id/action_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_below="@+id/card_text"
+ android:layout_below="@id/card_text"
style="?android:attr/borderlessButtonStyle"
android:textColor="?attr/colorPrimary"
android:text="Action" />
diff --git a/4-RecyclerView/src/main/res/layout/item_list.xml b/4-RecyclerView/src/main/res/layout/item_list.xml
index d7f9547..6fcb596 100644
--- a/4-RecyclerView/src/main/res/layout/item_list.xml
+++ b/4-RecyclerView/src/main/res/layout/item_list.xml
@@ -33,7 +33,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/md_keylines"
- android:layout_toRightOf="@+id/list_avatar"
+ android:layout_marginStart="@dimen/md_keylines"
+ android:layout_toRightOf="@id/list_avatar"
+ android:layout_toEndOf="@id/list_avatar"
tools:text="@string/item_title"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="@dimen/article_subheading" />
@@ -42,12 +44,14 @@
android:id="@+id/list_desc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_below="@+id/list_title"
+ android:layout_below="@id/list_title"
android:layout_marginLeft="@dimen/md_keylines"
- android:layout_toRightOf="@+id/list_avatar"
+ android:layout_marginStart="@dimen/md_keylines"
+ android:layout_toRightOf="@id/list_avatar"
+ android:layout_toEndOf="@id/list_avatar"
android:textColor="@color/medium_grey"
android:ellipsize="end"
- android:singleLine="true"
+ android:maxLines="1"
tools:text="@string/item_desc"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="@dimen/list_body" />
diff --git a/4-RecyclerView/src/main/res/menu/menu_main.xml b/4-RecyclerView/src/main/res/menu/menu_main.xml
index d577760..419a40f 100644
--- a/4-RecyclerView/src/main/res/menu/menu_main.xml
+++ b/4-RecyclerView/src/main/res/menu/menu_main.xml
@@ -1,3 +1,4 @@
+
-
-
\ No newline at end of file
+
+
diff --git a/5-VectorAssets/build.gradle b/5-VectorAssets/build.gradle
index 01ce851..4991c2a 100644
--- a/5-VectorAssets/build.gradle
+++ b/5-VectorAssets/build.gradle
@@ -17,13 +17,13 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.3"
+ compileSdkVersion 24
+ buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.example.android.materialdesigncodelab"
minSdkVersion 15
- targetSdkVersion 23
+ targetSdkVersion 24
versionCode 1
versionName "1.0"
vectorDrawables.useSupportLibrary = true
@@ -31,8 +31,8 @@ android {
}
dependencies {
- compile 'com.android.support:appcompat-v7:23.4.0'
- compile 'com.android.support:design:23.4.0'
- compile 'com.android.support:cardview-v7:23.4.0'
- compile 'com.android.support:recyclerview-v7:23.4.0'
+ compile 'com.android.support:appcompat-v7:24.2.1'
+ compile 'com.android.support:design:24.2.1'
+ compile 'com.android.support:cardview-v7:24.2.1'
+ compile 'com.android.support:recyclerview-v7:24.2.1'
}
diff --git a/5-VectorAssets/src/main/res/drawable/ic_add.xml b/5-VectorAssets/src/main/res/drawable/ic_add.xml
index 0258249..df011ec 100644
--- a/5-VectorAssets/src/main/res/drawable/ic_add.xml
+++ b/5-VectorAssets/src/main/res/drawable/ic_add.xml
@@ -1,3 +1,4 @@
+
@@ -51,14 +52,14 @@
android:id="@+id/card_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_below="@+id/card_image"
+ android:layout_below="@id/card_image"
android:layout_marginLeft="@dimen/md_keylines"
android:layout_marginTop="@dimen/md_keylines"
android:layout_marginBottom="@dimen/md_keylines"
android:layout_marginRight="@dimen/md_keylines"
tools:text="@string/item_desc"
android:ellipsize="end"
- android:singleLine="true"
+ android:maxLines="1"
android:textColor="@color/dark_grey"
android:textSize="@dimen/article_subheading" />
@@ -66,7 +67,7 @@
android:id="@+id/action_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_below="@+id/card_text"
+ android:layout_below="@id/card_text"
style="?android:attr/borderlessButtonStyle"
android:textColor="?attr/colorPrimary"
android:text="Action" />
@@ -76,9 +77,11 @@
android:layout_width="@dimen/cards_button_width"
android:layout_height="@dimen/cards_button_height"
android:layout_marginRight="@dimen/md_keylines"
+ android:layout_marginEnd="@dimen/md_keylines"
app:srcCompat="@drawable/ic_share"
- android:layout_below="@+id/card_text"
+ android:layout_below="@id/card_text"
android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
style="?android:attr/borderlessButtonStyle"
android:tint="@color/button_grey" />
@@ -87,9 +90,11 @@
android:layout_width="@dimen/cards_button_width"
android:layout_height="@dimen/cards_button_height"
android:layout_marginRight="@dimen/md_keylines"
+ android:layout_marginEnd="@dimen/md_keylines"
app:srcCompat="@drawable/ic_favorite"
- android:layout_below="@+id/card_text"
+ android:layout_below="@id/card_text"
android:layout_toLeftOf="@id/share_button"
+ android:layout_toStartOf="@id/share_button"
style="?android:attr/borderlessButtonStyle"
android:tint="@color/button_grey" />
diff --git a/5-VectorAssets/src/main/res/layout/item_list.xml b/5-VectorAssets/src/main/res/layout/item_list.xml
index f743e80..e686ffb 100644
--- a/5-VectorAssets/src/main/res/layout/item_list.xml
+++ b/5-VectorAssets/src/main/res/layout/item_list.xml
@@ -34,7 +34,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/md_keylines"
- android:layout_toRightOf="@+id/list_avatar"
+ android:layout_marginStart="@dimen/md_keylines"
+ android:layout_toRightOf="@id/list_avatar"
+ android:layout_toEndOf="@id/list_avatar"
tools:text="@string/item_title"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="@dimen/article_subheading" />
@@ -45,10 +47,12 @@
android:layout_height="wrap_content"
android:layout_below="@+id/list_title"
android:layout_marginLeft="@dimen/md_keylines"
- android:layout_toRightOf="@+id/list_avatar"
+ android:layout_marginStart="@dimen/md_keylines"
+ android:layout_toRightOf="@id/list_avatar"
+ android:layout_toEndOf="@id/list_avatar"
android:textColor="@color/medium_grey"
android:ellipsize="end"
- android:singleLine="true"
+ android:maxLines="1"
tools:text="@string/item_desc"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="@dimen/list_body" />
diff --git a/5-VectorAssets/src/main/res/menu/menu_main.xml b/5-VectorAssets/src/main/res/menu/menu_main.xml
index d577760..419a40f 100644
--- a/5-VectorAssets/src/main/res/menu/menu_main.xml
+++ b/5-VectorAssets/src/main/res/menu/menu_main.xml
@@ -1,3 +1,4 @@
+
-
-
\ No newline at end of file
+
+
diff --git a/6-PageElement/build.gradle b/6-PageElement/build.gradle
index 01ce851..4991c2a 100644
--- a/6-PageElement/build.gradle
+++ b/6-PageElement/build.gradle
@@ -17,13 +17,13 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.3"
+ compileSdkVersion 24
+ buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.example.android.materialdesigncodelab"
minSdkVersion 15
- targetSdkVersion 23
+ targetSdkVersion 24
versionCode 1
versionName "1.0"
vectorDrawables.useSupportLibrary = true
@@ -31,8 +31,8 @@ android {
}
dependencies {
- compile 'com.android.support:appcompat-v7:23.4.0'
- compile 'com.android.support:design:23.4.0'
- compile 'com.android.support:cardview-v7:23.4.0'
- compile 'com.android.support:recyclerview-v7:23.4.0'
+ compile 'com.android.support:appcompat-v7:24.2.1'
+ compile 'com.android.support:design:24.2.1'
+ compile 'com.android.support:cardview-v7:24.2.1'
+ compile 'com.android.support:recyclerview-v7:24.2.1'
}
diff --git a/6-PageElement/src/main/res/drawable/ic_add.xml b/6-PageElement/src/main/res/drawable/ic_add.xml
index 0258249..df011ec 100644
--- a/6-PageElement/src/main/res/drawable/ic_add.xml
+++ b/6-PageElement/src/main/res/drawable/ic_add.xml
@@ -1,3 +1,4 @@
+
@@ -68,4 +69,4 @@
android:fitsSystemWindows="true"
app:headerLayout="@layout/navheader"
app:menu="@menu/menu_navigation" />
-
\ No newline at end of file
+
diff --git a/6-PageElement/src/main/res/layout/item_card.xml b/6-PageElement/src/main/res/layout/item_card.xml
index 9f488c1..e3cad94 100644
--- a/6-PageElement/src/main/res/layout/item_card.xml
+++ b/6-PageElement/src/main/res/layout/item_card.xml
@@ -41,8 +41,9 @@
android:id="@+id/card_title"
android:layout_width="match_parent"
android:layout_height="@dimen/card_title_height"
- android:layout_alignBottom="@+id/card_image"
+ android:layout_alignBottom="@id/card_image"
android:layout_marginLeft="@dimen/md_keylines"
+ android:layout_marginStart="@dimen/md_keylines"
tools:text="@string/item_title"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:textColor="@color/white" />
@@ -51,14 +52,14 @@
android:id="@+id/card_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_below="@+id/card_image"
+ android:layout_below="@id/card_image"
android:layout_marginLeft="@dimen/md_keylines"
android:layout_marginTop="@dimen/md_keylines"
android:layout_marginBottom="@dimen/md_keylines"
android:layout_marginRight="@dimen/md_keylines"
tools:text="@string/item_desc"
android:ellipsize="end"
- android:singleLine="true"
+ android:maxLines="1"
android:textColor="@color/dark_grey"
android:textSize="@dimen/article_subheading" />
@@ -66,7 +67,7 @@
android:id="@+id/action_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_below="@+id/card_text"
+ android:layout_below="@id/card_text"
style="?android:attr/borderlessButtonStyle"
android:textColor="?attr/colorPrimary"
android:text="Action" />
@@ -76,9 +77,11 @@
android:layout_width="@dimen/cards_button_width"
android:layout_height="@dimen/cards_button_height"
android:layout_marginRight="@dimen/md_keylines"
+ android:layout_marginEnd="@dimen/md_keylines"
app:srcCompat="@drawable/ic_share"
- android:layout_below="@+id/card_text"
+ android:layout_below="@id/card_text"
android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
style="?android:attr/borderlessButtonStyle"
android:tint="@color/button_grey" />
@@ -87,9 +90,11 @@
android:layout_width="@dimen/cards_button_width"
android:layout_height="@dimen/cards_button_height"
android:layout_marginRight="@dimen/md_keylines"
+ android:layout_marginEnd="@dimen/md_keylines"
app:srcCompat="@drawable/ic_favorite"
- android:layout_below="@+id/card_text"
+ android:layout_below="@id/card_text"
android:layout_toLeftOf="@id/share_button"
+ android:layout_toStartOf="@id/share_button"
style="?android:attr/borderlessButtonStyle"
android:tint="@color/button_grey" />
diff --git a/6-PageElement/src/main/res/layout/item_list.xml b/6-PageElement/src/main/res/layout/item_list.xml
index d7f9547..6fcb596 100644
--- a/6-PageElement/src/main/res/layout/item_list.xml
+++ b/6-PageElement/src/main/res/layout/item_list.xml
@@ -33,7 +33,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/md_keylines"
- android:layout_toRightOf="@+id/list_avatar"
+ android:layout_marginStart="@dimen/md_keylines"
+ android:layout_toRightOf="@id/list_avatar"
+ android:layout_toEndOf="@id/list_avatar"
tools:text="@string/item_title"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="@dimen/article_subheading" />
@@ -42,12 +44,14 @@
android:id="@+id/list_desc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_below="@+id/list_title"
+ android:layout_below="@id/list_title"
android:layout_marginLeft="@dimen/md_keylines"
- android:layout_toRightOf="@+id/list_avatar"
+ android:layout_marginStart="@dimen/md_keylines"
+ android:layout_toRightOf="@id/list_avatar"
+ android:layout_toEndOf="@id/list_avatar"
android:textColor="@color/medium_grey"
android:ellipsize="end"
- android:singleLine="true"
+ android:maxLines="1"
tools:text="@string/item_desc"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="@dimen/list_body" />
diff --git a/6-PageElement/src/main/res/layout/navheader.xml b/6-PageElement/src/main/res/layout/navheader.xml
index 064a9eb..386bb8d 100644
--- a/6-PageElement/src/main/res/layout/navheader.xml
+++ b/6-PageElement/src/main/res/layout/navheader.xml
@@ -1,4 +1,5 @@
-
-
-
\ No newline at end of file
+
+
diff --git a/app/build.gradle b/app/build.gradle
index 01ce851..4991c2a 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -17,13 +17,13 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.3"
+ compileSdkVersion 24
+ buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.example.android.materialdesigncodelab"
minSdkVersion 15
- targetSdkVersion 23
+ targetSdkVersion 24
versionCode 1
versionName "1.0"
vectorDrawables.useSupportLibrary = true
@@ -31,8 +31,8 @@ android {
}
dependencies {
- compile 'com.android.support:appcompat-v7:23.4.0'
- compile 'com.android.support:design:23.4.0'
- compile 'com.android.support:cardview-v7:23.4.0'
- compile 'com.android.support:recyclerview-v7:23.4.0'
+ compile 'com.android.support:appcompat-v7:24.2.1'
+ compile 'com.android.support:design:24.2.1'
+ compile 'com.android.support:cardview-v7:24.2.1'
+ compile 'com.android.support:recyclerview-v7:24.2.1'
}
diff --git a/app/src/main/res/drawable/ic_add.xml b/app/src/main/res/drawable/ic_add.xml
index 0258249..df011ec 100644
--- a/app/src/main/res/drawable/ic_add.xml
+++ b/app/src/main/res/drawable/ic_add.xml
@@ -1,3 +1,4 @@
+
diff --git a/app/src/main/res/layout/item_card.xml b/app/src/main/res/layout/item_card.xml
index 9f488c1..e3cad94 100644
--- a/app/src/main/res/layout/item_card.xml
+++ b/app/src/main/res/layout/item_card.xml
@@ -41,8 +41,9 @@
android:id="@+id/card_title"
android:layout_width="match_parent"
android:layout_height="@dimen/card_title_height"
- android:layout_alignBottom="@+id/card_image"
+ android:layout_alignBottom="@id/card_image"
android:layout_marginLeft="@dimen/md_keylines"
+ android:layout_marginStart="@dimen/md_keylines"
tools:text="@string/item_title"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:textColor="@color/white" />
@@ -51,14 +52,14 @@
android:id="@+id/card_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_below="@+id/card_image"
+ android:layout_below="@id/card_image"
android:layout_marginLeft="@dimen/md_keylines"
android:layout_marginTop="@dimen/md_keylines"
android:layout_marginBottom="@dimen/md_keylines"
android:layout_marginRight="@dimen/md_keylines"
tools:text="@string/item_desc"
android:ellipsize="end"
- android:singleLine="true"
+ android:maxLines="1"
android:textColor="@color/dark_grey"
android:textSize="@dimen/article_subheading" />
@@ -66,7 +67,7 @@
android:id="@+id/action_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_below="@+id/card_text"
+ android:layout_below="@id/card_text"
style="?android:attr/borderlessButtonStyle"
android:textColor="?attr/colorPrimary"
android:text="Action" />
@@ -76,9 +77,11 @@
android:layout_width="@dimen/cards_button_width"
android:layout_height="@dimen/cards_button_height"
android:layout_marginRight="@dimen/md_keylines"
+ android:layout_marginEnd="@dimen/md_keylines"
app:srcCompat="@drawable/ic_share"
- android:layout_below="@+id/card_text"
+ android:layout_below="@id/card_text"
android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
style="?android:attr/borderlessButtonStyle"
android:tint="@color/button_grey" />
@@ -87,9 +90,11 @@
android:layout_width="@dimen/cards_button_width"
android:layout_height="@dimen/cards_button_height"
android:layout_marginRight="@dimen/md_keylines"
+ android:layout_marginEnd="@dimen/md_keylines"
app:srcCompat="@drawable/ic_favorite"
- android:layout_below="@+id/card_text"
+ android:layout_below="@id/card_text"
android:layout_toLeftOf="@id/share_button"
+ android:layout_toStartOf="@id/share_button"
style="?android:attr/borderlessButtonStyle"
android:tint="@color/button_grey" />
diff --git a/app/src/main/res/layout/item_list.xml b/app/src/main/res/layout/item_list.xml
index d7f9547..6fcb596 100644
--- a/app/src/main/res/layout/item_list.xml
+++ b/app/src/main/res/layout/item_list.xml
@@ -33,7 +33,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/md_keylines"
- android:layout_toRightOf="@+id/list_avatar"
+ android:layout_marginStart="@dimen/md_keylines"
+ android:layout_toRightOf="@id/list_avatar"
+ android:layout_toEndOf="@id/list_avatar"
tools:text="@string/item_title"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="@dimen/article_subheading" />
@@ -42,12 +44,14 @@
android:id="@+id/list_desc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_below="@+id/list_title"
+ android:layout_below="@id/list_title"
android:layout_marginLeft="@dimen/md_keylines"
- android:layout_toRightOf="@+id/list_avatar"
+ android:layout_marginStart="@dimen/md_keylines"
+ android:layout_toRightOf="@id/list_avatar"
+ android:layout_toEndOf="@id/list_avatar"
android:textColor="@color/medium_grey"
android:ellipsize="end"
- android:singleLine="true"
+ android:maxLines="1"
tools:text="@string/item_desc"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="@dimen/list_body" />
diff --git a/app/src/main/res/layout/navheader.xml b/app/src/main/res/layout/navheader.xml
index 064a9eb..386bb8d 100644
--- a/app/src/main/res/layout/navheader.xml
+++ b/app/src/main/res/layout/navheader.xml
@@ -1,4 +1,5 @@
-
-
+
diff --git a/build.gradle b/build.gradle
index f6e9073..b193299 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.1.0'
+ classpath 'com.android.tools.build:gradle:2.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 89e8d54..9315604 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Wed May 11 15:57:31 JST 2016
+#Sun Oct 09 16:43:11 BST 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip