Fix note item layout
This commit is contained in:
parent
3b5cf2164d
commit
70c3a75fe2
3 changed files with 13 additions and 6 deletions
|
@ -3,14 +3,13 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/bottom_sheet_selected_item_title_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/bg_color"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/bottom_sheet_selected_item_title_height"
|
||||
android:background="?attr/selectableItemBackground">
|
||||
|
||||
<CheckBox
|
||||
|
@ -35,12 +34,14 @@
|
|||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginEnd="@dimen/content_padding"
|
||||
android:layout_marginRight="@dimen/content_padding"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/list_item_text_container_padding_bottom"
|
||||
android:paddingTop="@dimen/list_item_text_container_padding_top">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
|
@ -48,7 +49,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
android:textColor="?attrs:searchbar_text"
|
||||
android:textSize="@dimen/default_list_text_size"
|
||||
tools:text="Nov 17, 2017 Audio Note"/>
|
||||
|
||||
|
|
|
@ -135,6 +135,9 @@
|
|||
<dimen name="map_markers_recycler_view_padding_bottom">78dp</dimen>
|
||||
<dimen name="map_markers_recycler_view_padding_top">15dp</dimen>
|
||||
|
||||
<dimen name="list_item_text_container_padding_top">15dp</dimen>
|
||||
<dimen name="list_item_text_container_padding_bottom">18dp</dimen>
|
||||
|
||||
<dimen name="shadow_height">8dp</dimen>
|
||||
<dimen name="map_marker_title_height">42dp</dimen>
|
||||
|
||||
|
|
|
@ -206,6 +206,9 @@
|
|||
<dimen name="map_markers_recycler_view_padding_bottom">52dp</dimen>
|
||||
<dimen name="map_markers_recycler_view_padding_top">10dp</dimen>
|
||||
|
||||
<dimen name="list_item_text_container_padding_top">10dp</dimen>
|
||||
<dimen name="list_item_text_container_padding_bottom">12dp</dimen>
|
||||
|
||||
<dimen name="shadow_height">5dp</dimen>
|
||||
<dimen name="map_marker_title_height">28dp</dimen>
|
||||
|
||||
|
|
Loading…
Reference in a new issue