From c6d5cb34fb286e5599617bf0e783f57f79489b0a Mon Sep 17 00:00:00 2001 From: Jeremy Walker Date: Thu, 11 Oct 2018 15:00:25 -0700 Subject: [PATCH] Update library version and clean up XML. Bug: 117618327 Test: Manually tested. Change-Id: I395f98932ff0aa5a99af017dd64abfaa9f013078 --- app/build.gradle | 16 ++++++++-------- app/src/main/AndroidManifest.xml | 12 +++++++----- .../res/layout/activity_single_slice_viewer.xml | 4 ++-- .../main/res/layout/activity_slice_viewer.xml | 3 ++- app/src/main/res/layout/slice_row.xml | 3 ++- build.gradle | 4 ++-- 6 files changed, 23 insertions(+), 19 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d383388e..88f58c07 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,14 +8,14 @@ repositories { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation "androidx.lifecycle:lifecycle-runtime:2.0.0-rc01" - implementation "androidx.lifecycle:lifecycle-extensions:2.0.0-rc01" - implementation "androidx.lifecycle:lifecycle-common:2.0.0-rc01" - implementation "androidx.slice:slice-view:1.0.0-rc02" - implementation "androidx.slice:slice-builders-ktx:1.0.0-alpha5" - implementation "androidx.appcompat:appcompat:1.0.0-rc02" - implementation "androidx.cardview:cardview:1.0.0-rc02" - implementation "androidx.core:core-ktx:1.0.0-rc02" + implementation "androidx.lifecycle:lifecycle-runtime:2.0.0" + implementation "androidx.lifecycle:lifecycle-extensions:2.0.0" + implementation "androidx.lifecycle:lifecycle-common:2.0.0" + implementation "androidx.slice:slice-view:1.0.0" + implementation "androidx.slice:slice-builders-ktx:1.0.0-alpha6" + implementation "androidx.appcompat:appcompat:1.0.0" + implementation "androidx.cardview:cardview:1.0.0" + implementation "androidx.core:core-ktx:1.0.0" implementation 'androidx.constraintlayout:constraintlayout:1.1.3' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 01a9358d..469bd654 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -23,32 +23,35 @@ android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme"> + + - + - + + - + @@ -65,12 +68,11 @@ android:name=".provider.SampleSliceProvider" android:authorities="com.example.android.sliceviewer" android:exported="true"> + - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/activity_slice_viewer.xml b/app/src/main/res/layout/activity_slice_viewer.xml index c6227648..68284802 100644 --- a/app/src/main/res/layout/activity_slice_viewer.xml +++ b/app/src/main/res/layout/activity_slice_viewer.xml @@ -14,7 +14,8 @@ limitations under the License. --> - -