Skip to content

Commit

Permalink
Set app version on details
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersantos committed Jun 4, 2015
1 parent 951afe1 commit 3300d93
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
android:textSize="22dp"
android:textColor="@color/white"
android:layout_gravity="center_horizontal"
android:layout_below="@+id/app_icon"
android:layout_below="@id/app_icon"
android:layout_centerHorizontal="true" />
<TextView
android:id="@+id/app_description"
Expand All @@ -43,7 +43,7 @@
android:textSize="15dp"
android:textColor="@color/white"
android:gravity="center_horizontal"
android:layout_below="@+id/app_name"
android:layout_below="@id/app_name"
android:layout_centerHorizontal="true" />
</RelativeLayout>
<ScrollView
Expand Down
13 changes: 12 additions & 1 deletion app/src/main/res/layout/activity_app.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,17 @@
android:textSize="22dp"
android:textColor="@color/white"
android:layout_gravity="center_horizontal"
android:layout_centerVertical="true"
android:layout_below="@id/app_icon"
android:layout_centerHorizontal="true" />
<TextView
android:id="@+id/app_version"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-thin"
android:textSize="15dp"
android:textColor="@color/white"
android:gravity="center_horizontal"
android:layout_below="@id/app_name"
android:layout_centerHorizontal="true" />
</RelativeLayout>
<RelativeLayout
Expand All @@ -51,6 +61,7 @@
android:foreground="?android:attr/selectableItemBackground"
android:layout_margin="5dp">
<ImageView
android:id="@+id/app_googleplay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
Expand Down

0 comments on commit 3300d93

Please # to comment.