diff --git a/Source/Android/app/build.gradle b/Source/Android/app/build.gradle index 8f5ce60a76..9668d8af95 100644 --- a/Source/Android/app/build.gradle +++ b/Source/Android/app/build.gradle @@ -1,7 +1,8 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 21 + // Leanback support requires >22 + compileSdkVersion 22 buildToolsVersion "22.0.1" lintOptions { @@ -80,6 +81,9 @@ dependencies { compile 'com.android.support:recyclerview-v7:22.2.0' compile 'com.android.support:design:22.2.0' + // Android TV UI libraries. + compile 'com.android.support:leanback-v17:22.2.0' + // For showing the banner as a circle a-la Material Design Guidelines compile 'de.hdodenhof:circleimageview:1.2.2' diff --git a/Source/Android/app/src/main/AndroidManifest.xml b/Source/Android/app/src/main/AndroidManifest.xml index 30fffd11e9..e08b2dd0a8 100644 --- a/Source/Android/app/src/main/AndroidManifest.xml +++ b/Source/Android/app/src/main/AndroidManifest.xml @@ -33,11 +33,22 @@ - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/Android/app/src/main/res/layout/card_game.xml b/Source/Android/app/src/main/res/layout/card_game.xml index 9b172b6871..542969ebd6 100644 --- a/Source/Android/app/src/main/res/layout/card_game.xml +++ b/Source/Android/app/src/main/res/layout/card_game.xml @@ -33,7 +33,6 @@ android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginTop="16dp" - android:layout_toStartOf="@+id/button_details" android:ellipsize="end" android:lines="1" android:maxLines="1" diff --git a/Source/Android/app/src/main/res/values/colors.xml b/Source/Android/app/src/main/res/values/colors.xml index d7b7847125..9052de99d5 100644 --- a/Source/Android/app/src/main/res/values/colors.xml +++ b/Source/Android/app/src/main/res/values/colors.xml @@ -8,4 +8,6 @@ #651fff #bdbdbd + + #444444 \ No newline at end of file diff --git a/Source/Android/app/src/main/res/values/styles.xml b/Source/Android/app/src/main/res/values/styles.xml index 76ee1f8f55..dba853f492 100644 --- a/Source/Android/app/src/main/res/values/styles.xml +++ b/Source/Android/app/src/main/res/values/styles.xml @@ -126,6 +126,21 @@ false + + + + +