Skip to content

Commit

Permalink
Report bottom sheet UI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Hafizzle committed Sep 25, 2023
1 parent 59fae2c commit 1038e92
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
21 changes: 12 additions & 9 deletions Habitica/res/layout/fragment_report_message.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="36dp"
android:textStyle="bold"
android:text="@string/report_violation"
android:textColor="@color/text_primary"
android:textSize="20sp" />
android:textSize="20sp"
android:textStyle="bold" />

<Button
android:id="@+id/report_button"
Expand Down Expand Up @@ -117,23 +117,26 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_small"
android:layout_marginBottom="@dimen/spacing_large"
android:background="@color/transparent"
android:layout_marginBottom="@dimen/spacing_small"
android:background="@color/gray600_gray10"
android:textColorHint="@color/text_quad"
android:hint="@string/report_hint"
android:theme="@style/TextInputLayoutAppearanceTheme">
android:theme="@style/TextInputLayoutAppearanceTheme"
app:hintEnabled="false">

<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/additional_info_edittext"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/transparent"
android:fontFamily="sans-serif"
android:gravity="center_vertical"
android:hint="@string/report_hint"
android:overScrollMode="always"
android:paddingStart="@dimen/spacing_large"
android:gravity="center_vertical"
android:paddingTop="12dp"
android:paddingEnd="@dimen/spacing_large"
android:paddingBottom="34dp"
android:textColor="@color/text_primary" />
android:textColor="@color/text_primary"
android:textColorHint="@color/text_quad" />
</com.google.android.material.textfield.TextInputLayout>

<TextView
Expand Down
1 change: 1 addition & 0 deletions Habitica/res/values-night/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
<color name="text_green10_green500">@color/green_500</color>
<color name="gray100_gray400">@color/gray_400</color>
<color name="gray200_gray400">@color/gray_400</color>
<color name="gray600_gray10">@color/gray_10</color>
<color name="gray600_gray50">@color/gray_50</color>
<color name="gray700_gray10">@color/gray_10</color>
<color name="maroon100_red100">@color/red_100</color>
Expand Down
1 change: 1 addition & 0 deletions Habitica/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
<color name="text_green10_green500">@color/green_10</color>
<color name="gray100_gray400">@color/gray_10</color>
<color name="gray200_gray400">@color/gray_200</color>
<color name="gray600_gray10">@color/gray_600</color>
<color name="gray600_gray50">@color/gray_600</color>
<color name="gray700_gray10">@color/gray_700</color>
<color name="maroon100_red100">@color/maroon_100</color>
Expand Down

0 comments on commit 1038e92

Please sign in to comment.