Home
last modified time | relevance | path

Searched refs:layouts (Results 1 – 25 of 178) sorted by relevance

12345678

/frameworks/base/docs/html/design/style/
Ddevices-displays.jd19 <p>Stretch and compress your layouts to accommodate various heights and widths.</p>
24 <h4>Optimize layouts</h4>
56 <p>For details about designing layouts for larger screens, see the <a
57 href="{@docRoot}design/patterns/multi-pane-layouts.html">Multi-pane Layouts</a> guide.</p>
61 <p>For information about how to build flexible layouts for multiple screen sizes and densities,
/frameworks/base/docs/html/training/multiscreen/
Dscreensizes.jd83 <p>You can construct fairly complex layouts using nested instances of {@link
146 like the one in the previous sections. While those layouts adapt to
149 application should not only implement flexible layouts, but should also provide
150 several alternative layouts to target different screen configurations. You do
159 to implement these layouts, you could have the following files:</p>
182 different layouts for different devices in this category (such as for 5" and 7" devices), even
189 list on smaller screens), you can use the same two layouts from the previous section for single
190 and two-pane layouts, but instead of the <code>large</code> size qualifier, use
239 layouts:</p>
276 <p>Some layouts work well in both landscape and portrait orientations, but most of them can
[all …]
/frameworks/base/docs/html/training/design-navigation/
Dmultiple-sizes.jd22 <li><a href="#multi-pane-layouts">Group Screens with Multi-pane Layouts</a></li>
29 …<li><a href="{@docRoot}design/patterns/multi-pane-layouts.html">Android Design: Multi-pane Layouts…
41 <h2 id="multi-pane-layouts">Group Screens with Multi-pane Layouts</h2>
46 href="{@docRoot}design/patterns/multi-pane-layouts.html">Multi-pane Layouts</a> pattern guide.</p>
55 …interface) design into a larger layout and how to address these issues with multi-pane layouts:</p>
59 …alt="Single pane layouts on large screens in landscape lead to awkward whitespace and exceedingly …
61 <p class="img-caption"><strong>Figure 1.</strong> Single pane layouts on large screens in landscape…
65 …alt="Multi-pane layouts in landscape offer better a visual balance while offering more utility and…
67 <p class="img-caption"><strong>Figure 2.</strong> Multi-pane layouts in landscape result in a bette…
70 …ch to draw the line between single-pane and multi-pane layouts, you can provide different layouts
[all …]
/frameworks/base/docs/html-intl/intl/ko/training/multiscreen/
Dscreensizes.jd235 <p><code>res/values/layouts.xml</code>:</p>
236 {@sample development/samples/training/multiscreen/newsreader/res/values/layouts.xml all}
238 <p><code>res/values-sw600dp-land/layouts.xml</code>:</p>
239 {@sample development/samples/training/multiscreen/newsreader/res/values-sw600dp-land/layouts.xml
242 <p><code>res/values-sw600dp-port/layouts.xml</code>:</p>
243 {@sample development/samples/training/multiscreen/newsreader/res/values-sw600dp-port/layouts.xml
246 <p><code>res/values-large-land/layouts.xml</code>:</p>
247 {@sample development/samples/training/multiscreen/newsreader/res/values-large-land/layouts.xml all}
249 <p><code>res/values-large-port/layouts.xml</code>:</p>
250 {@sample development/samples/training/multiscreen/newsreader/res/values-large-port/layouts.xml all}
/frameworks/base/docs/html-intl/intl/zh-cn/training/multiscreen/
Dscreensizes.jd235 <p><code>res/values/layouts.xml</code>:</p>
236 {@sample development/samples/training/multiscreen/newsreader/res/values/layouts.xml all}
238 <p><code>res/values-sw600dp-land/layouts.xml</code>:</p>
239 {@sample development/samples/training/multiscreen/newsreader/res/values-sw600dp-land/layouts.xml
242 <p><code>res/values-sw600dp-port/layouts.xml</code>:</p>
243 {@sample development/samples/training/multiscreen/newsreader/res/values-sw600dp-port/layouts.xml
246 <p><code>res/values-large-land/layouts.xml</code>:</p>
247 {@sample development/samples/training/multiscreen/newsreader/res/values-large-land/layouts.xml all}
249 <p><code>res/values-large-port/layouts.xml</code>:</p>
250 {@sample development/samples/training/multiscreen/newsreader/res/values-large-port/layouts.xml all}
/frameworks/base/docs/html-intl/intl/ja/training/multiscreen/
Dscreensizes.jd235 <p><code>res/values/layouts.xml</code>:</p>
236 {@sample development/samples/training/multiscreen/newsreader/res/values/layouts.xml all}
238 <p><code>res/values-sw600dp-land/layouts.xml</code>:</p>
239 {@sample development/samples/training/multiscreen/newsreader/res/values-sw600dp-land/layouts.xml
242 <p><code>res/values-sw600dp-port/layouts.xml</code>:</p>
243 {@sample development/samples/training/multiscreen/newsreader/res/values-sw600dp-port/layouts.xml
246 <p><code>res/values-large-land/layouts.xml</code>:</p>
247 {@sample development/samples/training/multiscreen/newsreader/res/values-large-land/layouts.xml all}
249 <p><code>res/values-large-port/layouts.xml</code>:</p>
250 {@sample development/samples/training/multiscreen/newsreader/res/values-large-port/layouts.xml all}
/frameworks/base/docs/html/training/wearables/ui/
Dindex.jd23 <a href="{@docRoot}training/wearables/apps/layouts.html#CustomNotifications">custom
36 provides classes that help you implement these patterns and create layouts that work on
46 <dt><a href="{@docRoot}training/wearables/ui/layouts.html">Defining Layouts</a></dt>
47 <dd>Learn how to create layouts that look good on round and square Android Wear devices.</dd>
49 <dd>Learn how to create cards with custom layouts.</dd>
Dlayouts.jd10 <li><a href="#different-layouts">Specify Different Layouts for Square and Round Screens</a></li>
29 <p>When you create layouts for Android Wear apps, you need to account for devices with square
31 Android Wear devices, so layouts designed for square screens do not work well on round devices.
61 <li>Define different layouts for square and round devices. Your app detects the shape
95 <h2 id="different-layouts">Specify Different Layouts for Square and Round Screens</h2>
142 <code>res/layout/round_activity_wear.xml</code>. You define these layouts in the same way that
143 you create layouts for handheld apps, but taking into account the constraints of wearable devices.
148 <p>The layouts that you specify for square or round screens are not inflated until
/frameworks/base/docs/html-intl/intl/ru/training/multiscreen/
Dscreensizes.jd235 <p><code>res/values/layouts.xml</code>:</p>
236 {@sample development/samples/training/multiscreen/newsreader/res/values/layouts.xml all}
238 <p><code>res/values-sw600dp-land/layouts.xml</code>:</p>
239 {@sample development/samples/training/multiscreen/newsreader/res/values-sw600dp-land/layouts.xml
242 <p><code>res/values-sw600dp-port/layouts.xml</code>:</p>
243 {@sample development/samples/training/multiscreen/newsreader/res/values-sw600dp-port/layouts.xml
246 <p><code>res/values-large-land/layouts.xml</code>:</p>
247 {@sample development/samples/training/multiscreen/newsreader/res/values-large-land/layouts.xml all}
249 <p><code>res/values-large-port/layouts.xml</code>:</p>
250 {@sample development/samples/training/multiscreen/newsreader/res/values-large-port/layouts.xml all}
/frameworks/base/docs/html/training/
Dbest-ui.jd8 <p>These classes teach you how to build a user interface using Android layouts for all types of
10 different layouts for different devices, create custom UI widgets, and even control aspects
/frameworks/base/docs/html/topic/performance/
Doptimizing-view-hierarchies.jd11 <li><a href="#managing">Managing complexity: layouts matter</a></li>
25 <li><a href="#removing">Removing redundant nested layouts</a></li>
75 <h3 id="managing">Managing complexity: layouts matter</h3>
112 standard layouts.
276 the layouts that your app constructs.
282 to identify deep chains of nested layouts, or layout areas with a large amount
309 <h3 id="removing">Removing redundant nested layouts</h3>
312 Developers often use more nested layouts than necessary. For example, a
324 One frequent cause of redundant nested layouts is the <a
325 href="{@docRoot}training/improving-layouts/reusing-layouts.html">
[all …]
/frameworks/base/docs/html/training/tv/start/
Dindex.jd28 devices, you must design new layouts that can be easily understood from 10 feet away, and provide
34 environment, basic requirements for layouts and navigation, as well as guidance on how to handle
57 <dt><a href="{@docRoot}training/tv/start/layouts.html">
59 <dd>Learn the minimum requirements for TV layouts and how to implement them.</dd>
Dlayouts.jd31 detail and color as a smaller device. These factors require you to create app layouts with TV
37 layouts in TV apps.
44 layouts in your TV apps. You should use a theme to modify the display of your app activities that
94 effective on large screens. Follow these tips to build landscape layouts optimized for TV screens:
98 <li>Build layouts with a landscape orientation. TV screens always display in landscape mode.</li>
162 widgets, as those layouts already incorporate overscan-safe margins.
197 For more information about density-independent pixels and building layouts to handle larger
214 provide low quality or small images in your layouts, they will appear pixelated, fuzzy, or
219 For more information on optimizing layouts and resources for large screens see
227 There are a few approaches to building layouts that you should avoid because they do not work
[all …]
/frameworks/base/docs/html-intl/intl/pt-br/training/material/
Dget-started.jd10 <li><a href="#Layouts">Projetar layouts</a></li>
32 Crie <strong>layouts</strong> de acordo com as orientações do Material Design.</li>
49 <p>Para atualizar um aplicativo existente para incorporar o Material Design, atualize os layouts
80 <h2 id="Layouts">Projetar layouts</h2>
82 <p>Além de aplicar e personalizar o tema do Material, os layouts devem estar em conformidade
84 layouts, dê atenção especial ao seguinte:</p>
99 <code>android:elevation</code> nos layouts:</p>
Dcompatibility.jd10 <li><a href="#Layouts">Fornecer layouts alternativos</a></li>
48 <h2 id="Layouts">Fornecer layouts alternativos</h2>
50 <p>Se os layouts que você projetou de acordo com as orientações do Material Design não usarem
52 versões antigas do Android. Caso contrário, você pode fornecer layouts alternativos. Você também po…
53 layouts alternativos para personalizar a aparência do seu aplicativo em versões anteriores do Andro…
/frameworks/base/core/java/com/android/internal/widget/
DPasswordEntryKeyboardHelper.java83 boolean useFullScreenWidth, int layouts[]) { in PasswordEntryKeyboardHelper() argument
89 if (layouts != null) { in PasswordEntryKeyboardHelper()
90 if (layouts.length != mLayouts.length) { in PasswordEntryKeyboardHelper()
94 mLayouts[i] = layouts[i]; in PasswordEntryKeyboardHelper()
/frameworks/base/docs/html/training/improving-layouts/
Dreusing-layouts.jd40 re-use complete layouts, you can use the {@code <include/>} and {@code <merge/>} tags
43 <p>Reusing layouts is particularly powerful as it allows you create reusable complex layouts. For
45 It also means that any elements of your application that are common across multiple layouts can be
123 re-used in multiple layouts, then the re-usable layout in which you place the two views requires its
Doptimizing-layout.jd7 next.link=reusing-layouts.html
38 layouts. However, each widget and layout you add to your application requires initialization,
66 of text on the right. It is especially important that layouts that will be inflated multiple
109 the root node allows for such layouts. So, when this design is converted to use {@link
145 <li>Deep layouts - Layouts with too much nesting are bad for performance. Consider using flatter la…
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DViewDataBinding.java1006 final String[] layouts = included.layouts[includedIndex]; in findIncludeIndex() local
1007 final int length = layouts.length; in findIncludeIndex()
1009 final String layout = layouts[i]; in findIncludeIndex()
1258 public final String[][] layouts; field in ViewDataBinding.IncludedLayouts
1263 layouts = new String[bindingCount][]; in IncludedLayouts()
1268 public void setIncludes(int index, String[] layouts, int[] indexes, int[] layoutIds) { in setIncludes() argument
1269 this.layouts[index] = layouts; in setIncludes()
/frameworks/base/docs/html/training/material/
Dget-started.jd32 Create your <strong>layouts</strong> following material design guidelines.</li>
49 <p>To update an existing app to incorporate material design, update your layouts following
83 <p>In addition to applying and customizing the material theme, your layouts should conform to
85 your layouts, pay special attention to the following:</p>
100 <code>android:elevation</code> attribute in your layouts:</p>
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java787 final List<KeyboardLayout> layouts = new ArrayList<>(); in getDefaultKeyboardLayout() local
802 layouts.add(layout); in getDefaultKeyboardLayout()
809 if (layouts.isEmpty()) { in getDefaultKeyboardLayout()
814 Collections.sort(layouts); in getDefaultKeyboardLayout()
816 final int N = layouts.size(); in getDefaultKeyboardLayout()
818 KeyboardLayout layout = layouts.get(i); in getDefaultKeyboardLayout()
831 KeyboardLayout layout = layouts.get(i); in getDefaultKeyboardLayout()
843 return layouts.get(0).getDescriptor(); in getDefaultKeyboardLayout()
1092 KeyboardLayout[] layouts = new KeyboardLayout[enabledLayoutSize + potentialLayoutSize]; in getKeyboardLayoutsForInputDevice() local
1093 enabledLayouts.toArray(layouts); in getKeyboardLayoutsForInputDevice()
[all …]
/frameworks/base/docs/html/training/basics/supporting-devices/
Dscreens.jd2 page.tags=layouts
14 <li><a href="#create-layouts">Create Different Layouts</a></li>
40 <p>To declare different layouts and bitmaps you'd like to use for different screens, you must place
49 <h2 id="create-layouts">Create Different Layouts</h2>
58 properly fit the screen. Thus, your layouts for different screen sizes don't
/frameworks/base/docs/html/training/tv/publishing/
Dchecklist.jd89 …<p>See <a href="{@docRoot}training/tv/start/layouts.html#structure">Build Basic TV Layouts</a>.</p>
94 …<p>See <a href="{@docRoot}training/tv/start/layouts.html#visibility">Build Useable Text and Contro…
99 …<p>See <a href="{@docRoot}training/tv/start/layouts.html#density-resources">Manage Layout Resource…
109 <p>See <a href="{@docRoot}training/tv/start/layouts.html#overscan">Overscan</a>.</p>
137 …<p>See <a href="{@docRoot}training/tv/start/layouts.html#advertising">Provide Effective Advertisin…
/frameworks/base/docs/html/design/tv/
Dstyle.jd16 things at better quality, rather than greater quantity. For example, use your layouts to show
22 library</a>. These layouts have been built specifically for use on TV devices with
27 <p>Here are some additional recommendations for creating functional and attractive layouts for TV
31 <li>Design layouts for landscape orientation. TV screens always use this
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dwidget_design.jd13 <li>App Widget layouts should be flexible, resizing to fit their parent container</li>
118 Layouts and Background Graphics</a> below, using nine-patch backgrounds and flexible layouts for app
255 <p>For the contents of the widget, you should use flexible layouts such as {@link
257 android.widget.FrameLayout}. Just as your activity layouts must adapt to different physical screen
258 sizes, widget layouts must adapt to different Home screen grid cell sizes.</p>
297 use flexible layouts attributes like so:</p>
301 alt="Excerpt flexible layouts and attributes for an example music widget"
304 <p class="img-caption"><strong>Figure 6.</strong> Excerpt flexible layouts and attributes.</p>

12345678