Fix RP cards UI
This commit is contained in:
parent
f0b4d41401
commit
165b3b9890
3 changed files with 29 additions and 8 deletions
|
@ -32,7 +32,10 @@
|
|||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/route_info_list_item_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/route_info_list_item_height"
|
||||
android:paddingTop="@dimen/list_header_padding"
|
||||
android:paddingBottom="@dimen/list_header_padding"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
|
@ -42,6 +45,7 @@
|
|||
android:layout_marginStart="@dimen/list_content_padding"
|
||||
android:layout_marginLeft="@dimen/list_content_padding"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="@dimen/default_desc_text_size"
|
||||
tools:text="Tracks on the map - 10" />
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -55,7 +59,8 @@
|
|||
<FrameLayout
|
||||
android:id="@+id/show_all_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/route_info_list_item_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/route_info_list_item_height"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
@ -73,6 +78,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:paddingTop="@dimen/list_header_padding"
|
||||
android:paddingBottom="@dimen/list_header_padding"
|
||||
android:layout_marginStart="@dimen/route_info_list_text_padding"
|
||||
android:layout_marginLeft="@dimen/route_info_list_text_padding"
|
||||
android:textColor="?attr/color_dialog_buttons"
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/card_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/route_info_card_row_min_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/route_info_card_row_min_height"
|
||||
android:background="?attr/route_info_bg"
|
||||
android:baselineAligned="false"
|
||||
android:gravity="center_vertical"
|
||||
|
@ -32,8 +33,10 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/home_button"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:paddingTop="@dimen/list_header_padding"
|
||||
android:paddingBottom="@dimen/list_header_padding"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
@ -88,14 +91,18 @@
|
|||
<View
|
||||
android:id="@+id/buttons_divider"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:background="?attr/divider_color" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/work_button"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:paddingTop="@dimen/list_header_padding"
|
||||
android:paddingBottom="@dimen/list_header_padding"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
|
|
@ -31,7 +31,10 @@
|
|||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/route_info_list_item_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/route_info_list_item_height"
|
||||
android:paddingTop="@dimen/list_header_padding"
|
||||
android:paddingBottom="@dimen/list_header_padding"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
|
@ -41,6 +44,7 @@
|
|||
android:layout_marginStart="@dimen/list_content_padding"
|
||||
android:layout_marginLeft="@dimen/list_content_padding"
|
||||
android:text="@string/previous_route"
|
||||
android:textSize="@dimen/default_desc_text_size"
|
||||
android:textColor="?android:attr/textColorSecondary" />
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -48,7 +52,10 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/card_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/route_info_card_item_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/route_info_card_item_height"
|
||||
android:paddingTop="@dimen/list_header_padding"
|
||||
android:paddingBottom="@dimen/list_header_padding"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
|
Loading…
Reference in a new issue