ui fixes
This commit is contained in:
parent
53fe6175c7
commit
b8c776b885
7 changed files with 25 additions and 10 deletions
|
@ -4,7 +4,7 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/activity_background_basic">
|
||||
android:background="?attr/activity_background_color">
|
||||
|
||||
<ExpandableListView
|
||||
android:id="@+id/list"
|
||||
|
@ -103,7 +103,7 @@
|
|||
android:id="@+id/toolbar_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/toolbar_height_expanded"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:background="?attr/actionModeBackground"
|
||||
osmand:expandedTitleMarginBottom="@dimen/content_padding_small"
|
||||
osmand:expandedTitleMarginEnd="@dimen/content_padding"
|
||||
osmand:expandedTitleMarginStart="@dimen/content_padding"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/activity_background_basic">
|
||||
android:background="?attr/activity_background_color">
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/nested_scroll"
|
||||
|
@ -101,7 +101,7 @@
|
|||
android:id="@+id/toolbar_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/toolbar_height_expanded"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:background="?attr/actionModeBackground"
|
||||
osmand:expandedTitleMarginBottom="@dimen/content_padding_small"
|
||||
osmand:expandedTitleMarginEnd="@dimen/content_padding"
|
||||
osmand:expandedTitleMarginStart="@dimen/content_padding"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="?attr/activity_background_basic">
|
||||
android:background="?attr/activity_background_color">
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/nested_scroll"
|
||||
|
@ -112,7 +112,7 @@
|
|||
android:id="@+id/toolbar_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/toolbar_height_expanded"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:background="?attr/actionModeBackground"
|
||||
osmand:expandedTitleMarginBottom="@dimen/content_padding_small"
|
||||
osmand:expandedTitleMarginEnd="@dimen/content_padding"
|
||||
osmand:expandedTitleMarginStart="@dimen/content_padding"
|
||||
|
|
|
@ -23,7 +23,12 @@
|
|||
android:id="@+id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/content_padding"
|
||||
android:layout_marginStart="@dimen/content_padding"
|
||||
android:layout_marginLeft="@dimen/content_padding"
|
||||
android:layout_marginTop="@dimen/content_padding"
|
||||
android:layout_marginEnd="@dimen/list_content_padding_large"
|
||||
android:layout_marginRight="@dimen/list_content_padding_large"
|
||||
android:layout_marginBottom="@dimen/content_padding"
|
||||
tools:src="@drawable/ic_action_offroad" />
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
@ -22,7 +22,12 @@
|
|||
android:id="@+id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/content_padding"
|
||||
android:layout_marginStart="@dimen/content_padding"
|
||||
android:layout_marginLeft="@dimen/content_padding"
|
||||
android:layout_marginTop="@dimen/content_padding"
|
||||
android:layout_marginEnd="@dimen/list_content_padding_large"
|
||||
android:layout_marginRight="@dimen/list_content_padding_large"
|
||||
android:layout_marginBottom="@dimen/content_padding"
|
||||
tools:src="@drawable/ic_action_info_dark" />
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
@ -28,7 +28,12 @@
|
|||
android:id="@+id/explist_indicator"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/content_padding"
|
||||
android:layout_marginStart="@dimen/content_padding"
|
||||
android:layout_marginLeft="@dimen/content_padding"
|
||||
android:layout_marginTop="@dimen/content_padding"
|
||||
android:layout_marginEnd="@dimen/list_content_padding_large"
|
||||
android:layout_marginRight="@dimen/list_content_padding_large"
|
||||
android:layout_marginBottom="@dimen/content_padding"
|
||||
android:src="@drawable/ic_action_arrow_down" />
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
@ -56,7 +56,7 @@ public class DuplicatesSettingsAdapter extends RecyclerView.Adapter<RecyclerView
|
|||
@NonNull
|
||||
@Override
|
||||
public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
|
||||
LayoutInflater inflater = LayoutInflater.from(app);
|
||||
LayoutInflater inflater = UiUtilities.getInflater(app, nightMode);
|
||||
if (viewType == HEADER_TYPE) {
|
||||
View view = inflater.inflate(R.layout.list_item_header_import, parent, false);
|
||||
return new HeaderViewHolder(view);
|
||||
|
|
Loading…
Reference in a new issue