Skip to content

Commit 2b04a76

Browse files
committed
#46 : Slow navigation due to large size images [solved]
1 parent ff05177 commit 2b04a76

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed
-10.8 KB
Loading
8.03 KB
Loading

app/src/main/res/layout/activity_privy_details.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@
5151
android:layout_width="match_parent"
5252
android:layout_height="@dimen/privy_detail_list_item_height"
5353
android:orientation="horizontal"
54-
android:weightSum="2">
54+
android:weightSum="3">
5555

5656
<TextView
5757
android:layout_width="match_parent"
5858
android:layout_height="match_parent"
59-
android:layout_weight="1"
59+
android:layout_weight="2"
6060
android:gravity="center_vertical"
6161
android:text="Name : " />
6262

@@ -74,12 +74,12 @@
7474
android:layout_width="match_parent"
7575
android:layout_height="@dimen/privy_detail_list_item_height"
7676
android:orientation="horizontal"
77-
android:weightSum="2">
77+
android:weightSum="3">
7878

7979
<TextView
8080
android:layout_width="match_parent"
8181
android:layout_height="match_parent"
82-
android:layout_weight="1"
82+
android:layout_weight="2"
8383
android:gravity="center_vertical"
8484
android:text="Geometry :" />
8585

@@ -97,12 +97,12 @@
9797
android:layout_width="match_parent"
9898
android:layout_height="@dimen/privy_detail_list_item_height"
9999
android:orientation="horizontal"
100-
android:weightSum="2">
100+
android:weightSum="3">
101101

102102
<TextView
103103
android:layout_width="match_parent"
104104
android:layout_height="match_parent"
105-
android:layout_weight="1"
105+
android:layout_weight="2"
106106
android:gravity="center_vertical"
107107
android:text="Open Now : " />
108108

@@ -120,12 +120,12 @@
120120
android:layout_width="match_parent"
121121
android:layout_height="@dimen/privy_detail_list_item_height"
122122
android:orientation="horizontal"
123-
android:weightSum="2">
123+
android:weightSum="3">
124124

125125
<TextView
126126
android:layout_width="match_parent"
127127
android:layout_height="match_parent"
128-
android:layout_weight="1"
128+
android:layout_weight="2"
129129
android:gravity="center_vertical"
130130
android:text="Vicinity : " />
131131

@@ -143,12 +143,12 @@
143143
android:layout_width="match_parent"
144144
android:layout_height="@dimen/privy_detail_list_item_height"
145145
android:orientation="horizontal"
146-
android:weightSum="2">
146+
android:weightSum="3">
147147

148148
<TextView
149149
android:layout_width="match_parent"
150150
android:layout_height="match_parent"
151-
android:layout_weight="1"
151+
android:layout_weight="2"
152152
android:gravity="center_vertical"
153153
android:text="Ratings : " />
154154

app/src/main/res/layout/nav_header_main.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:app="http://schemas.android.com/apk/res-auto"
44
android:layout_width="match_parent"
55
android:layout_height="@dimen/nav_header_height"
6-
android:background="@drawable/city_background"
6+
android:background="@drawable/city_background_nav"
77
android:gravity="bottom"
88
android:orientation="vertical"
99
android:paddingBottom="@dimen/activity_vertical_margin"

0 commit comments

Comments
 (0)