Skip to content

Commit

Permalink
Improve About
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersantos committed Jun 17, 2015
1 parent 3b07328 commit d234fdb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
26 changes: 12 additions & 14 deletions app/src/main/res/layout/activity_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/about_1"
android:layout_margin="5dp"
android:layout_width="match_parent"
android:layout_height="100dp"
card_view:cardCornerRadius="2dp"
android:foreground="?android:attr/selectableItemBackground"
android:layout_margin="5dp">
card_view:cardCornerRadius="2dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand All @@ -77,7 +77,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Javier Santos"
android:textColor="@android:color/black"
android:textSize="22dp"
android:layout_marginTop="15dp"
android:layout_marginLeft="150dp"/>
Expand All @@ -86,7 +85,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/about_description_1"
android:textColor="@android:color/black"
android:textSize="18dp"
android:layout_marginTop="50dp"
android:layout_marginLeft="150dp"/>
Expand All @@ -96,11 +94,11 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/about_2"
android:layout_below="@id/about_1"
android:layout_margin="5dp"
android:layout_width="match_parent"
android:layout_height="50dp"
card_view:cardCornerRadius="2dp"
android:foreground="?android:attr/selectableItemBackground"
android:layout_margin="5dp">
card_view:cardCornerRadius="2dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand All @@ -115,7 +113,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Javier Toro"
android:textColor="@android:color/black"
android:textSize="22dp"
android:gravity="left"
android:layout_gravity="left"
Expand All @@ -126,7 +123,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/about_description_2"
android:textColor="@android:color/black"
android:textSize="18dp"
android:layout_gravity="right"
android:layout_marginTop="12dp"
Expand All @@ -137,11 +133,12 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/about_googleplay"
android:layout_below="@id/about_2"
android:layout_margin="5dp"
android:layout_width="match_parent"
android:layout_height="70dp"
card_view:cardCornerRadius="2dp"
android:foreground="?android:attr/selectableItemBackground"
android:layout_margin="5dp">
card_view:cardBackgroundColor="@color/card_blue"
card_view:cardCornerRadius="2dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand All @@ -154,7 +151,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_googleplay"
android:textColor="@android:color/black"
android:textColor="@android:color/white"
android:textSize="22dp"
android:layout_gravity="center"
android:layout_marginLeft="20dp"/>
Expand All @@ -164,11 +161,12 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/about_googleplus"
android:layout_below="@id/about_googleplay"
android:layout_margin="5dp"
android:layout_width="match_parent"
android:layout_height="70dp"
card_view:cardCornerRadius="2dp"
android:foreground="?android:attr/selectableItemBackground"
android:layout_margin="5dp">
card_view:cardBackgroundColor="@color/card_orange"
card_view:cardCornerRadius="2dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand All @@ -182,7 +180,7 @@
android:layout_height="wrap_content"
android:text="@string/settings_googleplus"
android:lines="2"
android:textColor="@android:color/black"
android:textColor="@android:color/white"
android:textSize="20dp"
android:layout_gravity="center"
android:layout_marginLeft="70dp"
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@
<color name="white">#FFFFFF</color>
<color name="divider">#E0E0E0</color>
<color name="transparent">#00000000</color>

<color name="card_blue">#00BED4</color>
<color name="card_green">#8CC24A</color>
<color name="card_red">#DE6262</color>
<color name="card_orange">#FFA175</color>
</resources>
1 change: 0 additions & 1 deletion app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@

<!-- Custom dimens -->
<dimen name="fab_margin">16dp</dimen>

</resources>

0 comments on commit d234fdb

Please sign in to comment.