Files
frameworks_base/tests/BiDiTests/src/com/android/bidi/BiDiTestViewPaddingMixed.java
Fabrice Di Meglio d8703a9824 Add View paddingStart and paddingEnd
- use a lazy padding resolution (because layout direction is lazyly resolved too)
- cache resolved layout direction as getResolvedLayoutDirection() will be more called
- enable resetting layout direction cache if needed
- update unit tests

Change-Id: I30ce19e3100cc137f84e60163b60e1577ff61819
2011-06-20 11:11:05 -07:00

18 lines
503 B
Java

// Copyright 2011 Google Inc. All Rights Reserved.
package com.android.bidi;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public class BiDiTestViewPaddingMixed extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
return inflater.inflate(R.layout.view_padding_mixed, container, false);
}
}