Home
last modified time | relevance | path

Searched refs:RelativeLayout (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/docs/html/guide/topics/ui/layout/
Drelative.jd14 <li>{@link android.widget.RelativeLayout}</li>
15 <li>{@link android.widget.RelativeLayout.LayoutParams}</li>
20 <p>{@link android.widget.RelativeLayout} is a view group that displays child views in relative
23 android.widget.RelativeLayout} area (such as aligned to the bottom, left or center).</p>
27 <p>A {@link android.widget.RelativeLayout} is a very powerful utility for designing a user interface
30 you may be able to replace them with a single {@link android.widget.RelativeLayout}.</p>
35 <p>{@link android.widget.RelativeLayout} lets child views specify their position relative to the
40 android.widget.RelativeLayout.LayoutParams}.</p>
42 <p>Some of the many layout properties available to views in a {@link android.widget.RelativeLayout}
46 href="{@docRoot}reference/android/widget/RelativeLayout.LayoutParams.html#attr_android:layout_align…
[all …]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DHitRectBug.java29 import android.widget.RelativeLayout;
40 public static class TestDrawingView extends RelativeLayout
73 RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(128, 128); in TestDrawingView()
74 params.addRule(RelativeLayout.CENTER_IN_PARENT); in TestDrawingView()
DInstanceTargets.java26 import static android.widget.RelativeLayout.ALIGN_PARENT_LEFT;
27 import static android.widget.RelativeLayout.ALIGN_PARENT_RIGHT;
28 import static android.widget.RelativeLayout.LayoutParams;
/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java28 import android.widget.RelativeLayout;
47 public class TextProgressBar extends RelativeLayout implements OnChronometerTickListener {
150 RelativeLayout.LayoutParams params; in onChronometerTick()
153 params = (RelativeLayout.LayoutParams) mProgressBar.getLayoutParams(); in onChronometerTick()
176 params = (RelativeLayout.LayoutParams) mChronometer.getLayoutParams(); in onChronometerTick()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DAlphaOptimizedRelativeLayout.java21 import android.widget.RelativeLayout;
27 public class AlphaOptimizedRelativeLayout extends RelativeLayout {
/frameworks/support/percent/src/android/support/percent/
DPercentRelativeLayout.java23 import android.widget.RelativeLayout;
65 public class PercentRelativeLayout extends RelativeLayout {
100 public static class LayoutParams extends RelativeLayout.LayoutParams
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBar.java43 import android.widget.RelativeLayout;
147 RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams( in createMenuPopup()
149 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_END); in createMenuPopup()
151 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM); in createMenuPopup()
154 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_TOP); in createMenuPopup()
DBridgeActionBar.java33 import android.widget.RelativeLayout;
76 mEnclosingLayout = new RelativeLayout(mBridgeContext); in BridgeActionBar()
/frameworks/base/core/tests/coretests/src/android/view/
DDrawableBgMinSize.java30 import android.widget.RelativeLayout;
48 private RelativeLayout mRelativeLayout;
66 mRelativeLayout = (RelativeLayout) findViewById(R.id.relative_layout); in onCreate()
DDrawableBgMinSizeTest.java31 import android.widget.RelativeLayout;
47 private RelativeLayout mRelativeLayout;
66 mRelativeLayout = (RelativeLayout) a.findViewById(R.id.relative_layout); in setUp()
DBitmapDrawable.java30 import android.widget.RelativeLayout;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DNonOverlappingRelativeLayout.java18 import android.widget.RelativeLayout;
20 class NonOverlappingRelativeLayout extends RelativeLayout {
DSearchBar.java45 import android.widget.RelativeLayout;
57 public class SearchBar extends RelativeLayout {
152 RelativeLayout.LayoutParams params = new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in SearchBar()
154 params.addRule(ALIGN_PARENT_TOP, RelativeLayout.TRUE); in SearchBar()
179 RelativeLayout items = (RelativeLayout)findViewById(R.id.lb_search_bar_items); in onFinishInflate()
/frameworks/base/core/java/android/widget/
DTwoLineListItem.java23 import android.widget.RelativeLayout;
44 public class TwoLineListItem extends RelativeLayout {
DRelativeLayout.java84 public class RelativeLayout extends ViewGroup { class
235 public RelativeLayout(Context context) { in RelativeLayout() method in RelativeLayout
239 public RelativeLayout(Context context, AttributeSet attrs) { in RelativeLayout() method in RelativeLayout
243 public RelativeLayout(Context context, AttributeSet attrs, int defStyleAttr) { in RelativeLayout() method in RelativeLayout
247 public RelativeLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in RelativeLayout() method in RelativeLayout
256 attrs, R.styleable.RelativeLayout, defStyleAttr, defStyleRes); in initFromAttributes()
885 RelativeLayout.LayoutParams anchorParams; in applyHorizontalSizeRules()
955 RelativeLayout.LayoutParams anchorParams; in applyVerticalSizeRules()
1077 RelativeLayout.LayoutParams st = in onLayout()
1078 (RelativeLayout.LayoutParams) child.getLayoutParams(); in onLayout()
[all …]
DTimePickerClockDelegate.java368 final RelativeLayout.LayoutParams params =
369 (RelativeLayout.LayoutParams) mAmPmLayout.getLayoutParams();
370 if (params.getRule(RelativeLayout.RIGHT_OF) != 0 ||
371 params.getRule(RelativeLayout.LEFT_OF) != 0) {
373 params.removeRule(RelativeLayout.RIGHT_OF);
374 params.addRule(RelativeLayout.LEFT_OF, mHourView.getId());
376 params.removeRule(RelativeLayout.LEFT_OF);
377 params.addRule(RelativeLayout.RIGHT_OF, mMinuteView.getId());
/frameworks/base/docs/html-intl/intl/ja/training/multiscreen/
Dscreensizes.jd19 <li><a href="#TaskUseRelativeLayout">RelativeLayout を使用する</a></li>
68 <h2 id="TaskUseRelativeLayout">RelativeLayout を使用する</h2>
70 …に並ぶだけです。子ビューに対して直線以外のさまざまな配置を実現する必要がある場合は、 <PH>{@link android.widget.RelativeLayout}</PH>を使用することでう…
76 &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
103 &lt;/RelativeLayout&gt;
116 <p>コンポーネントのサイズが変更されても、 <PH>{@link android.widget.RelativeLayout.LayoutParams}</PH>で指定されたとおりに空間的な位置関…
/frameworks/base/docs/html-intl/intl/ko/training/multiscreen/
Dscreensizes.jd19 <li><a href="#TaskUseRelativeLayout">RelativeLayout 사용</a></li>
68 <h2 id="TaskUseRelativeLayout">RelativeLayout 사용</h2>
70 … 하는 경우 구성요소 사이의 여백 관계를 중심으로 레이아웃을 지정할 수 있는 <PH>{@link android.widget.RelativeLayout}</PH>을 사용하는 것이…
76 &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
103 &lt;/RelativeLayout&gt;
116 <p>구성요소의 크기가 변하더라도 여백 관계가 <PH>{@link android.widget.RelativeLayout.LayoutParams}</PH>.</p>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java29 import android.widget.RelativeLayout;
44 public class KeyguardStatusBarView extends RelativeLayout
111 RelativeLayout.LayoutParams lp = in updateSystemIconsLayoutParams()
/frameworks/base/docs/html-intl/intl/ru/training/multiscreen/
Dscreensizes.jd19 <li><a href="#TaskUseRelativeLayout">Использование объекта RelativeLayout</a></li>
68 <h2 id="TaskUseRelativeLayout">Использование объекта RelativeLayout</h2>
70 …ставления иным образом, используйте объект <PH>{@link android.widget.RelativeLayout}</PH>, позволя…
76 &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
103 &lt;/RelativeLayout&gt;
116 …ается прежним, так как оно задано объектом <PH>{@link android.widget.RelativeLayout.LayoutParams}<…
/frameworks/base/docs/html/training/basics/actionbar/
Doverlaying.jd121 &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
126 &lt;/RelativeLayout>
134 &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
139 &lt;/RelativeLayout>
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DToggleSlider.java27 import android.widget.RelativeLayout;
35 public class ToggleSlider extends RelativeLayout {
/frameworks/support/percent/api/
Dcurrent.txt49 public class PercentRelativeLayout extends android.widget.RelativeLayout {
55 …public static class PercentRelativeLayout.LayoutParams extends android.widget.RelativeLayout.Layou…
D23.txt49 public class PercentRelativeLayout extends android.widget.RelativeLayout {
55 …public static class PercentRelativeLayout.LayoutParams extends android.widget.RelativeLayout.Layou…
/frameworks/base/docs/html-intl/intl/zh-cn/training/multiscreen/
Dscreensizes.jd70 …排列出。如果您需要将子视图排列出各种效果而不是一条直线,通常更合适的解决方法是使用 <PH>{@link android.widget.RelativeLayout}</PH>,这样您就可以根据…
76 &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
103 &lt;/RelativeLayout&gt;
116 <p>请注意,虽然组件的尺寸有所变化,但它们的空间关系仍会保留,具体由 <PH>{@link android.widget.RelativeLayout.LayoutParams}</PH> 指定…

123