Skip to content

Commit

Permalink
#46 : Slow navigation due to large size images [solved]
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkit4tech committed Jan 14, 2017
1 parent ff05177 commit 2b04a76
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Binary file modified app/src/main/res/drawable/city_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/city_background_nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions app/src/main/res/layout/activity_privy_details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
android:layout_width="match_parent"
android:layout_height="@dimen/privy_detail_list_item_height"
android:orientation="horizontal"
android:weightSum="2">
android:weightSum="3">

<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_weight="2"
android:gravity="center_vertical"
android:text="Name : " />

Expand All @@ -74,12 +74,12 @@
android:layout_width="match_parent"
android:layout_height="@dimen/privy_detail_list_item_height"
android:orientation="horizontal"
android:weightSum="2">
android:weightSum="3">

<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_weight="2"
android:gravity="center_vertical"
android:text="Geometry :" />

Expand All @@ -97,12 +97,12 @@
android:layout_width="match_parent"
android:layout_height="@dimen/privy_detail_list_item_height"
android:orientation="horizontal"
android:weightSum="2">
android:weightSum="3">

<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_weight="2"
android:gravity="center_vertical"
android:text="Open Now : " />

Expand All @@ -120,12 +120,12 @@
android:layout_width="match_parent"
android:layout_height="@dimen/privy_detail_list_item_height"
android:orientation="horizontal"
android:weightSum="2">
android:weightSum="3">

<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_weight="2"
android:gravity="center_vertical"
android:text="Vicinity : " />

Expand All @@ -143,12 +143,12 @@
android:layout_width="match_parent"
android:layout_height="@dimen/privy_detail_list_item_height"
android:orientation="horizontal"
android:weightSum="2">
android:weightSum="3">

<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_weight="2"
android:gravity="center_vertical"
android:text="Ratings : " />

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/nav_header_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="@dimen/nav_header_height"
android:background="@drawable/city_background"
android:background="@drawable/city_background_nav"
android:gravity="bottom"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
Expand Down

0 comments on commit 2b04a76

Please sign in to comment.