Improve marker layout spacing

This commit is contained in:
Jimmy Shih
2013-12-03 17:34:53 -08:00
parent 1fbc38d38d
commit 65bfa15553
2 changed files with 11 additions and 4 deletions
+1
View File
@@ -23,6 +23,7 @@ limitations under the License.
android:id="@+id/list_item_photo" android:id="@+id/list_item_photo"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:paddingBottom="4dp"
android:scaleType="centerCrop" /> android:scaleType="centerCrop" />
<FrameLayout <FrameLayout
android:layout_height="wrap_content" android:layout_height="wrap_content"
+10 -4
View File
@@ -22,6 +22,7 @@ limitations under the License.
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="match_parent" > android:layout_width="match_parent" >
<ImageView <ImageView
android:background="@android:color/black"
android:contentDescription="@string/icon_marker" android:contentDescription="@string/icon_marker"
android:id="@+id/marker_detail_waypoint_photo" android:id="@+id/marker_detail_waypoint_photo"
android:layout_height="match_parent" android:layout_height="match_parent"
@@ -39,13 +40,14 @@ limitations under the License.
android:layout_width="match_parent" android:layout_width="match_parent"
android:src="@drawable/text_gradient" /> android:src="@drawable/text_gradient" />
<LinearLayout <LinearLayout
android:id="@+id/marker_detail_waypoint_info" android:id="@+id/marker_detail_waypoint_info"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:padding="8dp" > android:padding="8dp" >
<TextView <TextView
android:id="@+id/marker_detail_waypoint_name" android:id="@+id/marker_detail_waypoint_name"
android:paddingTop="8dp"
style="@style/TextMedium" /> style="@style/TextMedium" />
<TextView <TextView
android:id="@+id/marker_detail_waypoint_category" android:id="@+id/marker_detail_waypoint_category"
@@ -53,7 +55,7 @@ limitations under the License.
<TextView <TextView
android:id="@+id/marker_detail_waypoint_description" android:id="@+id/marker_detail_waypoint_description"
style="@style/TextSmall" /> style="@style/TextSmall" />
</LinearLayout> </LinearLayout>
</FrameLayout> </FrameLayout>
</FrameLayout> </FrameLayout>
<ScrollView <ScrollView
@@ -62,13 +64,17 @@ limitations under the License.
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:orientation="vertical" > android:orientation="vertical"
android:padding="8dp" >
<TextView <TextView
android:id="@+id/marker_detail_statistics_name" android:id="@+id/marker_detail_statistics_name"
android:paddingTop="8dp"
style="@style/TextMedium" /> style="@style/TextMedium" />
<TextView <TextView
android:paddingBottom="4dp"
android:paddingTop="8dp"
android:text="@string/marker_detail_statistics_title" android:text="@string/marker_detail_statistics_title"
style="@style/TextMedium" /> style="@style/TextSmall" />
<include layout="@layout/stats_content" /> <include layout="@layout/stats_content" />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>