Skip to content

Commit

Permalink
refactor: Hide schedule time picker cursor and remove unused hint spa…
Browse files Browse the repository at this point in the history
…ce (#2169)
  • Loading branch information
LunarX authored Feb 18, 2025
2 parents 5b1cfc2 + eadb9c1 commit b22e872
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand All @@ -41,12 +42,14 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/marginStandard"
android:layout_weight="1">
android:layout_weight="1"
app:hintEnabled="false">

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/dateField"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:cursorVisible="false"
android:focusable="false"
android:focusableInTouchMode="false"
android:inputType="date"
Expand All @@ -56,12 +59,14 @@

<com.google.android.material.textfield.TextInputLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
app:hintEnabled="false">

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/timeField"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:cursorVisible="false"
android:focusable="false"
android:focusableInTouchMode="false"
android:inputType="date"
Expand Down

0 comments on commit b22e872

Please sign in to comment.