Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afd8d608 authored by Xavier Ducrohet's avatar Xavier Ducrohet Committed by Android (Google) Code Review
Browse files

Merge "LayoutLib: support for layers."

parents f9905b43 d38e776a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<com.android.test.hwui.LayersActivity.LayersView
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">
</com.android.test.hwui.LayersActivity.LayersView>
+6 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<com.android.test.hwui.NewLayersActivity.LayersView
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">
</com.android.test.hwui.NewLayersActivity.LayersView>
+12 −12
Original line number Diff line number Diff line
@@ -33,11 +33,11 @@ public class LayersActivity extends Activity {
        setContentView(new LayersView(this));
    }

    static class LayersView extends View {
    public static class LayersView extends View {
        private Paint mLayerPaint;
        private final Paint mRectPaint;

        LayersView(Context c) {
        public LayersView(Context c) {
            super(c);

            mLayerPaint = new Paint();
+3 −3
Original line number Diff line number Diff line
@@ -31,11 +31,11 @@ public class NewLayersActivity extends Activity {
        setContentView(new LayersView(this));
    }

    static class LayersView extends View {
    public static class LayersView extends View {
        private Paint mLayerPaint;
        private final Paint mRectPaint;

        LayersView(Context c) {
        public LayersView(Context c) {
            super(c);

            mLayerPaint = new Paint();
+298 −455

File changed.

Preview size limit exceeded, changes collapsed.

Loading