forked from upstream-mirrors/OpenTracks
Improve marker layout spacing
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user