diff --git a/res/drawable/ic_baseline_settings_24.xml b/res/drawable/ic_baseline_settings_24.xml new file mode 100644 --- /dev/null +++ b/res/drawable/ic_baseline_settings_24.xml @@ -0,0 +1,5 @@ + + + diff --git a/res/layout/activity_about.xml b/res/layout/activity_about.xml --- a/res/layout/activity_about.xml +++ b/res/layout/activity_about.xml @@ -2,15 +2,21 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingLeft="@dimen/activity_horizontal_margin" - android:paddingRight="@dimen/activity_horizontal_margin" tools:context="it.reyboz.bustorino.ActivityAbout"> + + + \ No newline at end of file diff --git a/res/layout/new_main_activity.xml b/res/layout/activity_principal.xml rename from res/layout/new_main_activity.xml rename to res/layout/activity_principal.xml diff --git a/res/layout/fragment_main_screen.xml b/res/layout/fragment_main_screen.xml --- a/res/layout/fragment_main_screen.xml +++ b/res/layout/fragment_main_screen.xml @@ -3,7 +3,9 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context=".fragments.MainScreenFragment"> + tools:context=".fragments.MainScreenFragment" + android:paddingTop="10dip" + > + /> + android:id="@+id/busStopSearchByNameEditText" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginEnd="5dp" + android:layout_marginLeft="5dip" + android:layout_marginRight="5dip" + android:layout_toEndOf="@+id/QRButton" + android:layout_toLeftOf="@+id/searchButton" + android:layout_toRightOf="@+id/QRButton" + android:layout_toStartOf="@+id/searchButton" + + android:ems="10" + android:hint="@string/insert_bus_stop_name" + android:imeOptions="actionSearch" + android:singleLine="true" + android:visibility="gone"> @@ -75,7 +78,7 @@ android:layout_marginRight="16dp" android:background="@drawable/search_button_custom" android:contentDescription="@string/search" - android:onClick="onSearchClick" /> + /> + + \ No newline at end of file diff --git a/res/menu/extra_menu_items.xml b/res/menu/extra_menu_items.xml new file mode 100644 --- /dev/null +++ b/res/menu/extra_menu_items.xml @@ -0,0 +1,24 @@ + + + + + + + \ No newline at end of file diff --git a/res/values/theme.xml b/res/values/theme.xml --- a/res/values/theme.xml +++ b/res/values/theme.xml @@ -7,7 +7,7 @@ @color/teal_500 -