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

Commit 70395a7c authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed focus navigation on bugreport dialog.

Test: manual verification with bluetooth keyboard
Test: not ran unit tests because they're currently broken.

Fixes: 62872207

Change-Id: I2a42153d04deadde65b2778457b91189d4af511f
parent 2cb175b9
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -19,39 +19,51 @@
    android:paddingTop="15dp"
    android:paddingStart="24dp"
    android:paddingEnd="24dp"
    android:focusableInTouchMode="true"
    android:focusableInTouchMode="false"
    android:focusable="false"
    android:importantForAutofill="noExcludeDescendants"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">
    <TextView
        android:focusableInTouchMode="false"
        android:focusable="false"
        android:inputType="textNoSuggestions"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="@string/bugreport_info_name"/>
    <EditText
        android:id="@+id/name"
        android:nextFocusDown="@+id/title"
        android:maxLength="30"
        android:singleLine="true"
        android:inputType="textNoSuggestions"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>
    <TextView
        android:focusableInTouchMode="false"
        android:focusable="false"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="@string/bugreport_info_title"/>
    <EditText
        android:id="@+id/title"
        android:nextFocusUp="@+id/name"
        android:nextFocusDown="@+id/description"
        android:maxLength="80"
        android:singleLine="true"
        android:inputType="textAutoCorrect|textCapSentences"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>
    <TextView
        android:focusableInTouchMode="false"
        android:focusable="false"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:editable="false"
        android:text="@string/bugreport_info_description"/>
    <EditText
        android:id="@+id/description"
        android:nextFocusUp="@+id/title"
        android:singleLine="false"
        android:inputType="textMultiLine|textAutoCorrect|textCapSentences"
        android:layout_width="match_parent"