mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-22 04:46:04 +03:00
Fix separators and use white background for recycler view again.
This commit is contained in:
parent
bac2e86d88
commit
063ecbaeec
5 changed files with 57 additions and 39 deletions
|
@ -67,6 +67,7 @@
|
|||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/debug" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/debugAndroidTest" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/jars" />
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
android:id="@+id/list_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/fg_default_high">
|
||||
android:background="@color/bg_normal">
|
||||
</android.support.v7.widget.RecyclerView>
|
||||
</android.support.v4.widget.SwipeRefreshLayout>
|
||||
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
android:id="@+id/noteItem"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/noteItem"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="1px"
|
||||
android:background="@drawable/list_item_background_selector"
|
||||
android:padding="16dp">
|
||||
|
||||
|
@ -36,3 +39,11 @@
|
|||
android:textSize="14sp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="1px"
|
||||
android:src="@color/separator"/>
|
||||
</RelativeLayout>
|
|
@ -3,25 +3,29 @@
|
|||
android:id="@+id/sectionItem"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="1px"
|
||||
android:background="@color/bg_highlighted"
|
||||
android:padding="8dp">
|
||||
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:id="@+id/sectionTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="false"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignWithParentIfMissing="true"
|
||||
android:background="@color/bg_highlighted"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:padding="8dp"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:textColor="@color/fg_default_selection"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="1px"
|
||||
android:src="@color/separator"/>
|
||||
</RelativeLayout>
|
|
@ -5,6 +5,8 @@
|
|||
<color name="primary">#1d2d44</color>
|
||||
<color name="primary_dark">#112233</color>
|
||||
|
||||
<color name="separator">#d2d2d2</color>
|
||||
|
||||
<color name="bg_transparent">#aa000000</color>
|
||||
<color name="bg_highlighted">#f3f3f3</color>
|
||||
<color name="bg_normal">#ffffff</color>
|
||||
|
|
Loading…
Reference in a new issue