Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4f8f38f authored by Nihar Thakkar's avatar Nihar Thakkar
Browse files

Improve install button sizing

parent 4b44eec5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@

                <include
                    layout="@layout/install_button_layout"
                    android:layout_width="@dimen/install_button_width"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentEnd="true"
                    android:layout_centerVertical="true"
+2 −3
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<Button xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/app_install"
    android:layout_width="@dimen/install_button_width"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:background="@drawable/app_install_border"
    android:ellipsize="end"
    android:foreground="?android:selectableItemBackground"
    android:maxWidth="@dimen/install_button_width"
    android:maxLines="1"
    android:minWidth="0dp"
    android:minWidth="@dimen/install_button_width"
    android:minHeight="0dp"
    android:padding="@dimen/layout_padding_medium"
    android:text="@string/action_install"
+3 −7
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<Button xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/app_install"
    android:layout_width="@dimen/simple_install_button_width"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:background="@drawable/app_install_border_simple"
    android:ellipsize="end"
    android:foreground="?android:selectableItemBackground"
    android:maxWidth="@dimen/simple_install_button_width"
    android:maxLines="1"
    android:minWidth="0dp"
    android:minWidth="@dimen/install_button_width"
    android:minHeight="0dp"
    android:paddingStart="@dimen/layout_padding_small"
    android:paddingTop="@dimen/layout_padding_medium"
    android:paddingEnd="@dimen/layout_padding_small"
    android:paddingBottom="@dimen/layout_padding_medium"
    android:padding="@dimen/layout_padding_medium"
    android:text="@string/action_install"
    android:textColor="?android:textColorPrimary"
    android:textSize="@dimen/text_size_small" />
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@

    <include
        layout="@layout/simple_install_button_layout"
        android:layout_width="@dimen/simple_install_button_width"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/app_title"
        android:layout_centerHorizontal="true"
+1 −2
Original line number Diff line number Diff line
@@ -18,9 +18,8 @@
    <dimen name="default_radius">4dp</dimen>
    <dimen name="category_radius">16dp</dimen>

    <dimen name="install_button_width">80dp</dimen>
    <dimen name="install_button_width">76dp</dimen>
    <dimen name="update_all_button_width">116dp</dimen>
    <dimen name="simple_install_button_width">72dp</dimen>
    <dimen name="app_icon_size">64dp</dimen>
    <dimen name="app_icon_size_large">80dp</dimen>
    <dimen name="small_application_list_item_width">116dp</dimen>