From 36260dac18d5ad8576776600b800197f32d4baa6 Mon Sep 17 00:00:00 2001 From: chschtsch Date: Wed, 2 Dec 2015 13:08:43 +0300 Subject: [PATCH] tryna add cardview --- app/build.gradle | 8 +- app/src/main/res/layout/video_item.xml | 139 ++++++++++++++----------- 2 files changed, 83 insertions(+), 64 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 324224856..f37df0b2f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,14 +2,14 @@ apply plugin: 'com.android.application' android { compileSdkVersion 23 - buildToolsVersion "23.0.1" + buildToolsVersion "23.0.2" defaultConfig { applicationId "org.schabi.newpipe" minSdkVersion 15 targetSdkVersion 23 - versionCode 6 - versionName "0.6.0" + versionCode 7 + versionName "0.6.1" } buildTypes { release { @@ -31,6 +31,8 @@ dependencies { compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:support-v4:23.1.1' compile 'com.android.support:design:23.1.1' + compile 'com.android.support:cardview-v7:23.1.1' + compile 'com.android.support:recyclerview-v7:23.1.1' compile 'org.jsoup:jsoup:1.8.3' compile 'org.mozilla:rhino:1.7.7' } diff --git a/app/src/main/res/layout/video_item.xml b/app/src/main/res/layout/video_item.xml index bac7d7964..76aac8c74 100644 --- a/app/src/main/res/layout/video_item.xml +++ b/app/src/main/res/layout/video_item.xml @@ -1,67 +1,84 @@ - + android:layout_height="wrap_content"> - - - - - - - + android:layout_margin="6dp" + card_view:cardCornerRadius="4dp" > - + - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file