Design Update

This commit is contained in:
Caesar2011
2018-11-18 20:30:23 +01:00
parent d5e08ac3c3
commit c6f032f92e
5 changed files with 15 additions and 17 deletions

View File

@@ -6,7 +6,7 @@
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:padding="16dp"
android:clipToPadding="false"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/list_all_items" />

View File

@@ -4,14 +4,14 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/swipe_container"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp"
android:clipToPadding="false"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/list_all_items" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

View File

@@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_margin="3dp"
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="UseCompoundDrawables">
@@ -18,12 +18,10 @@
android:id="@+id/tv_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:drawableLeft="@drawable/ic_folder"
android:drawablePadding="10dp"
android:drawablePadding="10sp"
android:gravity="center_vertical"
tools:text="@string/app_name"
android:textSize="18sp"
android:drawableStart="@drawable/ic_folder"
android:layout_marginStart="5dp" />
android:textSize="14sp"
android:drawableStart="@drawable/ic_folder" />
</LinearLayout>

View File

@@ -2,18 +2,18 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_margin="3dp"
xmlns:tools="http://schemas.android.com/tools">
<TextView
android:id="@+id/tv_name"
android:layout_marginLeft="23dp"
android:drawableLeft="@drawable/ic_insert_drive_file"
android:drawablePadding="10dp"
android:drawablePadding="10sp"
android:gravity="center_vertical"
tools:text="@string/app_name"
android:textSize="18sp"
android:textSize="14sp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:drawableStart="@drawable/ic_insert_drive_file"
android:layout_marginStart="23dp" />
android:layout_marginStart="18dp"
android:layout_marginLeft="18dp" />
</LinearLayout>

View File

@@ -11,8 +11,8 @@
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/cardview_margin"
android:layout_marginStart="@dimen/cardview_margin"
android:layout_marginTop="@dimen/text_margin"
android:layout_marginBottom="@dimen/text_margin"
android:layout_marginTop="12dp"
android:layout_marginBottom="4dp"
android:layout_marginRight="@dimen/cardview_margin"
android:layout_marginEnd="@dimen/cardview_margin"
tools:text="Caption"