From a8d11c5b5bd73675ef2df3f62a02c90d10f5f202 Mon Sep 17 00:00:00 2001 From: Saul M Date: Mon, 24 Aug 2015 18:52:31 +0200 Subject: [PATCH] Minor refactorizations --- app/build.gradle | 2 +- app/src/main/res/layout/activity_main.xml | 59 ++++++++++++----------- 2 files changed, 32 insertions(+), 29 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 389fb49..0268278 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 22 - buildToolsVersion "23.0.0 rc3" + buildToolsVersion = "22.0.1" defaultConfig { applicationId "saulmm.myapplication" diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index df3321e..152d207 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,28 +1,25 @@ + tools:ignore="RtlHardcoded"> + android:layout_height="match_parent"> + android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> + app:layout_collapseMode="parallax"> + android:orientation="vertical"> + android:textSize="30sp" /> + android:textColor="@android:color/white" /> + - + + android:layout_margin="8dp" + app:cardElevation="8dp" + app:contentPadding="8dp" + > + + + + @@ -104,15 +108,14 @@ android:layout_height="?attr/actionBarSize" android:background="@color/primary" app:layout_anchor="@id/main.framelayout.title" - app:theme="@style/ThemeOverlay.AppCompat.Dark" - > + app:theme="@style/ThemeOverlay.AppCompat.Dark">