Merge "Fix Weird floating "add language" item"

This commit is contained in:
TreeHugger Robot
2019-11-04 10:41:40 +00:00
committed by Android (Google) Code Review
4 changed files with 5 additions and 23 deletions

View File

@@ -83,7 +83,7 @@ public abstract class BaseTimeZonePicker extends InstrumentedFragment
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
final View view = inflater.inflate(R.layout.time_zone_items_list, container, false);
final View view = inflater.inflate(R.layout.recycler_view, container, false);
mRecyclerView = view.findViewById(R.id.recycler_view);
mRecyclerView.setLayoutManager(new LinearLayoutManager(getContext(),
LinearLayoutManager.VERTICAL, /* reverseLayout */ false));