Skip to content

Commit

Permalink
Update square tile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
avazirna committed Dec 3, 2024
1 parent 7ea3cf6 commit b79797c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 0 additions & 2 deletions app/res/layout/install_confirm_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
android:id="@+id/btn_start_install"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
SquareButtonWithText:backgroundColor="@color/start_home_button"
SquareButtonWithText:img="@drawable/install_start"
SquareButtonWithText:subtitle="Start install"
Expand All @@ -96,7 +95,6 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="end"
android:padding="16dp"
SquareButtonWithText:backgroundColor="@color/start_logout_button"
SquareButtonWithText:img="@drawable/install_stop"
SquareButtonWithText:subtitle="Start over"
Expand Down
2 changes: 0 additions & 2 deletions app/res/layout/select_install_mode_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
android:id="@+id/btn_fetch_uri"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingHorizontal="24dp"
SquareButtonWithText:backgroundColor="@color/barcode_button_color"
SquareButtonWithText:img="@drawable/startup_barcode"
SquareButtonWithText:subtitle="Scan Application Barcode"
Expand All @@ -93,7 +92,6 @@
android:layout_height="match_parent"
android:background="@drawable/tile_drop_shadow_small_margins"
android:gravity="end"
android:paddingHorizontal="18dp"
SquareButtonWithText:backgroundColor="@color/url_button_color"
SquareButtonWithText:img="@drawable/startup_url"
SquareButtonWithText:subtitle="Enter Code"
Expand Down
2 changes: 0 additions & 2 deletions app/res/layout/square_button_text.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<org.commcare.views.SquareButton
android:id="@+id/button"
android:layout_width="match_parent"
android:padding="16dp"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
Expand All @@ -22,7 +21,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/button"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:gravity="center"
android:paddingBottom="@dimen/standard_spacer"
Expand Down
8 changes: 3 additions & 5 deletions app/res/layout/square_card.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="170dp">
android:layout_height="match_parent">

<org.commcare.views.SquareImageView
android:id="@+id/card_image"
android:layout_width="130dp"
android:layout_centerHorizontal="true"
android:paddingVertical="24dp"
android:layout_height="150dp"/>
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>

<org.commcare.views.ResizingTextView
android:id="@+id/card_text"
Expand Down

0 comments on commit b79797c

Please sign in to comment.