Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Commit

Permalink
Layout fixes (#31)
Browse files Browse the repository at this point in the history
* Layout fixes for API level 16

* Use the correct vector drawable after #3271

Co-authored-by: blackbox87 <blackbox87@users.noreply.github.com>
Co-authored-by: friendlyanon <1736896+friendlyanon@users.noreply.github.com>
  • Loading branch information
3 people committed Oct 25, 2020
1 parent 79b41e9 commit ede2479
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/src/main/res/layout/dialog_feed_group_create.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:gravity="center_vertical"
android:hint="@string/name"
android:paddingTop="6dp"
Expand Down Expand Up @@ -193,6 +194,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:minWidth="0dp"
android:scaleType="centerInside"
Expand All @@ -207,6 +209,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toStartOf="@+id/confirm_button"
android:layout_toLeftOf="@+id/confirm_button"
android:text="@android:string/cancel" />

<Button
Expand All @@ -215,6 +218,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:text="@string/create" />
</RelativeLayout>
</LinearLayout>
1 change: 0 additions & 1 deletion app/src/main/res/layout/error_retry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="@string/retry"
android:textAlignment="center"
android:textAllCaps="true"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textSize="16sp"
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/layout/fragment_feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginLeft="12dp"
android:layout_toStartOf="@+id/refreshIcon"
android:layout_toLeftOf="@+id/refreshIcon"
android:gravity="center_vertical"
android:orientation="vertical">

Expand Down Expand Up @@ -55,8 +57,11 @@
android:layout_alignTop="@+id/refresh_info_container"
android:layout_alignBottom="@+id/refresh_info_container"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_marginStart="6dp"
android:layout_marginLeft="6dp"
android:layout_marginEnd="12dp"
android:layout_marginRight="12dp"
app:srcCompat="?attr/ic_refresh"
tools:ignore="ContentDescription" />

Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/layout/header_divider_item_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:textColor="?android:attr/textColorPrimary"
android:textSize="14sp"
android:textStyle="bold"
Expand All @@ -26,6 +27,8 @@
android:layout_height="2dp"
android:layout_gravity="center_vertical"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:layout_marginEnd="4dp"
android:layout_marginRight="4dp"
android:background="?attr/separator_color" />
</LinearLayout>
1 change: 1 addition & 0 deletions app/src/main/res/layout/header_with_menu_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:background="?attr/selectableItemBackgroundBorderless"
tools:src="?attr/ic_bookmark" />
</LinearLayout>

0 comments on commit ede2479

Please sign in to comment.