Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2017 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <View xmlns:android="http://schemas.android.com/apk/res/android"
     18     class="foo">
     19     <View
     20         android:paddingHorizontal="24dp" />
     21     <View
     22         android:paddingHorizontal="24dp"
     23         android:paddingStart="16dp"
     24         android:paddingEnd="16dp" />
     25     <View
     26         android:paddingHorizontal="24dp"
     27         android:paddingLeft="16dp"
     28         android:paddingRight="16dp" />
     29     <View
     30         android:paddingVertical="24dp" />
     31     <View
     32         android:paddingVertical="24dp"
     33         android:paddingTop="16dp"
     34         android:paddingBottom="16dp" />
     35     <View
     36         android:layout_marginHorizontal="24dp" />
     37     <View
     38         android:layout_marginHorizontal="24dp"
     39         android:layout_marginStart="16dp"
     40         android:layout_marginEnd="16dp" />
     41     <View
     42         android:layout_marginVertical="24dp" />
     43     <View
     44         android:layout_marginVertical="24dp"
     45         android:layout_marginTop="16dp"
     46         android:layout_marginBottom="16dp" />
     47 </View>
     48