Material components 1.1.0-alpha07

pull/848/head
Alex Baker 6 years ago
parent 0a30a0c9d6
commit bad32d7455

@ -153,7 +153,7 @@ dependencies {
implementation("com.google.code.gson:gson:2.8.5") implementation("com.google.code.gson:gson:2.8.5")
implementation("com.github.rey5137:material:1.2.5") implementation("com.github.rey5137:material:1.2.5")
implementation("com.nononsenseapps:filepicker:4.2.1") implementation("com.nononsenseapps:filepicker:4.2.1")
implementation("com.google.android.material:material:1.0.0") implementation("com.google.android.material:material:1.1.0-alpha07")
implementation("androidx.annotation:annotation:1.1.0") implementation("androidx.annotation:annotation:1.1.0")
implementation("androidx.cardview:cardview:1.0.0") implementation("androidx.cardview:cardview:1.0.0")
implementation("androidx.constraintlayout:constraintlayout:2.0.0-beta1") implementation("androidx.constraintlayout:constraintlayout:2.0.0-beta1")

@ -725,4 +725,34 @@
copyrightHolder: The Android Open Source Project copyrightHolder: The Android Open Source Project
license: The Apache Software License, Version 2.0 license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://developer.android.com/tools/extras/support-library.html
- artifact: androidx.appcompat:appcompat-resources:+
name: Android Resources Library
copyrightHolder: Android Open Source Project
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://developer.android.com/tools/extras/support-library.html
- artifact: androidx.viewpager2:viewpager2:+
name: AndroidX Widget ViewPager2
copyrightHolder: Android Open Source Project
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://developer.android.com/tools/extras/support-library.html
- artifact: androidx.concurrent:concurrent-futures:+
name: AndroidX Futures
copyrightHolder: Android Open Source Project
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://developer.android.com/topic/libraries/architecture/index.html
- artifact: androidx.savedstate:savedstate:+
name: Activity
copyrightHolder: Android Open Source Project
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://developer.android.com/tools/extras/support-library.html
- artifact: androidx.activity:activity:+
name: Activity
copyrightHolder: Android Open Source Project
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://developer.android.com/tools/extras/support-library.html url: http://developer.android.com/tools/extras/support-library.html

@ -45,7 +45,7 @@
"artifactId": { "artifactId": {
"name": "coordinatorlayout", "name": "coordinatorlayout",
"group": "androidx.coordinatorlayout", "group": "androidx.coordinatorlayout",
"version": "1.0.0" "version": "1.1.0-alpha01"
} }
}, },
{ {
@ -109,7 +109,7 @@
"artifactId": { "artifactId": {
"name": "fragment", "name": "fragment",
"group": "androidx.fragment", "group": "androidx.fragment",
"version": "1.0.0" "version": "1.1.0-alpha08"
} }
}, },
{ {
@ -125,7 +125,7 @@
"artifactId": { "artifactId": {
"name": "vectordrawable-animated", "name": "vectordrawable-animated",
"group": "androidx.vectordrawable", "group": "androidx.vectordrawable",
"version": "1.0.0" "version": "1.1.0-beta01"
} }
}, },
{ {
@ -157,7 +157,7 @@
"artifactId": { "artifactId": {
"name": "core", "name": "core",
"group": "androidx.core", "group": "androidx.core",
"version": "1.0.1" "version": "1.0.2"
} }
}, },
{ {
@ -173,7 +173,7 @@
"artifactId": { "artifactId": {
"name": "core-common", "name": "core-common",
"group": "androidx.arch.core", "group": "androidx.arch.core",
"version": "2.0.1" "version": "2.1.0-beta01"
} }
}, },
{ {
@ -509,7 +509,7 @@
"artifactId": { "artifactId": {
"name": "lifecycle-viewmodel", "name": "lifecycle-viewmodel",
"group": "androidx.lifecycle", "group": "androidx.lifecycle",
"version": "2.0.0" "version": "2.2.0-alpha01"
} }
}, },
{ {
@ -909,7 +909,7 @@
"artifactId": { "artifactId": {
"name": "ical4j", "name": "ical4j",
"group": "org.mnode.ical4j", "group": "org.mnode.ical4j",
"version": "2.2.4" "version": "2.2.5"
} }
}, },
{ {
@ -925,7 +925,7 @@
"artifactId": { "artifactId": {
"name": "recyclerview", "name": "recyclerview",
"group": "androidx.recyclerview", "group": "androidx.recyclerview",
"version": "1.0.0" "version": "1.1.0-alpha05"
} }
}, },
{ {
@ -1053,7 +1053,7 @@
"artifactId": { "artifactId": {
"name": "material", "name": "material",
"group": "com.google.android.material", "group": "com.google.android.material",
"version": "1.0.0" "version": "1.1.0-alpha07"
} }
}, },
{ {
@ -1101,7 +1101,7 @@
"artifactId": { "artifactId": {
"name": "vectordrawable", "name": "vectordrawable",
"group": "androidx.vectordrawable", "group": "androidx.vectordrawable",
"version": "1.0.1" "version": "1.1.0-beta01"
} }
}, },
{ {
@ -1149,7 +1149,7 @@
"artifactId": { "artifactId": {
"name": "appcompat", "name": "appcompat",
"group": "androidx.appcompat", "group": "androidx.appcompat",
"version": "1.0.2" "version": "1.1.0-alpha05"
} }
}, },
{ {
@ -1293,7 +1293,7 @@
"artifactId": { "artifactId": {
"name": "transition", "name": "transition",
"group": "androidx.transition", "group": "androidx.transition",
"version": "1.0.0" "version": "1.0.1"
} }
}, },
{ {
@ -1501,7 +1501,7 @@
"artifactId": { "artifactId": {
"name": "kotlin-stdlib", "name": "kotlin-stdlib",
"group": "org.jetbrains.kotlin", "group": "org.jetbrains.kotlin",
"version": "1.3.40" "version": "1.3.41"
} }
}, },
{ {
@ -1725,7 +1725,7 @@
"artifactId": { "artifactId": {
"name": "kotlin-stdlib-jdk7", "name": "kotlin-stdlib-jdk7",
"group": "org.jetbrains.kotlin", "group": "org.jetbrains.kotlin",
"version": "1.3.40" "version": "1.3.41"
} }
}, },
{ {
@ -1935,6 +1935,86 @@
"group": "androidx.core", "group": "androidx.core",
"version": "1.0.2" "version": "1.0.2"
} }
},
{
"notice": null,
"copyrightHolder": "Android Open Source Project",
"copyrightStatement": "Copyright © Android Open Source Project. All rights reserved.",
"license": "The Apache Software License, Version 2.0",
"licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.txt",
"normalizedLicense": "apache2",
"year": null,
"url": "http://developer.android.com/tools/extras/support-library.html",
"libraryName": "Android Resources Library",
"artifactId": {
"name": "appcompat-resources",
"group": "androidx.appcompat",
"version": "1.1.0-alpha05"
}
},
{
"notice": null,
"copyrightHolder": "Android Open Source Project",
"copyrightStatement": "Copyright © Android Open Source Project. All rights reserved.",
"license": "The Apache Software License, Version 2.0",
"licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.txt",
"normalizedLicense": "apache2",
"year": null,
"url": "http://developer.android.com/tools/extras/support-library.html",
"libraryName": "AndroidX Widget ViewPager2",
"artifactId": {
"name": "viewpager2",
"group": "androidx.viewpager2",
"version": "1.0.0-alpha04"
}
},
{
"notice": null,
"copyrightHolder": "Android Open Source Project",
"copyrightStatement": "Copyright © Android Open Source Project. All rights reserved.",
"license": "The Apache Software License, Version 2.0",
"licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.txt",
"normalizedLicense": "apache2",
"year": null,
"url": "https://developer.android.com/topic/libraries/architecture/index.html",
"libraryName": "AndroidX Futures",
"artifactId": {
"name": "concurrent-futures",
"group": "androidx.concurrent",
"version": "1.0.0-beta01"
}
},
{
"notice": null,
"copyrightHolder": "Android Open Source Project",
"copyrightStatement": "Copyright © Android Open Source Project. All rights reserved.",
"license": "The Apache Software License, Version 2.0",
"licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.txt",
"normalizedLicense": "apache2",
"year": null,
"url": "http://developer.android.com/tools/extras/support-library.html",
"libraryName": "Activity",
"artifactId": {
"name": "savedstate",
"group": "androidx.savedstate",
"version": "1.0.0-beta01"
}
},
{
"notice": null,
"copyrightHolder": "Android Open Source Project",
"copyrightStatement": "Copyright © Android Open Source Project. All rights reserved.",
"license": "The Apache Software License, Version 2.0",
"licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.txt",
"normalizedLicense": "apache2",
"year": null,
"url": "http://developer.android.com/tools/extras/support-library.html",
"libraryName": "Activity",
"artifactId": {
"name": "activity",
"group": "androidx.activity",
"version": "1.0.0-alpha08"
}
} }
] ]
} }

@ -474,7 +474,8 @@ public final class TaskListFragment extends InjectingFragment
public Snackbar makeSnackbar(String text) { public Snackbar makeSnackbar(String text) {
Snackbar snackbar = Snackbar snackbar =
Snackbar.make(coordinatorLayout, text, 8000) Snackbar.make(coordinatorLayout, text, 8000)
.setActionTextColor(getColor(context, R.color.snackbar_text_color)); .setTextColor(getColor(context, R.color.snackbar_text_color))
.setActionTextColor(getColor(context, R.color.snackbar_action_color));
snackbar.getView().setBackgroundColor(getColor(context, R.color.snackbar_background)); snackbar.getView().setBackgroundColor(getColor(context, R.color.snackbar_background));
return snackbar; return snackbar;
} }

@ -363,7 +363,8 @@ public class CaldavAccountSettingsActivity extends ThemedInjectingAppCompatActiv
private void showSnackbar(String message) { private void showSnackbar(String message) {
Snackbar snackbar = Snackbar snackbar =
Snackbar.make(root, message, 8000) Snackbar.make(root, message, 8000)
.setActionTextColor(ContextCompat.getColor(this, R.color.snackbar_text_color)); .setTextColor(ContextCompat.getColor(context, R.color.snackbar_text_color))
.setActionTextColor(ContextCompat.getColor(this, R.color.snackbar_action_color));
snackbar snackbar
.getView() .getView()
.setBackgroundColor(ContextCompat.getColor(this, R.color.snackbar_background)); .setBackgroundColor(ContextCompat.getColor(this, R.color.snackbar_background));

@ -186,7 +186,8 @@ public class CaldavCalendarSettingsActivity extends BaseListSettingsActivity {
private void showSnackbar(String message) { private void showSnackbar(String message) {
Snackbar snackbar = Snackbar snackbar =
Snackbar.make(root, message, 8000) Snackbar.make(root, message, 8000)
.setActionTextColor(ContextCompat.getColor(this, R.color.snackbar_text_color)); .setTextColor(ContextCompat.getColor(this, R.color.snackbar_text_color))
.setActionTextColor(ContextCompat.getColor(this, R.color.snackbar_action_color));
snackbar snackbar
.getView() .getView()
.setBackgroundColor(ContextCompat.getColor(this, R.color.snackbar_background)); .setBackgroundColor(ContextCompat.getColor(this, R.color.snackbar_background));

@ -77,7 +77,8 @@
android:layout_gravity="end|bottom" android:layout_gravity="end|bottom"
android:padding="0dp" android:padding="0dp"
android:src="@drawable/ic_outline_gps_fixed_24px" android:src="@drawable/ic_outline_gps_fixed_24px"
android:tint="?attr/fab_text" app:tint="?attr/fab_text"
app:backgroundTint="?attr/colorAccent"
app:borderWidth="0dp" app:borderWidth="0dp"
app:layout_constraintBottom_toBottomOf="@id/map" app:layout_constraintBottom_toBottomOf="@id/map"
app:layout_constraintEnd_toEndOf="@id/map"/> app:layout_constraintEnd_toEndOf="@id/map"/>

@ -52,7 +52,8 @@
android:layout_gravity="end|bottom" android:layout_gravity="end|bottom"
android:padding="0dp" android:padding="0dp"
android:src="@drawable/ic_outline_add_24px" android:src="@drawable/ic_outline_add_24px"
android:tint="?attr/fab_text" app:tint="?attr/fab_text"
app:backgroundTint="?attr/colorAccent"
app:borderWidth="0dp"/> app:borderWidth="0dp"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>

@ -112,7 +112,8 @@
<color name="priority_3">@color/blue_500</color> <color name="priority_3">@color/blue_500</color>
<color name="priority_4">@color/grey_500</color> <color name="priority_4">@color/grey_500</color>
<color name="snackbar_text_color">#f4b400</color> <color name="snackbar_text_color">@color/white_100</color>
<color name="snackbar_action_color">#f4b400</color>
<color name="snackbar_background">@color/grey_800</color> <color name="snackbar_background">@color/grey_800</color>
<color name="tag_color_none_background">#e1e1e1</color> <color name="tag_color_none_background">#e1e1e1</color>

@ -106,7 +106,7 @@
<style name="priority_button_base"> <style name="priority_button_base">
<item name="android:layout_width">0dp</item> <item name="android:layout_width">0dp</item>
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">24dp</item>
<item name="android:layout_weight">1</item> <item name="android:layout_weight">1</item>
<item name="android:width">0dp</item> <item name="android:width">0dp</item>
</style> </style>
@ -154,6 +154,7 @@
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Small</item> <item name="android:textAppearance">@style/TextAppearance.AppCompat.Small</item>
<item name="chipMinHeight">@dimen/chip_min_height</item> <item name="chipMinHeight">@dimen/chip_min_height</item>
<item name="closeIconVisible">false</item> <item name="closeIconVisible">false</item>
<item name="ensureMinTouchTargetSize">false</item>
<item name="textStartPadding">@dimen/chip_text_padding</item> <item name="textStartPadding">@dimen/chip_text_padding</item>
<item name="textEndPadding">@dimen/chip_text_padding</item> <item name="textEndPadding">@dimen/chip_text_padding</item>
</style> </style>

Loading…
Cancel
Save