Fix Weird floating "add language" item
- Base theme has android:clipToPadding=false attribute. It let user UI draw under navigation bar but also cause this problem. Add android:clipToPadding=true in layout to fix the problem. Fixes: 142108980 Test: manual Change-Id: Ibe60b348a3c7c01d9786612ceac23a47a78a208a
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user