Improve layouts #524

Merged
mmarif merged 12 commits from improve-layouts into master 2020-06-01 15:54:11 +00:00
4 changed files with 8 additions and 14 deletions
Showing only changes of commit 9ab4691a63 - Show all commits

View File

@ -58,7 +58,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?attr/primaryBackgroundColor" android:background="?attr/primaryBackgroundColor"
android:padding="4dp"
android:scrollbars="vertical" /> android:scrollbars="vertical" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
@ -83,4 +82,4 @@
android:indeterminate="true" android:indeterminate="true"
android:visibility="visible" /> android:visibility="visible" />
</RelativeLayout> </RelativeLayout>

View File

@ -16,7 +16,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?attr/primaryBackgroundColor" android:background="?attr/primaryBackgroundColor"
android:padding="4dp"
android:scrollbars="vertical" /> android:scrollbars="vertical" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
@ -41,4 +40,4 @@
android:indeterminate="true" android:indeterminate="true"
android:visibility="visible" /> android:visibility="visible" />
</RelativeLayout> </RelativeLayout>

View File

@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout <RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/commitList" android:id="@+id/commitList"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
tools:context=".activities.CommitsActivity"
android:background="?attr/primaryBackgroundColor"> android:background="?attr/primaryBackgroundColor">
<LinearLayout <LinearLayout
@ -12,10 +11,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:fitsSystemWindows="true"
android:orientation="vertical" android:orientation="vertical"
android:layout_margin="15dp" android:layout_margin="15dp">
tools:ignore="UselessParent">
<TextView <TextView
android:id="@+id/commitTitleVw" android:id="@+id/commitTitleVw"
@ -80,7 +77,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="1dp" android:layout_height="1dp"
android:id="@+id/divider" android:id="@+id/divider"
android:layout_marginTop="10dp"
android:background="?attr/dividerColor" /> android:background="?attr/dividerColor" />
</RelativeLayout> </RelativeLayout>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/primaryBackgroundColor" > android:background="?attr/primaryBackgroundColor" >
@ -9,7 +10,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:fitsSystemWindows="true"
android:orientation="vertical" android:orientation="vertical"
android:layout_margin="15dp" > android:layout_margin="15dp" >
@ -72,8 +72,8 @@
<View <View
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="1dp" android:layout_height="1dp"
android:layout_marginTop="5dp" android:id="@+id/divider"
android:background="?attr/inputBackgroundColor" /> android:background="?attr/dividerColor" />
<TextView <TextView
android:id="@+id/releaseZipDownload" android:id="@+id/releaseZipDownload"