Home
last modified time | relevance | path

Searched refs:lt (Results 1 – 25 of 510) sorted by relevance

12345678910>>...21

/frameworks/base/docs/html/training/basics/actionbar/
Dstyling.jd78 &lt;application>}</a> element or individual
79 <a href="{@docRoot}guide/topics/manifest/application-element.html">{@code &lt;activity>}</a>
84 &lt;application android:theme="@android:style/Theme.Holo.Light" ... />
145 &lt;?xml version="1.0" encoding="utf-8"?>
146 &lt;resources>
147 &lt;!-- the theme applied to the application or activity -->
148 &lt;style name="CustomActionBarTheme"
150 &lt;item name="android:actionBarStyle">&#64;style/MyActionBar&lt;/item>
151 &lt;/style>
153 &lt;!-- ActionBar styles -->
[all …]
Doverlaying.jd74 &lt;resources>
75 &lt;!-- the theme applied to the application or activity -->
76 &lt;style name="CustomActionBarTheme"
78 &lt;item name="android:windowActionBarOverlay">true&lt;/item>
79 &lt;/style>
80 &lt;/resources>
92 &lt;resources>
93 &lt;!-- the theme applied to the application or activity -->
94 &lt;style name="CustomActionBarTheme"
96 &lt;item name="android:windowActionBarOverlay">true&lt;/item>
[all …]
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgrid.jd42 &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
43 &lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
47 &lt;TableRow>
48 &lt;TextView
51 &lt;TextView
55 &lt;/TableRow>
57 &lt;TableRow>
58 &lt;TextView
61 &lt;TextView
65 &lt;/TableRow>
[all …]
/frameworks/base/docs/html/guide/topics/resources/
Dmore-resources.jd37 under one {@code &lt;resources>} element.</p>
43 The filename is arbitrary. The {@code &lt;bool>} element's {@code name} will be used as the resource
55 &lt;?xml version="1.0" encoding="utf-8"?>
56 &lt;<a href="#bool-resources-element">resources</a>&gt;
57 &lt;<a href="#bool-element">bool</a>
59 &gt;[true | false]&lt;/bool>
60 &lt;/resources>
68 <dt id="bool-resources-element"><code>&lt;resources&gt;</code></dt>
72 <dt id="bool-element"><code>&lt;bool&gt;</code></dt>
87 &lt;?xml version="1.0" encoding="utf-8"?>
[all …]
Dstyle-resource.jd26 under one {@code &lt;resources>} element.</p>
42 &lt;?xml version="1.0" encoding="utf-8"?>
43 &lt;<a href="#resources-element">resources</a>>
44 &lt;<a href="#style-element">style</a>
47 &lt;<a href="#item-element">item</a>
49 &gt;<em>style_value</em>&lt;/item>
50 &lt;/style>
51 &lt;/resources>
59 <dt id="resources-element"><code>&lt;resources&gt;</code></dt>
63 <dt id="style-element"><code>&lt;style&gt;</code></dt>
[all …]
Dstring-resource.jd31 under one {@code &lt;resources>} element.</p>
37 The filename is arbitrary. The {@code &lt;string>} element's {@code name} will be used as the
52 &lt;?xml version="1.0" encoding="utf-8"?>
53 &lt;<a href="#string-resources-element">resources</a>>
54 &lt;<a href="#string-element">string</a>
56 &gt;<em>text_string</em>&lt;/string&gt;
57 &lt;/resources>
65 <dt id="string-resources-element"><code>&lt;resources&gt;</code></dt>
69 <dt id="string-element"><code>&lt;string&gt;</code></dt>
87 &lt;?xml version="1.0" encoding="utf-8"?>
[all …]
/frameworks/base/docs/html/guide/topics/manifest/
Dmanifest-intro.jd73 &lt;?xml version="1.0" encoding="utf-8"?&gt;
75 <a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a>
77 …<a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission /&gt;</…
78 <a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission /&gt;</a>
79 …<a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree /&gt;</…
80 …<a href="{@docRoot}guide/topics/manifest/permission-group-element.html">&lt;permission-group /&gt;…
81 …<a href="{@docRoot}guide/topics/manifest/instrumentation-element.html">&lt;instrumentation /&gt;</…
82 <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html">&lt;uses-sdk /&gt;</a>
83 …<a href="{@docRoot}guide/topics/manifest/uses-configuration-element.html">&lt;uses-configuration /…
84 …<a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature /&gt;</a> <!…
[all …]
Dcompatible-screens-element.jd1 page.title=&lt;compatible-screens&gt;
10 &lt;<a href="#compatible-screens">compatible-screens</a>&gt;
11 …&lt;<a href="#screen">screen</a> android:<a href="#screenSize">screenSize</a>=["small" | "normal" …
14 &lt;/compatible-screens&gt;
20 href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code></dd>
24 of the {@code &lt;compatible-screens&gt;} element is allowed in the manifest, but it can
25 contain multiple <code>&lt;screen&gt;</code> elements. Each <code>&lt;screen&gt;</code> element
28 <p>The Android system <em>does not</em> read the {@code &lt;compatible-screens&gt;} manifest
48 &lt;supports-screens&gt;}</a> element. For example, if you want your application to be available
51 &lt;supports-screens&gt;}</a> element allows you to declare that your application does not
[all …]
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/
Dnavigation.jd62 &lt;TextView android:id="&#64;+id/Category1"
114 &lt;!-- res/drawable/button.xml --&gt;
115 &lt;?xml version="1.0" encoding="utf-8"?&gt;
116 &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
117 &lt;item android:state_pressed="true"
118 android:drawable="@drawable/button_pressed" /&gt; &lt;!-- pressed --&gt;
119 &lt;item android:state_focused="true"
120 android:drawable="@drawable/button_focused" /&gt; &lt;!-- focused --&gt;
121 &lt;item android:state_hovered="true"
122 android:drawable="@drawable/button_focused" /&gt; &lt;!-- hovered --&gt;
[all …]
Dstart.jd75 &lt;application
78 &lt;activity
82 &lt;intent-filter&gt;
83 &lt;action android:name="android.intent.action.MAIN" /&gt;
84 &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
85 &lt;/intent-filter&gt;
86 &lt;/activity&gt;
88 &lt;activity
93 &lt;intent-filter&gt;
94 &lt;action android:name="android.intent.action.MAIN" /&gt;
[all …]
/frameworks/base/docs/html/training/improving-layouts/
Dreusing-layouts.jd1 page.title=Re-using Layouts with &lt;include/&gt;
21 <li><a href="#Include">Use the &lt;include&gt; Tag</a></li>
22 <li><a href="#Merge">Use the &lt;merge&gt; Tag</a></li>
40 re-use complete layouts, you can use the {@code &lt;include/&gt;} and {@code &lt;merge/&gt;} tags
58 &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
63 &lt;ImageView android:layout_width="wrap_content"
66 &lt;/FrameLayout>
73 <h2 id="Include">Use the &lt;include&gt; Tag</h2>
76 &lt;include/&gt;} tag. For example, here's a layout from the
82 &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
[all …]
/frameworks/base/docs/html/training/basics/supporting-devices/
Dlanguages.jd72 &lt;?xml version="1.0" encoding="utf-8"?>
73 &lt;resources>
74 &lt;string name="title">My Application&lt;/string>
75 &lt;string name="hello_world">Hello World!&lt;/string>
76 &lt;/resources>
83 &lt;?xml version="1.0" encoding="utf-8"?>
84 &lt;resources>
85 &lt;string name="title">Mi Aplicación&lt;/string>
86 &lt;string name="hello_world">Hola Mundo!&lt;/string>
87 &lt;/resources>
[all …]
/frameworks/base/docs/html/tools/help/
Demulator.jd139 <pre>emulator -avd &lt;avd_name&gt; [-&lt;option&gt; [&lt;value&gt;]] ... [-&lt;qemu args&gt;]</pre>
152 <td><code>-avd &lt;avd_name&gt;</code> or <br>
153 <code>@&lt;avd_name&gt;</code></td>
161 <td><code>-cache&nbsp;&lt;filepath&gt;</code></td>
162 <td>Use &lt;filepath&gt; as the working cache partition image. </td>
168 <td><code>-data&nbsp;&lt;filepath&gt;</code></td>
169 <td>Use {@code &lt;filepath&gt;} as the working user-data disk image. </td>
176 <td><code>-datadir &lt;dir&gt;</code></td>
177 <td>Search for the user-data disk image specified in <code>-data</code> in &lt;dir&gt;</td>
178 <td><code>&lt;dir&gt;</code> is a path relative to the current working directory.
[all …]
Dandroid.jd84 <td><code>-n &lt;name&gt;</code></td>
92 <td><code>-t &lt;targetID&gt;</code></td>
101 <td><code>-c &lt;path&gt;|&lt;size&gt;[K|M]</code></td>
119 <td><code>-p &lt;path&gt;</code></td>
127 <td><code>-s &lt;name&gt;|&lt;width&gt;-&lt;height&gt;</code></td>
131 the target referenced in the <code>-t &lt;targetID&gt;</code> argument. For example, <code>-s
140 <td><code>-n &lt;name&gt;</code></td>
150 <td><code>-n &lt;name&gt;</code></td>
158 <td><code>-p &lt;path&gt;</code></td>
166 <td><code>-r &lt;new-name&gt;</code></td>
[all …]
Dadb.jd50 <p>You can find the {@code adb} tool in {@code &lt;sdk&gt;/platform-tools/}.</p>
109 adb [-d|-e|-s &lt;serialNumber&gt;] &lt;command&gt;
146 <td><code>-s&nbsp;&lt;serialNumber&gt;</code></td>
187 <td>You can use the <code>forward jdwp:&lt;pid&gt;</code> port-forwarding specification to connect …
195 <td><code>install&nbsp;&lt;path-to-apk&gt;</code></td>
201 <td><code>pull&nbsp;&lt;remote&gt;&nbsp;&lt;local&gt;</code></td>
207 <td><code>push&nbsp;&lt;local&gt;&nbsp;&lt;remote&gt;</code></td>
214 <td><code>forward&nbsp;&lt;local&gt;&nbsp;&lt;remote&gt;</code></td>
217 <ul><li><code>tcp:&lt;portnum&gt;</code></li>
218 <li><code>local:&lt;UNIX domain socket name&gt;</code></li>
[all …]
/frameworks/base/docs/html/guide/topics/ui/controls/
Dspinner.jd30 should usually do so in your XML layout with a {@code &lt;Spinner&gt;} element. For example:</p>
33 &lt;Spinner
56 &lt;?xml version="1.0" encoding="utf-8"?>
57 &lt;resources>
58 &lt;string-array name="planets_array">
59 &lt;item>Mercury&lt;/item>
60 &lt;item>Venus&lt;/item>
61 &lt;item>Earth&lt;/item>
62 &lt;item>Mars&lt;/item>
63 &lt;item>Jupiter&lt;/item>
[all …]
/frameworks/base/docs/html-intl/intl/ja/guide/publishing/
Dversioning.jd58 <p>値は文字列なので、アプリケーション バージョンを「&lt;major&gt;.&lt;minor&gt;.&lt;point&gt;」といった文字列や、その他のタイプの絶対的または相対的バージ…
64 <p>これらのバージョン属性の両方をマニフェスト ファイルの <code>&lt;manifest&gt;</code> 要素で定義します。 </p>
66 <p>ここに、<code>&lt;manifest&gt;</code> 要素の <code>android:versionCode</code> と <code>android:versionNa…
69 &lt;?xml version="1.0" encoding="utf-8"?&gt;
70 &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
74 &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
76 &lt;/application&gt;
77 &lt;/manifest&gt;
98 <p>アプリケーションに最小プラットフォーム バージョンを指定するには、<code>&lt;uses-sdk&gt;</code> 要素を <code>&lt;manifest&gt;</code>…
/frameworks/base/docs/html/training/material/
Danimations.jd203 &lt;style name="BaseAppTheme" parent="android:Theme.Material">
204 &lt;!-- enable window content transitions -->
205 &lt;item name="android:windowContentTransitions">true&lt;/item>
207 &lt;!-- specify enter and exit transitions -->
208 &lt;item name="android:windowEnterTransition">@transition/explode&lt;/item>
209 &lt;item name="android:windowExitTransition">@transition/explode&lt;/item>
211 &lt;!-- specify shared element transitions -->
212 &lt;item name="android:windowSharedElementEnterTransition">
213 &#64;transition/change_image_transform&lt;/item>
214 &lt;item name="android:windowSharedElementExitTransition">
[all …]
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dbattery-monitoring.jd67 <pre>&lt;receiver android:name=".PowerConnectionReceiver">
68 &lt;intent-filter>
69 &lt;action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
70 &lt;action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
71 &lt;/intent-filter>
72 &lt;/receiver></pre>
110 <pre>&lt;receiver android:name=".BatteryLevelReceiver">
111 &lt;intent-filter>
112 &lt;action android:name="android.intent.action.ACTION_BATTERY_LOW"/>
113 &lt;action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
[all …]
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dbattery-monitoring.jd67 <pre>&lt;receiver android:name=".PowerConnectionReceiver">
68 &lt;intent-filter>
69 &lt;action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
70 &lt;action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
71 &lt;/intent-filter>
72 &lt;/receiver></pre>
110 <pre>&lt;receiver android:name=".BatteryLevelReceiver">
111 &lt;intent-filter>
112 &lt;action android:name="android.intent.action.ACTION_BATTERY_LOW"/>
113 &lt;action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dbattery-monitoring.jd67 <pre>&lt;receiver android:name=".PowerConnectionReceiver">
68 &lt;intent-filter>
69 &lt;action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
70 &lt;action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
71 &lt;/intent-filter>
72 &lt;/receiver></pre>
110 <pre>&lt;receiver android:name=".BatteryLevelReceiver">
111 &lt;intent-filter>
112 &lt;action android:name="android.intent.action.ACTION_BATTERY_LOW"/>
113 &lt;action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
[all …]
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dbattery-monitoring.jd67 <pre>&lt;receiver android:name=".PowerConnectionReceiver">
68 &lt;intent-filter>
69 &lt;action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
70 &lt;action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
71 &lt;/intent-filter>
72 &lt;/receiver></pre>
110 <pre>&lt;receiver android:name=".BatteryLevelReceiver">
111 &lt;intent-filter>
112 &lt;action android:name="android.intent.action.ACTION_BATTERY_LOW"/>
113 &lt;action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
[all …]
/frameworks/base/docs/html/training/app-indexing/
Denabling-app-indexing.jd31 …" class="external-link" target="_blank">Sitemap</a> file or in the {@code &lt;head&gt;} element of…
37 android-app://&lt;package_name&gt;/&lt;scheme&gt;/&lt;host_path&gt;
52 {@code &lt;xhtml:link&gt;} tag and specify the deep link as an alternate URI.</p>
54 your web page by using the {@code &lt;loc&gt;} tag, and a corresponding deep
55 link to your Android app by using the {@code &lt;xhtml:link&gt;} tag.</p>
57 &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
58 &lt;urlset
61 &lt;url&gt;
62 &lt;loc&gt;example://gizmos&lt;/loc&gt;
63 &lt;xhtml:link
[all …]
/frameworks/base/docs/html/guide/topics/ui/
Dthemes.jd48 &lt;TextView
57 &lt;TextView
80 <p>The root node of the XML file must be {@code &lt;resources&gt;}.</p>
82 <p>For each style you want to create, add a {@code &lt;style>} element to the file
84 Then add an {@code &lt;item>} element for each property of that style, with a
86 is required). The value for the {@code &lt;item>} can
92 &lt;?xml version="1.0" encoding="utf-8"?>
93 &lt;resources&gt;
94 &lt;style name="CodeFont" parent="@android:style/TextAppearance.Medium"&gt;
95 &lt;item name="android:layout_width"&gt;fill_parent&lt;/item&gt;
[all …]
/frameworks/base/docs/html/training/animation/
Dcardflip.jd98 &lt;set xmlns:android="http://schemas.android.com/apk/res/android"&gt;
99 &lt;!-- Before rotating, immediately set the alpha to 0. --&gt;
100 &lt;objectAnimator
106 &lt;!-- Rotate. --&gt;
107 &lt;objectAnimator
114 &lt;!-- Half-way through the rotation (see startOffset), set the alpha to 1. --&gt;
115 &lt;objectAnimator
121 &lt;/set&gt;
127 &lt;set xmlns:android="http://schemas.android.com/apk/res/android"&gt;
128 &lt;!-- Rotate. --&gt;
[all …]

12345678910>>...21