diff options
author | Stefan Niedermann <stefan.niedermann@googlemail.com> | 2016-01-20 23:25:32 +0300 |
---|---|---|
committer | Stefan Niedermann <stefan.niedermann@googlemail.com> | 2016-01-20 23:25:32 +0300 |
commit | 0d6e9c7a550cb8a698231c0d80c51649498173c5 (patch) | |
tree | 4ff8e1a976544cb34651819087ef41aa4e676e3b /app/src/main/res | |
parent | c1d16c919721d0fb3fe8bfcc88f9db936b1b552a (diff) |
Correct Height to wrap_content
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_notes_list_note_item.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_notes_list_section_item.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/res/layout/fragment_notes_list_note_item.xml b/app/src/main/res/layout/fragment_notes_list_note_item.xml index 8a1e3d9a..cd4e0c08 100644 --- a/app/src/main/res/layout/fragment_notes_list_note_item.xml +++ b/app/src/main/res/layout/fragment_notes_list_note_item.xml @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/noteItem" + xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" - android:layout_height="?android:attr/listPreferredItemHeight" + android:layout_height="wrap_content" android:background="@drawable/list_item_background_selector" android:padding="16dp"> diff --git a/app/src/main/res/layout/fragment_notes_list_section_item.xml b/app/src/main/res/layout/fragment_notes_list_section_item.xml index 52a8f0e3..52f04faa 100644 --- a/app/src/main/res/layout/fragment_notes_list_section_item.xml +++ b/app/src/main/res/layout/fragment_notes_list_section_item.xml @@ -3,7 +3,7 @@ android:id="@+id/sectionItem" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" - android:layout_height="?android:attr/listPreferredItemHeight" + android:layout_height="wrap_content" android:background="@color/bg_highlighted" android:padding="8dp"> |