diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 9417040d5..de09d2c00 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,4 +1,5 @@ - + diff --git a/app/src/main/res/layout/content_event.xml b/app/src/main/res/layout/content_event.xml index 9fb819ea4..69b83e301 100644 --- a/app/src/main/res/layout/content_event.xml +++ b/app/src/main/res/layout/content_event.xml @@ -4,7 +4,6 @@ xmlns:app="http://schemas.android.com/apk/res-auto"> - @@ -152,6 +151,7 @@ tools:text="Wed June 5" /> + + + + + + + + + + - + - - + + + + + + diff --git a/app/src/main/res/layout/content_fetching_event_error.xml b/app/src/main/res/layout/content_fetching_event_error.xml index acecc2065..aa72a1fd6 100644 --- a/app/src/main/res/layout/content_fetching_event_error.xml +++ b/app/src/main/res/layout/content_fetching_event_error.xml @@ -47,6 +47,7 @@ android:textColor="@color/colorPrimary" style="@style/Widget.AppCompat.Button.Borderless" tools:text="RETRY" /> + diff --git a/app/src/main/res/layout/content_no_internet.xml b/app/src/main/res/layout/content_no_internet.xml index 71685f608..a5fe7e52a 100644 --- a/app/src/main/res/layout/content_no_internet.xml +++ b/app/src/main/res/layout/content_no_internet.xml @@ -47,6 +47,7 @@ android:textColor="@color/colorPrimary" style="@style/Widget.MaterialComponents.Button.TextButton" tools:text="RETRY" /> + diff --git a/app/src/main/res/layout/dialog_change_password.xml b/app/src/main/res/layout/dialog_change_password.xml index 5af61e70a..fc6c9a162 100644 --- a/app/src/main/res/layout/dialog_change_password.xml +++ b/app/src/main/res/layout/dialog_change_password.xml @@ -48,6 +48,7 @@ android:drawableStart="@drawable/ic_lock_black" android:hint="@string/new_password" android:inputType="textPassword" /> + + + + diff --git a/app/src/main/res/layout/dialog_confirm_delete_account.xml b/app/src/main/res/layout/dialog_confirm_delete_account.xml index 1f8f6566a..4510e76af 100644 --- a/app/src/main/res/layout/dialog_confirm_delete_account.xml +++ b/app/src/main/res/layout/dialog_confirm_delete_account.xml @@ -3,6 +3,7 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:padding="@dimen/padding_large"> + + + diff --git a/app/src/main/res/layout/dialog_delete_account.xml b/app/src/main/res/layout/dialog_delete_account.xml index d5f29ecfd..d237047eb 100644 --- a/app/src/main/res/layout/dialog_delete_account.xml +++ b/app/src/main/res/layout/dialog_delete_account.xml @@ -5,6 +5,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:padding="@dimen/padding_large"> + + + + + + + + + + + diff --git a/app/src/main/res/layout/dialog_edit_profile_image.xml b/app/src/main/res/layout/dialog_edit_profile_image.xml index 3b5465a73..de1121867 100644 --- a/app/src/main/res/layout/dialog_edit_profile_image.xml +++ b/app/src/main/res/layout/dialog_edit_profile_image.xml @@ -15,17 +15,21 @@ android:padding="@dimen/padding_large" android:background="?selectableItemBackground" android:orientation="vertical"> + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/dialog_feedback.xml b/app/src/main/res/layout/dialog_feedback.xml index 28db654b7..8a3f6b914 100644 --- a/app/src/main/res/layout/dialog_feedback.xml +++ b/app/src/main/res/layout/dialog_feedback.xml @@ -28,6 +28,7 @@ android:layout_height="wrap_content" android:hint="@string/write_feedback" android:inputType="textCapSentences" /> + diff --git a/app/src/main/res/layout/dialog_filter_order.xml b/app/src/main/res/layout/dialog_filter_order.xml index a97a431b7..d04dd9906 100644 --- a/app/src/main/res/layout/dialog_filter_order.xml +++ b/app/src/main/res/layout/dialog_filter_order.xml @@ -8,6 +8,7 @@ android:layout_height="match_parent" android:orientation="vertical" android:padding="@dimen/padding_large"> + + + + + + + + diff --git a/app/src/main/res/layout/dialog_login_to_like.xml b/app/src/main/res/layout/dialog_login_to_like.xml index 4d53212d5..1a377dbda 100644 --- a/app/src/main/res/layout/dialog_login_to_like.xml +++ b/app/src/main/res/layout/dialog_login_to_like.xml @@ -10,6 +10,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:padding="@dimen/padding_large"> + + + + + diff --git a/app/src/main/res/layout/fragment_feedback.xml b/app/src/main/res/layout/fragment_feedback.xml index 8d720fbb0..23260bca4 100644 --- a/app/src/main/res/layout/fragment_feedback.xml +++ b/app/src/main/res/layout/fragment_feedback.xml @@ -1,30 +1,30 @@ + android:layout_height="match_parent" + android:orientation="vertical"> + android:layout_marginTop="@dimen/layout_margin_large" /> + tools:visibility="visible" /> + app:tint="@color/colorPrimary" /> diff --git a/app/src/main/res/layout/fragment_order_completed.xml b/app/src/main/res/layout/fragment_order_completed.xml index e0175e679..9d961992a 100644 --- a/app/src/main/res/layout/fragment_order_completed.xml +++ b/app/src/main/res/layout/fragment_order_completed.xml @@ -9,9 +9,9 @@ app:layout_behavior="@string/appbar_scrolling_view_behavior"> + android:layout_height="wrap_content"> + android:textColor="@color/black" + android:textSize="@dimen/text_size_medium" /> + tools:visibility="visible"> + - - - - - - + + + + + + + - + - + + + - - diff --git a/app/src/main/res/layout/fragment_orders_under_user.xml b/app/src/main/res/layout/fragment_orders_under_user.xml index 86b085fee..f0eb2a8f3 100644 --- a/app/src/main/res/layout/fragment_orders_under_user.xml +++ b/app/src/main/res/layout/fragment_orders_under_user.xml @@ -1,202 +1,218 @@ - - - - - - - - - - - + android:layout_height="match_parent" + android:fitsSystemWindows="true" + android:orientation="vertical"> - - - - - + android:layout_height="match_parent"> - - - - - - - - - - - - - - - - - - - - + android:scaleType="fitXY" + android:src="@drawable/background_fragment" /> - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - - + android:background="@color/colorPrimary" + app:title="@string/tickets" + app:titleTextColor="@color/white"> + + + + diff --git a/app/src/main/res/layout/fragment_profile.xml b/app/src/main/res/layout/fragment_profile.xml index c92b3d0ec..b4a58483b 100644 --- a/app/src/main/res/layout/fragment_profile.xml +++ b/app/src/main/res/layout/fragment_profile.xml @@ -7,33 +7,38 @@ android:layout_height="match_parent" android:fillViewport="true" android:fitsSystemWindows="true"> + + + app:title="@string/profile" + app:titleTextColor="@color/white" /> + + android:layout_marginBottom="@dimen/layout_margin_medium" + android:background="@drawable/border_curved" + android:orientation="vertical"> + + android:padding="@dimen/padding_large" + tools:src="@drawable/ic_account_circle_grey" /> + + tools:text="@string/name_preview" /> + + + + android:textSize="@dimen/text_size_expanded_title" /> + + + android:textSize="@dimen/text_size_large" /> + + android:textSize="@dimen/text_size_large" /> + + android:text="@string/edit_profile" + android:textSize="@dimen/text_size_large" /> + + android:text="@string/title_change_password" + android:textSize="@dimen/text_size_large" /> + + android:textSize="@dimen/text_size_large" /> + + android:paddingEnd="@dimen/padding_large"> + + android:textSize="@dimen/text_size_expanded_title" /> + + + android:text="@string/settings" + android:textSize="@dimen/text_size_large" /> + + android:textSize="@dimen/text_size_large" /> + + android:textSize="@dimen/text_size_large" /> + + android:paddingEnd="@dimen/padding_large"> + + android:textSize="@dimen/text_size_expanded_title" /> + + + android:textSize="@dimen/text_size_large" /> + + android:textSize="@dimen/text_size_large" /> diff --git a/app/src/main/res/layout/fragment_proposal_speaker.xml b/app/src/main/res/layout/fragment_proposal_speaker.xml index 02c49f0c2..a01e5551a 100644 --- a/app/src/main/res/layout/fragment_proposal_speaker.xml +++ b/app/src/main/res/layout/fragment_proposal_speaker.xml @@ -2,48 +2,52 @@ + android:layout_height="match_parent" + android:orientation="vertical"> + + + + + android:textSize="@dimen/heading_text_size" /> + app:srcCompat="@drawable/ic_account_circle_grey" + tools:visibility="visible" /> @@ -52,8 +56,8 @@ android:id="@+id/speakerName" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="text" /> + android:inputType="text" + android:singleLine="true" /> @@ -71,16 +75,17 @@ android:id="@+id/speakerEmail" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="text" /> + android:inputType="text" + android:singleLine="true" /> + @@ -89,16 +94,17 @@ android:id="@+id/speakerOrganization" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="text" /> + android:inputType="text" + android:singleLine="true" /> + @@ -107,16 +113,17 @@ android:id="@+id/speakerPosition" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="text" /> + android:inputType="text" + android:singleLine="true" /> + @@ -125,16 +132,17 @@ android:id="@+id/speakerCountry" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="text" /> + android:inputType="text" + android:singleLine="true" /> + @@ -143,16 +151,17 @@ android:id="@+id/speakerShortBio" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="text" /> + android:inputType="text" + android:singleLine="true" /> + @@ -162,7 +171,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="text" - android:lines="3"/> + android:lines="3" /> @@ -180,16 +189,17 @@ android:id="@+id/speakerSpeakingExp" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="textUri" /> + android:inputType="textUri" + android:singleLine="true" /> + @@ -198,16 +208,17 @@ android:id="@+id/speakerMobile" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="number" /> + android:inputType="number" + android:singleLine="true" /> + @@ -216,16 +227,17 @@ android:id="@+id/speakerWebsite" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="textUri" /> + android:inputType="textUri" + android:singleLine="true" /> + @@ -234,16 +246,17 @@ android:id="@+id/speakerFacebook" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="textUri" /> + android:inputType="textUri" + android:singleLine="true" /> + @@ -252,16 +265,17 @@ android:id="@+id/speakerGithub" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="textUri" /> + android:inputType="textUri" + android:singleLine="true" /> + @@ -270,16 +284,17 @@ android:id="@+id/speakerLinkedIn" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="textUri" /> + android:inputType="textUri" + android:singleLine="true" /> + @@ -288,16 +303,17 @@ android:id="@+id/speakerTwitter" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="textUri" /> + android:inputType="textUri" + android:singleLine="true" /> + @@ -306,16 +322,16 @@ android:id="@+id/speakerHeardFrom" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:inputType="textUri" /> + android:inputType="textUri" + android:singleLine="true" /> + tools:text="Add Speaker" /> diff --git a/app/src/main/res/layout/fragment_search_filter.xml b/app/src/main/res/layout/fragment_search_filter.xml index b2f0f09f8..efaeafeab 100644 --- a/app/src/main/res/layout/fragment_search_filter.xml +++ b/app/src/main/res/layout/fragment_search_filter.xml @@ -1,236 +1,240 @@ - - + + - - - + android:elevation="0dp"> - - - - + app:navigationIcon="@drawable/ic_arrow_back_black"> - - - - - - + android:layout_gravity="end" + android:padding="@dimen/padding_large" + android:src="@drawable/ic_baseline_tick" + app:tint="@color/black" /> + + + + + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="@dimen/padding_large"> - - - - - - + android:layout_marginBottom="@dimen/layout_margin_medium" + android:orientation="vertical"> - + - - - - - - + - + + - - - + android:layout_marginBottom="@dimen/layout_margin_medium" + android:orientation="vertical"> - + + + + + + - + android:layout_marginBottom="@dimen/layout_margin_medium" + android:orientation="vertical"> - - + + + - + + - - - - - + + + + + + - - + + + + + + + + + + + + + + + - - + diff --git a/app/src/main/res/layout/fragment_search_location.xml b/app/src/main/res/layout/fragment_search_location.xml index 0d6888087..ad80ec418 100644 --- a/app/src/main/res/layout/fragment_search_location.xml +++ b/app/src/main/res/layout/fragment_search_location.xml @@ -12,25 +12,29 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:elevation="0dp"> + + + style="@style/TextAppearance.Widget.AppCompat.Toolbar.Title" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:gravity="center_vertical" /> + + + android:paddingEnd="@dimen/padding_large" + android:paddingBottom="@dimen/padding_medium" /> + android:background="?selectableItemBackground" + android:orientation="horizontal"> + app:tint="@color/colorPrimary" /> + tools:visibility="visible" /> + + tools:visibility="visible" /> + android:paddingEnd="@dimen/padding_large" + android:text="@string/recent_locations" + android:textSize="@dimen/text_size_expanded_title" + android:textStyle="bold" /> + android:background="@color/grey" + android:divider="@null" + android:dividerHeight="0dp" /> + tools:visibility="visible"> + android:text="@string/popular_locations" + android:textSize="@dimen/text_size_expanded_title" + android:textStyle="bold" /> + android:dividerHeight="0dp" /> @@ -178,14 +183,23 @@ android:layout_height="match_parent" android:orientation="vertical" tools:visibility="gone"> + + + + + + + + + diff --git a/app/src/main/res/layout/fragment_search_results.xml b/app/src/main/res/layout/fragment_search_results.xml index 742da39e6..4c915b3cf 100644 --- a/app/src/main/res/layout/fragment_search_results.xml +++ b/app/src/main/res/layout/fragment_search_results.xml @@ -1,6 +1,5 @@ - - - - - + android:background="@color/colorPrimary" + android:backgroundTint="@color/white" + app:navigationIcon="@drawable/ic_arrow_back_black" + app:titleTextColor="@color/black"> + + + + + + + android:background="@color/white" + android:elevation="0dp"> + + + + android:textStyle="bold" /> + android:scaleType="center" /> - - - - - - - - + android:layout_height="wrap_content" + android:clipToPadding="false" + android:orientation="vertical" + app:layout_behavior="@string/appbar_scrolling_view_behavior"> - + android:orientation="vertical"> - + - + + - + android:scrollbars="vertical" + tools:listitem="@layout/item_card_favorite_event" + tools:visibility="gone" /> - + - + - + - + - - - + - - + - - - - - - + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/fragment_search_time.xml b/app/src/main/res/layout/fragment_search_time.xml index e26b7a912..3b3233df9 100644 --- a/app/src/main/res/layout/fragment_search_time.xml +++ b/app/src/main/res/layout/fragment_search_time.xml @@ -1,19 +1,19 @@ + app:navigationIcon="@drawable/ic_arrow_back_black" /> + android:overScrollMode="never" + android:scrollbars="none"> + @@ -50,10 +51,10 @@ android:id="@+id/todayTextView" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="@dimen/layout_margin_large" + android:background="?attr/selectableItemBackground" android:gravity="center_vertical" + android:padding="@dimen/layout_margin_large" android:text="@string/today" - android:background="?attr/selectableItemBackground" android:textColor="@color/black" android:textSize="@dimen/text_size_expanded_title" /> @@ -61,10 +62,10 @@ android:id="@+id/tomorrowTextView" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="@dimen/layout_margin_large" + android:background="?attr/selectableItemBackground" android:gravity="center_vertical" + android:padding="@dimen/layout_margin_large" android:text="@string/tomorrow" - android:background="?attr/selectableItemBackground" android:textColor="@color/black" android:textSize="@dimen/text_size_expanded_title" /> @@ -72,10 +73,10 @@ android:id="@+id/thisWeekendTextView" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="@dimen/layout_margin_large" + android:background="?attr/selectableItemBackground" android:gravity="center_vertical" + android:padding="@dimen/layout_margin_large" android:text="@string/weekend" - android:background="?attr/selectableItemBackground" android:textColor="@color/black" android:textSize="@dimen/text_size_expanded_title" /> @@ -83,10 +84,10 @@ android:id="@+id/nextMonthTextView" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="@dimen/layout_margin_large" + android:background="?attr/selectableItemBackground" android:gravity="center_vertical" + android:padding="@dimen/layout_margin_large" android:text="@string/month" - android:background="?attr/selectableItemBackground" android:textColor="@color/black" android:textSize="@dimen/text_size_expanded_title" /> @@ -94,10 +95,10 @@ android:id="@+id/timeTextView" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="@dimen/layout_margin_large" + android:background="?attr/selectableItemBackground" android:gravity="center_vertical" + android:padding="@dimen/layout_margin_large" android:text="@string/pick_date" - android:background="?attr/selectableItemBackground" android:textColor="@color/black" android:textSize="@dimen/text_size_expanded_title" /> diff --git a/app/src/main/res/layout/fragment_search_type.xml b/app/src/main/res/layout/fragment_search_type.xml index 1a4062b1c..368fdd31f 100644 --- a/app/src/main/res/layout/fragment_search_type.xml +++ b/app/src/main/res/layout/fragment_search_type.xml @@ -1,18 +1,19 @@ + tools:context="org.fossasia.openevent.general.search.type.SearchTypeFragment"> + + app:navigationIcon="@drawable/ic_arrow_back_black" /> @@ -25,6 +26,7 @@ android:textColor="@color/black" android:textSize="@dimen/text_size_extra_large" android:textStyle="bold" /> + + android:scrollbars="none" /> diff --git a/app/src/main/res/layout/fragment_session.xml b/app/src/main/res/layout/fragment_session.xml index dd2b33fce..f89ec9b7e 100644 --- a/app/src/main/res/layout/fragment_session.xml +++ b/app/src/main/res/layout/fragment_session.xml @@ -1,266 +1,289 @@ - - - - - - - + + + android:layout_centerHorizontal="true" + android:layout_marginTop="@dimen/layout_margin_extreme_large" /> + + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="@dimen/padding_large"> + + android:textSize="@dimen/text_size_extra_large" + tools:text="Session Name" /> - - + android:textSize="@dimen/text_size_large" + android:textStyle="bold|italic" + tools:text="Type: Talk" /> - - + - - - - - + - - - - - + - + + + + + + - + android:background="?selectableItemBackground" + android:orientation="horizontal"> - + - - - - - - - - - - - + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/fragment_signup.xml b/app/src/main/res/layout/fragment_signup.xml index d6d355aed..ce771ebbb 100644 --- a/app/src/main/res/layout/fragment_signup.xml +++ b/app/src/main/res/layout/fragment_signup.xml @@ -17,142 +17,147 @@ android:layout_height="wrap_content" app:navigationIcon="@drawable/ic_arrow_back_black"/> - - - - - - + android:layout_marginTop="@dimen/layout_margin_medium" + android:orientation="vertical" + android:paddingLeft="@dimen/padding_extra_large" + android:paddingRight="@dimen/padding_extra_large"> - - - - - - - + + + - - - - - + + + + + + - - - - - + + + + + - - - - - + + + + + - + android:layout_marginBottom="@dimen/padding_medium" + android:layout_marginTop="@dimen/padding_medium"> + + + + + - + - + - + + + + + + + + + android:layout_marginBottom="@dimen/padding_large" + android:layout_marginTop="@dimen/padding_large" + android:text="@string/sign_up" /> + - - + diff --git a/app/src/main/res/layout/placeholder_item_card_tickets.xml b/app/src/main/res/layout/placeholder_item_card_tickets.xml index d1bb96e8e..28c7945b7 100644 --- a/app/src/main/res/layout/placeholder_item_card_tickets.xml +++ b/app/src/main/res/layout/placeholder_item_card_tickets.xml @@ -31,9 +31,9 @@ android:layout_width="@dimen/layout_margin_none" android:layout_height="@dimen/placeholder_tickets_view_height" android:layout_marginLeft="@dimen/layout_margin_medium" + android:layout_marginTop="@dimen/details_margin_small" android:layout_marginRight="@dimen/layout_margin_medium" android:layout_marginBottom="@dimen/layout_margin_small" - android:layout_marginTop="@dimen/details_margin_small" android:background="@color/shimmer_background" android:ellipsize="end" app:layout_constraintLeft_toRightOf="@+id/date"