Skip to content

Commit e2bb0f3

Browse files
committed
Update design EditText
1 parent df41c50 commit e2bb0f3

22 files changed

+116
-58
lines changed

app/src/main/res/drawable-night/dialog_background.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
android:topLeftRadius="12dp"
99
android:topRightRadius="12dp" />
1010
<stroke
11-
android:width="2dp"
11+
android:width="1dp"
1212
android:color="#DFDFDF" />
1313
</shape>

app/src/main/res/drawable/dialog_background.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
android:topLeftRadius="12dp"
99
android:topRightRadius="12dp" />
1010
<stroke
11-
android:width="2dp"
11+
android:width="1dp"
1212
android:color="#DFDFDF" />
1313
</shape>

app/src/main/res/layout/class_activity.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@
1010
android:id="@+id/toolbar_class"
1111
layout="@layout/toolbar" />
1212

13+
<View
14+
android:id="@+id/view"
15+
android:layout_width="match_parent"
16+
android:layout_height="4dp"
17+
android:layout_below="@+id/toolbar_class"
18+
android:background="@drawable/pref_shadow_top" />
19+
1320
<LinearLayout
1421
android:layout_width="match_parent"
1522
android:layout_height="match_parent"
16-
android:layout_below="@+id/toolbar_class"
23+
android:layout_below="@+id/view"
1724
android:orientation="vertical">
1825

1926
<ListView

app/src/main/res/layout/main_activity.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818

1919
<include layout="@layout/toolbar" />
2020

21+
<View
22+
android:layout_width="match_parent"
23+
android:layout_height="4dp"
24+
android:background="@drawable/pref_shadow_top" />
25+
2126
<RelativeLayout
2227
android:layout_width="wrap_content"
2328
android:layout_height="match_parent">

app/src/main/res/layout/name_demangler_activity.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,17 @@
99
android:id="@+id/toolbar_demangler"
1010
layout="@layout/toolbar" />
1111

12+
<View
13+
android:id="@+id/view"
14+
android:layout_width="match_parent"
15+
android:layout_height="4dp"
16+
android:layout_below="@+id/toolbar_demangler"
17+
android:background="@drawable/pref_shadow_top" />
18+
1219
<LinearLayout
1320
android:layout_width="match_parent"
1421
android:layout_height="match_parent"
15-
android:layout_below="@+id/toolbar_demangler"
22+
android:layout_below="@+id/view"
1623
android:orientation="horizontal">
1724

1825
<androidx.appcompat.widget.AppCompatEditText

app/src/main/res/layout/search_activity.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,33 @@
1010
android:id="@+id/toolbar_search"
1111
layout="@layout/toolbar" />
1212

13+
<View
14+
android:id="@+id/view"
15+
android:layout_below="@+id/toolbar_search"
16+
android:layout_width="match_parent"
17+
android:layout_height="4dp"
18+
android:background="@drawable/pref_shadow_top" />
19+
1320
<LinearLayout
1421
android:id="@+id/symbols_activity_list_view"
1522
android:layout_width="match_parent"
1623
android:layout_height="match_parent"
17-
android:layout_below="@+id/toolbar_search"
24+
android:layout_below="@+id/view"
1825
android:orientation="vertical">
1926

2027
<com.google.android.material.textfield.TextInputLayout
2128
style="@style/TextInputLayoutTheme"
2229
android:layout_width="match_parent"
2330
android:layout_height="wrap_content"
24-
android:layout_marginLeft="10dp"
25-
android:layout_marginTop="10dp"
26-
android:layout_marginEnd="10dp"
27-
android:layout_marginRight="10dp"
31+
android:layout_margin="10dp"
2832
android:hint="@string/search">
2933

3034
<com.google.android.material.textfield.TextInputEditText
3135
android:id="@+id/searchactivityEditText"
3236
android:layout_width="match_parent"
33-
android:layout_height="56dp"
37+
android:layout_height="wrap_content"
3438
android:inputType="textNoSuggestions"
39+
android:textCursorDrawable="@drawable/cursor"
3540
android:lines="1"
3641
android:singleLine="true" />
3742

app/src/main/res/layout/symbol_activity.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@
1010
android:id="@+id/toolbar_symbol"
1111
layout="@layout/toolbar" />
1212

13+
<View
14+
android:id="@+id/view"
15+
android:layout_below="@+id/toolbar_symbol"
16+
android:layout_width="match_parent"
17+
android:layout_height="4dp"
18+
android:background="@drawable/pref_shadow_top" />
19+
1320
<ScrollView
1421
android:layout_width="match_parent"
1522
android:layout_height="match_parent"
16-
android:layout_below="@+id/toolbar_symbol"
23+
android:layout_below="@+id/view"
1724
android:orientation="vertical">
1825

1926
<LinearLayout

app/src/main/res/layout/symbols_activity.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,18 @@
1010
android:id="@+id/toolbar_symbols"
1111
layout="@layout/toolbar" />
1212

13+
<View
14+
android:id="@+id/view"
15+
android:layout_below="@+id/toolbar_symbols"
16+
android:layout_width="match_parent"
17+
android:layout_height="4dp"
18+
android:background="@drawable/pref_shadow_top" />
19+
1320
<ListView
1421
android:id="@+id/symbols_activity_list_view"
1522
android:layout_width="match_parent"
1623
android:layout_height="match_parent"
17-
android:layout_below="@+id/toolbar_symbols"
24+
android:layout_below="@+id/view"
1825
android:fastScrollEnabled="true" />
1926

2027
<com.google.android.material.floatingactionbutton.FloatingActionButton

app/src/main/res/layout/vtable_activity.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,18 @@
1010
android:id="@+id/toolbar_vtable"
1111
layout="@layout/toolbar" />
1212

13+
<View
14+
android:id="@+id/view"
15+
android:layout_below="@+id/toolbar_vtable"
16+
android:layout_width="match_parent"
17+
android:layout_height="4dp"
18+
android:background="@drawable/pref_shadow_top" />
19+
1320
<ListView
1421
android:id="@+id/vtable_activity_list_view"
1522
android:layout_width="fill_parent"
1623
android:layout_height="match_parent"
17-
android:layout_below="@+id/toolbar_vtable"
24+
android:layout_below="@+id/view"
1825
android:fastScrollEnabled="true" />
1926

2027
<com.google.android.material.floatingactionbutton.FloatingActionButton

app/src/main/res/values/styles.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<item name="windowActionModeOverlay">true</item>
1212
<item name="materialAlertDialogTheme">@style/AlertDialogTheme</item>
1313
<item name="alertDialogTheme">@style/AlertDialogTheme</item>
14+
<item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
1415
</style>
1516

1617
<style name="TextInputLayoutTheme" parent="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">

0 commit comments

Comments
 (0)