From 01a1522194d4b6803d88e9ac1c50e5cddd70fa05 Mon Sep 17 00:00:00 2001 From: zeapo Date: Sun, 19 Oct 2014 18:55:52 +0200 Subject: Improved layout of clone and made it similar to the rest of the application --- app/app-release.apk | Bin 2068942 -> 2077427 bytes app/build.gradle | 1 + .../main/java/com/zeapo/pwdstore/GitHandler.java | 3 ++- app/src/main/res/drawable/bottom_line.xml | 2 +- app/src/main/res/layout/activity_git_clone.xml | 11 +++++++++-- .../main/res/layout/fragment_to_clone_or_not.xml | 7 +++++-- app/src/main/res/values/styles.xml | 2 +- 7 files changed, 19 insertions(+), 7 deletions(-) (limited to 'app') diff --git a/app/app-release.apk b/app/app-release.apk index ffb4dc4f..a5807349 100644 Binary files a/app/app-release.apk and b/app/app-release.apk differ diff --git a/app/build.gradle b/app/build.gradle index 8521df10..317206be 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,6 +31,7 @@ repositories { dependencies { compile "com.android.support:appcompat-v7:21.+" compile "com.android.support:recyclerview-v7:21.+" + compile "com.android.support:palette-v7:21.+" //compile fileTree(dir: 'libs', include: ['*.jar']) compile project(':libraries:openpgp-api-lib') diff --git a/app/src/main/java/com/zeapo/pwdstore/GitHandler.java b/app/src/main/java/com/zeapo/pwdstore/GitHandler.java index 43bcfca8..c0bbfd79 100644 --- a/app/src/main/java/com/zeapo/pwdstore/GitHandler.java +++ b/app/src/main/java/com/zeapo/pwdstore/GitHandler.java @@ -8,6 +8,7 @@ import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; +import android.support.v7.app.ActionBarActivity; import android.text.Editable; import android.text.InputType; import android.text.TextWatcher; @@ -58,7 +59,7 @@ import java.util.regex.Pattern; // TODO move the messages to strings.xml -public class GitHandler extends Activity { +public class GitHandler extends ActionBarActivity { private Activity activity; private Context context; diff --git a/app/src/main/res/drawable/bottom_line.xml b/app/src/main/res/drawable/bottom_line.xml index fab0b04f..a28cc6d3 100644 --- a/app/src/main/res/drawable/bottom_line.xml +++ b/app/src/main/res/drawable/bottom_line.xml @@ -2,7 +2,7 @@ - + diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml index f1adcd6d..f26d6f8d 100644 --- a/app/src/main/res/layout/activity_git_clone.xml +++ b/app/src/main/res/layout/activity_git_clone.xml @@ -21,7 +21,7 @@ style="@android:style/TextAppearance.Large" android:gravity="left" android:paddingBottom="6dp" - android:textColor="@android:color/holo_orange_dark" + android:textColor="@color/blue_grey_700" android:background="@drawable/bottom_line"/> @color/blue_grey_500 @color/blue_grey_500 @color/blue_grey_100 - @color/blue_grey_50 + @color/teal_900 @color/blue_grey_900 -- cgit v1.2.3