summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/java/android/service/wallpaper/WallpaperService.java2
-rw-r--r--core/java/android/view/SurfaceView.java2
-rw-r--r--core/java/android/webkit/ZoomControlEmbedded.java2
-rw-r--r--core/java/android/widget/FrameLayout.java2
-rw-r--r--core/java/android/widget/PopupWindow.java8
-rw-r--r--core/java/android/widget/ProgressBar.java2
-rw-r--r--core/java/android/widget/ZoomButtonsController.java2
-rw-r--r--core/java/com/android/internal/view/menu/ActionMenuItemView.java2
-rw-r--r--core/java/com/android/internal/view/menu/IconMenuItemView.java2
-rw-r--r--core/java/com/android/internal/widget/ScrollingTabContainerView.java2
-rw-r--r--core/java/com/android/internal/widget/TextProgressBar.java2
-rw-r--r--core/res/res/layout-land/ssl_certificate.xml88
-rw-r--r--core/res/res/layout-land/usb_storage_activity.xml8
-rw-r--r--core/res/res/layout-large/action_mode_close_item.xml8
-rw-r--r--core/res/res/layout-sw600dp/keyguard.xml4
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_glogin_unlock.xml16
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_lock.xml10
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml10
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml10
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_sim_pin_landscape.xml18
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_sim_pin_portrait.xml6
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_status_land.xml6
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_status_port.xml6
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml6
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml14
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_unlock_landscape.xml12
-rw-r--r--core/res/res/layout-sw600dp/keyguard_screen_unlock_portrait.xml12
-rw-r--r--core/res/res/layout-sw600dp/keyguard_transport_control.xml4
-rw-r--r--core/res/res/layout-sw720dp/status_bar_latest_event_ticker.xml2
-rw-r--r--core/res/res/layout-sw720dp/status_bar_latest_event_ticker_large_icon.xml6
-rw-r--r--core/res/res/layout-w600dp/preference_list_content_single.xml8
-rw-r--r--core/res/res/layout-xlarge/activity_list.xml14
-rw-r--r--core/res/res/layout-xlarge/breadcrumbs_in_fragment.xml6
-rw-r--r--core/res/res/layout-xlarge/select_dialog_holo.xml4
-rw-r--r--core/res/res/layout-xlarge/select_dialog_item_holo.xml4
-rw-r--r--core/res/res/layout-xlarge/select_dialog_multichoice_holo.xml4
-rw-r--r--core/res/res/layout-xlarge/select_dialog_singlechoice_holo.xml4
-rw-r--r--core/res/res/layout/action_bar_title_item.xml4
-rw-r--r--core/res/res/layout/action_menu_item_layout.xml4
-rw-r--r--core/res/res/layout/action_mode_close_item.xml4
-rw-r--r--core/res/res/layout/activity_chooser_view.xml8
-rw-r--r--core/res/res/layout/activity_chooser_view_list_item.xml6
-rw-r--r--core/res/res/layout/activity_list_item.xml6
-rw-r--r--core/res/res/layout/activity_list_item_2.xml4
-rw-r--r--core/res/res/layout/adaptive_notification_wrapper.xml4
-rw-r--r--core/res/res/layout/alert_dialog.xml22
-rw-r--r--core/res/res/layout/alert_dialog_holo.xml20
-rw-r--r--core/res/res/layout/alert_dialog_progress.xml16
-rw-r--r--core/res/res/layout/alert_dialog_progress_holo.xml16
-rw-r--r--core/res/res/layout/always_use_checkbox.xml6
-rw-r--r--core/res/res/layout/am_compat_mode_dialog.xml6
-rw-r--r--core/res/res/layout/app_permission_item.xml10
-rw-r--r--core/res/res/layout/app_permission_item_old.xml10
-rwxr-xr-xcore/res/res/layout/app_perms_summary.xml18
-rw-r--r--core/res/res/layout/auto_complete_list.xml2
-rw-r--r--core/res/res/layout/browser_link_context_header.xml4
-rw-r--r--core/res/res/layout/calendar_view.xml4
-rw-r--r--core/res/res/layout/character_picker.xml6
-rw-r--r--core/res/res/layout/choose_account.xml4
-rw-r--r--core/res/res/layout/choose_account_row.xml6
-rw-r--r--core/res/res/layout/choose_account_type.xml6
-rw-r--r--core/res/res/layout/choose_type_and_account.xml6
-rw-r--r--core/res/res/layout/date_picker.xml14
-rw-r--r--core/res/res/layout/date_picker_holo.xml16
-rw-r--r--core/res/res/layout/dialog_custom_title.xml4
-rw-r--r--core/res/res/layout/dialog_custom_title_holo.xml2
-rw-r--r--core/res/res/layout/dialog_title.xml4
-rw-r--r--core/res/res/layout/dialog_title_holo.xml6
-rw-r--r--core/res/res/layout/dialog_title_icons.xml8
-rw-r--r--core/res/res/layout/dialog_title_icons_holo.xml8
-rw-r--r--core/res/res/layout/fragment_bread_crumb_item.xml4
-rw-r--r--core/res/res/layout/global_actions_item.xml4
-rw-r--r--core/res/res/layout/global_actions_silent_mode.xml12
-rw-r--r--core/res/res/layout/grant_credentials_permission.xml26
-rw-r--r--core/res/res/layout/heavy_weight_switcher.xml16
-rw-r--r--core/res/res/layout/icon_menu_item_layout.xml4
-rw-r--r--core/res/res/layout/input_method_extract_view.xml4
-rw-r--r--core/res/res/layout/input_method_switch_dialog_title.xml10
-rw-r--r--core/res/res/layout/keyboard_popup_keyboard.xml2
-rw-r--r--core/res/res/layout/keyguard.xml4
-rw-r--r--core/res/res/layout/keyguard_screen_glogin_unlock.xml16
-rw-r--r--core/res/res/layout/keyguard_screen_lock.xml10
-rw-r--r--core/res/res/layout/keyguard_screen_password_landscape.xml22
-rw-r--r--core/res/res/layout/keyguard_screen_password_portrait.xml26
-rw-r--r--core/res/res/layout/keyguard_screen_sim_pin_landscape.xml18
-rw-r--r--core/res/res/layout/keyguard_screen_sim_pin_portrait.xml6
-rw-r--r--core/res/res/layout/keyguard_screen_sim_puk_landscape.xml30
-rw-r--r--core/res/res/layout/keyguard_screen_sim_puk_portrait.xml26
-rw-r--r--core/res/res/layout/keyguard_screen_tab_unlock.xml20
-rw-r--r--core/res/res/layout/keyguard_screen_tab_unlock_land.xml16
-rw-r--r--core/res/res/layout/keyguard_screen_unlock_landscape.xml26
-rw-r--r--core/res/res/layout/keyguard_screen_unlock_portrait.xml20
-rw-r--r--core/res/res/layout/keyguard_transport_control.xml4
-rw-r--r--core/res/res/layout/list_menu_item_icon.xml4
-rw-r--r--core/res/res/layout/list_menu_item_layout.xml8
-rw-r--r--core/res/res/layout/locale_picker_item.xml4
-rw-r--r--core/res/res/layout/media_controller.xml12
-rw-r--r--core/res/res/layout/media_route_chooser_layout.xml4
-rw-r--r--core/res/res/layout/media_route_list_item.xml6
-rw-r--r--core/res/res/layout/media_route_list_item_checkable.xml8
-rw-r--r--core/res/res/layout/media_route_list_item_collapse_group.xml4
-rw-r--r--core/res/res/layout/media_route_list_item_section_header.xml4
-rw-r--r--core/res/res/layout/media_route_list_item_top_header.xml4
-rw-r--r--core/res/res/layout/menu_item.xml16
-rw-r--r--core/res/res/layout/notification_action.xml4
-rw-r--r--core/res/res/layout/notification_action_tombstone.xml4
-rw-r--r--core/res/res/layout/notification_intruder_content.xml2
-rw-r--r--core/res/res/layout/notification_template_base.xml16
-rw-r--r--core/res/res/layout/notification_template_big_base.xml28
-rw-r--r--core/res/res/layout/notification_template_big_picture.xml2
-rw-r--r--core/res/res/layout/notification_template_big_text.xml20
-rw-r--r--core/res/res/layout/notification_template_inbox.xml52
-rw-r--r--core/res/res/layout/notification_template_part_chronometer.xml2
-rw-r--r--core/res/res/layout/notification_template_part_time.xml2
-rw-r--r--core/res/res/layout/permissions_account_and_authtokentype.xml14
-rw-r--r--core/res/res/layout/permissions_package_list_item.xml6
-rw-r--r--core/res/res/layout/popup_menu_item_layout.xml8
-rw-r--r--core/res/res/layout/preference.xml8
-rw-r--r--core/res/res/layout/preference_category_holo.xml4
-rw-r--r--core/res/res/layout/preference_child.xml8
-rw-r--r--core/res/res/layout/preference_child_holo.xml10
-rw-r--r--core/res/res/layout/preference_header_item.xml12
-rw-r--r--core/res/res/layout/preference_holo.xml10
-rw-r--r--core/res/res/layout/preference_information.xml8
-rw-r--r--core/res/res/layout/preference_information_holo.xml10
-rw-r--r--core/res/res/layout/preference_list_content.xml12
-rw-r--r--core/res/res/layout/preference_list_content_single.xml4
-rw-r--r--core/res/res/layout/preference_list_fragment.xml8
-rw-r--r--core/res/res/layout/preference_widget_seekbar.xml14
-rw-r--r--core/res/res/layout/preferences.xml2
-rw-r--r--core/res/res/layout/progress_dialog.xml6
-rw-r--r--core/res/res/layout/progress_dialog_holo.xml2
-rw-r--r--core/res/res/layout/resolve_list_item.xml8
-rw-r--r--core/res/res/layout/resolver_grid.xml4
-rw-r--r--core/res/res/layout/screen.xml20
-rw-r--r--core/res/res/layout/screen_progress.xml14
-rw-r--r--core/res/res/layout/screen_title_icons.xml20
-rw-r--r--core/res/res/layout/search_dropdown_item_icons_2line.xml18
-rw-r--r--core/res/res/layout/search_view.xml22
-rw-r--r--core/res/res/layout/select_dialog_item.xml4
-rw-r--r--core/res/res/layout/select_dialog_item_holo.xml4
-rw-r--r--core/res/res/layout/select_dialog_multichoice.xml4
-rw-r--r--core/res/res/layout/select_dialog_multichoice_holo.xml4
-rw-r--r--core/res/res/layout/select_dialog_singlechoice.xml4
-rw-r--r--core/res/res/layout/select_dialog_singlechoice_holo.xml4
-rw-r--r--core/res/res/layout/simple_dropdown_hint.xml4
-rw-r--r--core/res/res/layout/simple_dropdown_item_2line.xml2
-rw-r--r--core/res/res/layout/simple_expandable_list_item_1.xml2
-rw-r--r--core/res/res/layout/simple_expandable_list_item_2.xml4
-rw-r--r--core/res/res/layout/simple_list_item_1.xml4
-rw-r--r--core/res/res/layout/simple_list_item_2.xml4
-rw-r--r--core/res/res/layout/simple_list_item_2_single_choice.xml10
-rw-r--r--core/res/res/layout/simple_list_item_activated_1.xml4
-rw-r--r--core/res/res/layout/simple_list_item_activated_2.xml4
-rw-r--r--core/res/res/layout/simple_list_item_checked.xml4
-rw-r--r--core/res/res/layout/simple_list_item_multiple_choice.xml4
-rw-r--r--core/res/res/layout/simple_list_item_single_choice.xml4
-rw-r--r--core/res/res/layout/simple_selectable_list_item.xml4
-rw-r--r--core/res/res/layout/ssl_certificate.xml110
-rw-r--r--core/res/res/layout/tab_indicator.xml4
-rw-r--r--core/res/res/layout/text_edit_action_popup_text.xml4
-rw-r--r--core/res/res/layout/text_edit_no_paste_window.xml4
-rw-r--r--core/res/res/layout/text_edit_paste_window.xml4
-rw-r--r--core/res/res/layout/text_edit_side_no_paste_window.xml4
-rw-r--r--core/res/res/layout/text_edit_side_paste_window.xml4
-rw-r--r--core/res/res/layout/text_edit_suggestion_item.xml6
-rw-r--r--core/res/res/layout/time_picker.xml8
-rw-r--r--core/res/res/layout/time_picker_holo.xml12
-rw-r--r--core/res/res/layout/twelve_key_entry.xml64
-rw-r--r--core/res/res/layout/usb_storage_activity.xml8
-rw-r--r--core/res/res/layout/volume_adjust_item.xml4
-rw-r--r--core/res/res/layout/webview_find.xml2
-rw-r--r--core/res/res/layout/zoom_browser_accessory_buttons.xml8
-rw-r--r--core/res/res/layout/zoom_magnify.xml4
-rw-r--r--core/res/res/values-sw720dp/styles.xml4
-rw-r--r--core/res/res/values/styles.xml78
-rw-r--r--core/tests/coretests/src/android/util/ListItemFactory.java2
-rw-r--r--core/tests/coretests/src/android/widget/focus/VerticalFocusSearch.java2
-rw-r--r--services/java/com/android/server/am/ActivityManagerService.java2
-rwxr-xr-xservices/java/com/android/server/wm/WindowManagerService.java4
180 files changed, 893 insertions, 893 deletions
diff --git a/core/java/android/service/wallpaper/WallpaperService.java b/core/java/android/service/wallpaper/WallpaperService.java
index 3b26af7..f8501a9 100644
--- a/core/java/android/service/wallpaper/WallpaperService.java
+++ b/core/java/android/service/wallpaper/WallpaperService.java
@@ -607,7 +607,7 @@ public abstract class WallpaperService extends Service {
if (!mCreated) {
mLayout.type = mIWallpaperEngine.mWindowType;
- mLayout.gravity = Gravity.LEFT|Gravity.TOP;
+ mLayout.gravity = Gravity.START|Gravity.TOP;
mLayout.setTitle(WallpaperService.this.getClass().getName());
mLayout.windowAnimations =
com.android.internal.R.style.Animation_Wallpaper;
diff --git a/core/java/android/view/SurfaceView.java b/core/java/android/view/SurfaceView.java
index fd302dc..5d51670 100644
--- a/core/java/android/view/SurfaceView.java
+++ b/core/java/android/view/SurfaceView.java
@@ -458,7 +458,7 @@ public class SurfaceView extends View {
if (mWindow == null) {
mWindow = new MyWindow(this);
mLayout.type = mWindowType;
- mLayout.gravity = Gravity.LEFT|Gravity.TOP;
+ mLayout.gravity = Gravity.START|Gravity.TOP;
mSession.addWithoutInputChannel(mWindow, mWindow.mSeq, mLayout,
mVisible ? VISIBLE : GONE, mContentInsets);
}
diff --git a/core/java/android/webkit/ZoomControlEmbedded.java b/core/java/android/webkit/ZoomControlEmbedded.java
index d2a0561..ae19832 100644
--- a/core/java/android/webkit/ZoomControlEmbedded.java
+++ b/core/java/android/webkit/ZoomControlEmbedded.java
@@ -90,7 +90,7 @@ class ZoomControlEmbedded implements ZoomControlBase {
View controls = mZoomButtonsController.getZoomControls();
ViewGroup.LayoutParams params = controls.getLayoutParams();
if (params instanceof FrameLayout.LayoutParams) {
- ((FrameLayout.LayoutParams) params).gravity = Gravity.RIGHT;
+ ((FrameLayout.LayoutParams) params).gravity = Gravity.END;
}
}
return mZoomButtonsController;
diff --git a/core/java/android/widget/FrameLayout.java b/core/java/android/widget/FrameLayout.java
index 1893620..a025610 100644
--- a/core/java/android/widget/FrameLayout.java
+++ b/core/java/android/widget/FrameLayout.java
@@ -55,7 +55,7 @@ import android.widget.RemoteViews.RemoteView;
*/
@RemoteView
public class FrameLayout extends ViewGroup {
- private static final int DEFAULT_CHILD_GRAVITY = Gravity.TOP | Gravity.LEFT;
+ private static final int DEFAULT_CHILD_GRAVITY = Gravity.TOP | Gravity.START;
@ViewDebug.ExportedProperty(category = "measurement")
boolean mMeasureAllChildren = false;
diff --git a/core/java/android/widget/PopupWindow.java b/core/java/android/widget/PopupWindow.java
index f442912..af3365e 100644
--- a/core/java/android/widget/PopupWindow.java
+++ b/core/java/android/widget/PopupWindow.java
@@ -835,7 +835,7 @@ public class PopupWindow {
preparePopup(p);
if (gravity == Gravity.NO_GRAVITY) {
- gravity = Gravity.TOP | Gravity.LEFT;
+ gravity = Gravity.TOP | Gravity.START;
}
p.gravity = gravity;
p.x = x;
@@ -1003,7 +1003,7 @@ public class PopupWindow {
// screen. The view is then positioned to the appropriate location
// by setting the x and y offsets to match the anchor's bottom
// left corner
- p.gravity = Gravity.LEFT | Gravity.TOP;
+ p.gravity = Gravity.START | Gravity.TOP;
p.width = mLastWidth = mWidth;
p.height = mLastHeight = mHeight;
if (mBackground != null) {
@@ -1100,7 +1100,7 @@ public class PopupWindow {
boolean onTop = false;
- p.gravity = Gravity.LEFT | Gravity.TOP;
+ p.gravity = Gravity.START | Gravity.TOP;
anchor.getLocationOnScreen(mScreenLocation);
final Rect displayFrame = new Rect();
@@ -1134,7 +1134,7 @@ public class PopupWindow {
onTop = (displayFrame.bottom - mScreenLocation[1] - anchor.getHeight() - yoff) <
(mScreenLocation[1] - yoff - displayFrame.top);
if (onTop) {
- p.gravity = Gravity.LEFT | Gravity.BOTTOM;
+ p.gravity = Gravity.START | Gravity.BOTTOM;
p.y = root.getHeight() - mDrawingLocation[1] + yoff;
} else {
p.y = mDrawingLocation[1] + anchor.getHeight() + yoff;
diff --git a/core/java/android/widget/ProgressBar.java b/core/java/android/widget/ProgressBar.java
index 1c6a406..a28e9ff 100644
--- a/core/java/android/widget/ProgressBar.java
+++ b/core/java/android/widget/ProgressBar.java
@@ -354,7 +354,7 @@ public class ProgressBar extends View {
Shader.TileMode.REPEAT, Shader.TileMode.CLAMP);
shapeDrawable.getPaint().setShader(bitmapShader);
- return (clip) ? new ClipDrawable(shapeDrawable, Gravity.LEFT,
+ return (clip) ? new ClipDrawable(shapeDrawable, Gravity.START,
ClipDrawable.HORIZONTAL) : shapeDrawable;
}
diff --git a/core/java/android/widget/ZoomButtonsController.java b/core/java/android/widget/ZoomButtonsController.java
index 02dc27b..a89c9c1 100644
--- a/core/java/android/widget/ZoomButtonsController.java
+++ b/core/java/android/widget/ZoomButtonsController.java
@@ -242,7 +242,7 @@ public class ZoomButtonsController implements View.OnTouchListener {
private FrameLayout createContainer() {
LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
// Controls are positioned BOTTOM | CENTER with respect to the owner view.
- lp.gravity = Gravity.TOP | Gravity.LEFT;
+ lp.gravity = Gravity.TOP | Gravity.START;
lp.flags = LayoutParams.FLAG_NOT_TOUCHABLE |
LayoutParams.FLAG_NOT_FOCUSABLE |
LayoutParams.FLAG_LAYOUT_NO_LIMITS |
diff --git a/core/java/com/android/internal/view/menu/ActionMenuItemView.java b/core/java/com/android/internal/view/menu/ActionMenuItemView.java
index 449194b..671badb 100644
--- a/core/java/com/android/internal/view/menu/ActionMenuItemView.java
+++ b/core/java/com/android/internal/view/menu/ActionMenuItemView.java
@@ -209,7 +209,7 @@ public class ActionMenuItemView extends TextView
Toast cheatSheet = Toast.makeText(context, mItemData.getTitle(), Toast.LENGTH_SHORT);
if (midy < displayFrame.height()) {
// Show along the top; follow action buttons
- cheatSheet.setGravity(Gravity.TOP | Gravity.RIGHT,
+ cheatSheet.setGravity(Gravity.TOP | Gravity.END,
screenWidth - screenPos[0] - width / 2, height);
} else {
// Show along the bottom center
diff --git a/core/java/com/android/internal/view/menu/IconMenuItemView.java b/core/java/com/android/internal/view/menu/IconMenuItemView.java
index a743cfa..c7c8571 100644
--- a/core/java/com/android/internal/view/menu/IconMenuItemView.java
+++ b/core/java/com/android/internal/view/menu/IconMenuItemView.java
@@ -282,7 +282,7 @@ public final class IconMenuItemView extends TextView implements MenuView.ItemVie
getLineBounds(0, tmpRect);
mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top);
final int layoutDirection = getResolvedLayoutDirection();
- Gravity.apply(Gravity.CENTER_VERTICAL | Gravity.LEFT, mIcon.getIntrinsicWidth(), mIcon
+ Gravity.apply(Gravity.CENTER_VERTICAL | Gravity.START, mIcon.getIntrinsicWidth(), mIcon
.getIntrinsicHeight(), mPositionIconAvailable, mPositionIconOutput,
layoutDirection);
mIcon.setBounds(mPositionIconOutput);
diff --git a/core/java/com/android/internal/widget/ScrollingTabContainerView.java b/core/java/com/android/internal/widget/ScrollingTabContainerView.java
index 83ac896..08d9f49 100644
--- a/core/java/com/android/internal/widget/ScrollingTabContainerView.java
+++ b/core/java/com/android/internal/widget/ScrollingTabContainerView.java
@@ -363,7 +363,7 @@ public class ScrollingTabContainerView extends HorizontalScrollView
mTab = tab;
if (forList) {
- setGravity(Gravity.LEFT | Gravity.CENTER_VERTICAL);
+ setGravity(Gravity.START | Gravity.CENTER_VERTICAL);
}
update();
diff --git a/core/java/com/android/internal/widget/TextProgressBar.java b/core/java/com/android/internal/widget/TextProgressBar.java
index e113dd8..e898aa4 100644
--- a/core/java/com/android/internal/widget/TextProgressBar.java
+++ b/core/java/com/android/internal/widget/TextProgressBar.java
@@ -155,7 +155,7 @@ public class TextProgressBar extends RelativeLayout implements OnChronometerTick
// Calculate any adjustment based on gravity
int adjustLeft = 0;
int textWidth = mChronometer.getWidth();
- if (mChronometerGravity == Gravity.RIGHT) {
+ if (mChronometerGravity == Gravity.END) {
adjustLeft = -textWidth;
} else if (mChronometerGravity == Gravity.CENTER_HORIZONTAL) {
adjustLeft = -(textWidth / 2);
diff --git a/core/res/res/layout-land/ssl_certificate.xml b/core/res/res/layout-land/ssl_certificate.xml
index 4f8bd8e..c6c8dd4 100644
--- a/core/res/res/layout-land/ssl_certificate.xml
+++ b/core/res/res/layout-land/ssl_certificate.xml
@@ -23,7 +23,7 @@
android:id="@+id/body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:gravity="left"
+ android:gravity="start"
android:orientation="vertical" >
<!-- Placeholder for the success message or one or more warnings -->
@@ -43,8 +43,8 @@
android:scaleType="fitXY"
android:layout_weight="1"
android:gravity="fill_horizontal"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"/>
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"/>
<TableLayout
android:layout_width="match_parent"
@@ -60,8 +60,8 @@
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_marginTop="12dip"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Common name: -->
@@ -69,12 +69,12 @@
<TextView
android:id="@+id/to_common_header"
android:text="@string/common_name"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/to_common"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
@@ -83,12 +83,12 @@
<TextView
android:id="@+id/to_org_header"
android:text="@string/org_name"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/to_org"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
@@ -97,12 +97,12 @@
<TextView
android:id="@+id/to_org_unit_header"
android:text="@string/org_unit"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/to_org_unit"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
@@ -111,12 +111,12 @@
<TextView
android:id="@+id/serial_number_header"
android:text="@string/serial_number"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/serial_number"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
@@ -128,8 +128,8 @@
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_marginTop="12dip"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Common name: -->
@@ -137,12 +137,12 @@
<TextView
android:id="@+id/by_common_header"
android:text="@string/common_name"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/by_common"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
@@ -151,12 +151,12 @@
<TextView
android:id="@+id/by_org_header"
android:text="@string/org_name"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/by_org"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
@@ -165,12 +165,12 @@
<TextView
android:id="@+id/by_org_unit_header"
android:text="@string/org_unit"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/by_org_unit"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
@@ -182,8 +182,8 @@
android:text="@string/validity_period"
android:textStyle="bold"
android:layout_marginTop="12dip"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Issued On: -->
@@ -193,14 +193,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/issued_on"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/issued_on"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
@@ -212,14 +212,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/expires_on"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/expires_on"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
@@ -231,8 +231,8 @@
android:text="@string/fingerprints"
android:textStyle="bold"
android:layout_marginTop="12dip"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- SHA-256 fingerprint: -->
@@ -242,14 +242,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/sha256_fingerprint"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/sha256_fingerprint"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
@@ -261,14 +261,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/sha1_fingerprint"
- android:layout_marginLeft="20dip" />
+ android:layout_marginStart="20dip" />
<TextView
android:id="@+id/sha1_fingerprint"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</TableRow>
diff --git a/core/res/res/layout-land/usb_storage_activity.xml b/core/res/res/layout-land/usb_storage_activity.xml
index 50ca569..d52f0a5 100644
--- a/core/res/res/layout-land/usb_storage_activity.xml
+++ b/core/res/res/layout-land/usb_storage_activity.xml
@@ -52,16 +52,16 @@
<Button android:id="@+id/mount_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="18dip"
- android:paddingRight="18dip"
+ android:paddingStart="18dip"
+ android:paddingEnd="18dip"
android:text="@string/usb_storage_button_mount"
/>
<Button android:id="@+id/unmount_button"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="18dip"
- android:paddingRight="18dip"
+ android:paddingStart="18dip"
+ android:paddingEnd="18dip"
android:text="@string/usb_storage_stop_button_mount"
/>
<ProgressBar android:id="@+id/progress"
diff --git a/core/res/res/layout-large/action_mode_close_item.xml b/core/res/res/layout-large/action_mode_close_item.xml
index f8b397a..df06de6 100644
--- a/core/res/res/layout-large/action_mode_close_item.xml
+++ b/core/res/res/layout-large/action_mode_close_item.xml
@@ -18,11 +18,11 @@
android:id="@+id/action_mode_close_button"
android:focusable="true"
android:clickable="true"
- android:paddingLeft="8dip"
+ android:paddingStart="8dip"
style="?android:attr/actionModeCloseButtonStyle"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_marginRight="16dip">
+ android:layout_marginEnd="16dip">
<ImageView android:layout_width="48dip"
android:layout_height="wrap_content"
android:layout_gravity="center"
@@ -31,8 +31,8 @@
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:layout_marginLeft="4dip"
- android:layout_marginRight="16dip"
+ android:layout_marginStart="4dip"
+ android:layout_marginEnd="16dip"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/actionMenuTextColor"
android:textSize="12sp"
diff --git a/core/res/res/layout-sw600dp/keyguard.xml b/core/res/res/layout-sw600dp/keyguard.xml
index ca629f8..f8f482d 100644
--- a/core/res/res/layout-sw600dp/keyguard.xml
+++ b/core/res/res/layout-sw600dp/keyguard.xml
@@ -19,9 +19,9 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:paddingLeft="20dip"
+ android:paddingStart="20dip"
android:paddingTop="20dip"
- android:paddingRight="20dip"
+ android:paddingEnd="20dip"
android:paddingBottom="20dip"
android:orientation="vertical"
android:layout_width="wrap_content"
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_glogin_unlock.xml b/core/res/res/layout-sw600dp/keyguard_screen_glogin_unlock.xml
index 56c832c..a0b1aaa 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_glogin_unlock.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_glogin_unlock.xml
@@ -36,7 +36,7 @@
android:layout_width="match_parent"
android:layout_height="64dip"
android:layout_alignParentTop="true"
- android:layout_marginLeft="4dip"
+ android:layout_marginStart="4dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:gravity="center_vertical"
android:drawableLeft="@drawable/ic_lock_idle_lock"
@@ -57,7 +57,7 @@
android:layout_height="wrap_content"
android:layout_below="@+id/spacerTop"
android:layout_marginTop="8dip"
- android:layout_marginLeft="9dip"
+ android:layout_marginStart="9dip"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="@android:string/lockscreen_glogin_instructions"
/>
@@ -68,8 +68,8 @@
android:layout_height="wrap_content"
android:layout_below="@id/instructions"
android:layout_marginTop="8dip"
- android:layout_marginLeft="7dip"
- android:layout_marginRight="7dip"
+ android:layout_marginStart="7dip"
+ android:layout_marginEnd="7dip"
android:hint="@android:string/lockscreen_glogin_username_hint"
android:inputType="textEmailAddress"
/>
@@ -80,8 +80,8 @@
android:layout_height="wrap_content"
android:layout_below="@id/login"
android:layout_marginTop="15dip"
- android:layout_marginLeft="7dip"
- android:layout_marginRight="7dip"
+ android:layout_marginStart="7dip"
+ android:layout_marginEnd="7dip"
android:inputType="textPassword"
android:hint="@android:string/lockscreen_glogin_password_hint"
android:nextFocusRight="@+id/ok"
@@ -95,8 +95,8 @@
android:layout_height="wrap_content"
android:layout_below="@id/password"
android:layout_marginTop="7dip"
- android:layout_marginRight="7dip"
- android:layout_alignParentRight="true"
+ android:layout_marginEnd="7dip"
+ android:layout_alignParentEnd="true"
android:text="@android:string/lockscreen_glogin_submit_button"
/>
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_lock.xml b/core/res/res/layout-sw600dp/keyguard_screen_lock.xml
index c7aa654..ea061ff 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_lock.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_lock.xml
@@ -33,8 +33,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="15dip"
- android:layout_marginLeft="15dip"
- android:layout_marginRight="15dip"
+ android:layout_marginStart="15dip"
+ android:layout_marginEnd="15dip"
android:paddingTop="20dip"
android:paddingBottom="20dip"
android:background="@android:drawable/popup_full_dark"
@@ -107,7 +107,7 @@
<ImageView android:id="@+id/batteryInfoIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="6dip"
+ android:layout_marginEnd="6dip"
android:baselineAligned="true"
android:gravity="center"
/>
@@ -142,7 +142,7 @@
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="6dip"
+ android:layout_marginEnd="6dip"
android:baselineAligned="true"
android:src="@android:drawable/ic_lock_idle_alarm"
android:gravity="center"
@@ -176,7 +176,7 @@
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="6dip"
+ android:layout_marginEnd="6dip"
android:baselineAligned="true"
android:src="@android:drawable/ic_lock_idle_lock"
android:gravity="center"
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml b/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml
index 8d5d404..4ceb907 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml
@@ -39,12 +39,12 @@
<include layout="@layout/keyguard_screen_status_land"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="50dip"
+ android:layout_marginStart="50dip"
android:layout_marginTop="50dip"
android:layout_marginBottom="50dip"
- android:layout_marginRight="64dip"
+ android:layout_marginEnd="64dip"
android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"/>
+ android:layout_alignParentStart="true"/>
<!-- Music transport control -->
<include android:id="@+id/transport"
@@ -89,7 +89,7 @@
android:layout_weight="1"
android:gravity="center"
android:layout_gravity="center"
- android:layout_marginLeft="@dimen/keyguard_lockscreen_pin_margin_left"
+ android:layout_marginStart="@dimen/keyguard_lockscreen_pin_margin_left"
android:singleLine="true"
android:textStyle="normal"
android:inputType="textPassword"
@@ -174,7 +174,7 @@
android:layout_height="wrap_content"
android:padding="5dip"
android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:src="@drawable/ic_facial_backup"
/>
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml b/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml
index 95c15e5..da627b5 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml
@@ -38,11 +38,11 @@
<include layout="@layout/keyguard_screen_status_port"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="50dip"
+ android:layout_marginStart="50dip"
android:layout_marginTop="50dip"
- android:layout_marginRight="64dip"
+ android:layout_marginEnd="64dip"
android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"/>
+ android:layout_alignParentStart="true"/>
<!-- Music transport control -->
<include android:id="@+id/transport"
@@ -93,7 +93,7 @@
android:inputType="textPassword"
android:gravity="center"
android:layout_gravity="center"
- android:layout_marginLeft="@dimen/keyguard_lockscreen_pin_margin_left"
+ android:layout_marginStart="@dimen/keyguard_lockscreen_pin_margin_left"
android:textSize="24sp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:background="@null"
@@ -177,7 +177,7 @@
android:layout_height="wrap_content"
android:padding="5dip"
android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:src="@drawable/ic_facial_backup"
/>
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_sim_pin_landscape.xml b/core/res/res/layout-sw600dp/keyguard_screen_sim_pin_landscape.xml
index 0b94fc1..efb9e2a 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_sim_pin_landscape.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_sim_pin_landscape.xml
@@ -41,7 +41,7 @@
android:layout_height="wrap_content"
android:layout_above="@+id/pinDisplayGroup"
android:layout_marginTop="9dip"
- android:gravity="left|bottom"
+ android:gravity="start|bottom"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -56,9 +56,9 @@
android:addStatesFromChildren="true"
android:gravity="center_vertical"
android:baselineAligned="false"
- android:paddingRight="0dip"
- android:layout_marginRight="30dip"
- android:layout_marginLeft="30dip"
+ android:paddingEnd="0dip"
+ android:layout_marginEnd="30dip"
+ android:layout_marginStart="30dip"
android:background="@android:drawable/edit_text"
>
@@ -77,7 +77,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginTop="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginEnd="2dip"
android:layout_marginBottom="2dip"
android:gravity="center"
/>
@@ -90,8 +90,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dip"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="8dip">
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="8dip">
<Button android:id="@+id/emergencyCallButton"
android:text="@android:string/lockscreen_emergency_call"
@@ -101,7 +101,7 @@
android:layout_height="wrap_content"
android:layout_weight="1.0"
android:layout_marginBottom="8dip"
- android:layout_marginRight="8dip"
+ android:layout_marginEnd="8dip"
android:textSize="18sp"
android:drawableLeft="@drawable/ic_emergency"
android:drawablePadding="8dip"
@@ -114,7 +114,7 @@
android:layout_height="wrap_content"
android:layout_weight="1.0"
android:layout_marginBottom="8dip"
- android:layout_marginLeft="8dip"
+ android:layout_marginStart="8dip"
android:textSize="18sp"
/>
</LinearLayout>
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_sim_pin_portrait.xml b/core/res/res/layout-sw600dp/keyguard_screen_sim_pin_portrait.xml
index 1be4462..db84156 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_sim_pin_portrait.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_sim_pin_portrait.xml
@@ -51,8 +51,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:layout_marginRight="6dip"
- android:layout_marginLeft="6dip"
+ android:layout_marginEnd="6dip"
+ android:layout_marginStart="6dip"
android:gravity="center_vertical"
android:background="@android:drawable/edit_text">
@@ -72,7 +72,7 @@
android:src="@android:drawable/ic_input_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="-3dip"
+ android:layout_marginEnd="-3dip"
android:layout_marginBottom="-3dip"
/>
</LinearLayout>
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_status_land.xml b/core/res/res/layout-sw600dp/keyguard_screen_status_land.xml
index 4fafc3c..df999f0 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_status_land.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_status_land.xml
@@ -23,7 +23,7 @@
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:gravity="right">
+ android:gravity="end">
<TextView
android:id="@+id/carrier"
@@ -66,7 +66,7 @@
android:textSize="@dimen/keyguard_pattern_unlock_clock_font_size"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/lockscreen_clock_foreground"
- android:layout_alignLeft="@id/timeDisplayBackground"
+ android:layout_alignStart="@id/timeDisplayBackground"
android:layout_alignTop="@id/timeDisplayBackground"
android:layout_marginBottom="6dip"
/>
@@ -91,7 +91,7 @@
android:id="@+id/alarm_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="16dip"
+ android:layout_marginStart="16dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:drawablePadding="4dip"
android:textSize="16sp"/>
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_status_port.xml b/core/res/res/layout-sw600dp/keyguard_screen_status_port.xml
index dfab3e3..565785b 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_status_port.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_status_port.xml
@@ -24,7 +24,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dip"
- android:gravity="right"
+ android:gravity="end"
>
<TextView
@@ -68,7 +68,7 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/lockscreen_clock_foreground"
android:layout_marginBottom="6dip"
- android:layout_alignLeft="@id/timeDisplayBackground"
+ android:layout_alignStart="@id/timeDisplayBackground"
android:layout_alignTop="@id/timeDisplayBackground"
/>
@@ -92,7 +92,7 @@
android:id="@+id/alarm_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="16dip"
+ android:layout_marginStart="16dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:drawablePadding="4dip"
android:textSize="16sp"/>
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml b/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml
index af7d011..4f6b62a 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml
@@ -44,10 +44,10 @@
<include layout="@layout/keyguard_screen_status_port"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="50dip"
+ android:layout_marginStart="50dip"
android:layout_marginTop="50dip"
android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"/>
+ android:layout_alignParentStart="true"/>
<!-- Music transport control -->
<include android:id="@+id/transport"
@@ -76,7 +76,7 @@
android:id="@+id/screenLocked"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="24dip"
+ android:layout_marginStart="24dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_marginTop="12dip"
android:drawablePadding="4dip"
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml b/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml
index 2a2dc31..d5201ec 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml
@@ -42,11 +42,11 @@
<include layout="@layout/keyguard_screen_status_land"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="50dip"
+ android:layout_marginStart="50dip"
android:layout_marginTop="50dip"
- android:layout_marginRight="64dip"
+ android:layout_marginEnd="64dip"
android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"/>
+ android:layout_alignParentStart="true"/>
<!-- Music transport control -->
<include android:id="@+id/transport"
@@ -78,7 +78,7 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:gravity="center"
android:layout_marginTop="12dip"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:drawablePadding="4dip"/>
@@ -87,7 +87,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_rowSpan="7"
- android:layout_gravity="center_vertical|right"
+ android:layout_gravity="center_vertical|end"
android:gravity="center"
android:focusable="true"
@@ -110,9 +110,9 @@
android:id="@+id/emergencyCallButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="80dip"
+ android:layout_marginEnd="80dip"
android:layout_marginBottom="80dip"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:drawableLeft="@drawable/ic_emergency"
style="@style/Widget.Button.Transparent"
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_unlock_landscape.xml b/core/res/res/layout-sw600dp/keyguard_screen_unlock_landscape.xml
index 0153a2e..51b946a 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_unlock_landscape.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_unlock_landscape.xml
@@ -43,12 +43,12 @@
<include layout="@layout/keyguard_screen_status_land"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="50dip"
+ android:layout_marginStart="50dip"
android:layout_marginTop="50dip"
android:layout_marginBottom="50dip"
- android:layout_marginRight="64dip"
+ android:layout_marginEnd="64dip"
android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"/>
+ android:layout_alignParentStart="true"/>
<!-- Music transport control -->
<include android:id="@+id/transport"
@@ -91,8 +91,8 @@
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_below="@id/lockPattern"
- android:layout_alignLeft="@id/lockPattern"
- android:layout_alignRight="@id/lockPattern"
+ android:layout_alignStart="@id/lockPattern"
+ android:layout_alignEnd="@id/lockPattern"
android:layout_marginTop="28dip"
style="?android:attr/buttonBarStyle"
android:gravity="center"
@@ -146,7 +146,7 @@
android:layout_height="wrap_content"
android:padding="5dip"
android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:src="@drawable/ic_facial_backup"
/>
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_unlock_portrait.xml b/core/res/res/layout-sw600dp/keyguard_screen_unlock_portrait.xml
index 7231ead..1d6b6a9 100644
--- a/core/res/res/layout-sw600dp/keyguard_screen_unlock_portrait.xml
+++ b/core/res/res/layout-sw600dp/keyguard_screen_unlock_portrait.xml
@@ -39,11 +39,11 @@
<include layout="@layout/keyguard_screen_status_land"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="50dip"
+ android:layout_marginStart="50dip"
android:layout_marginTop="50dip"
- android:layout_marginRight="64dip"
+ android:layout_marginEnd="64dip"
android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"/>
+ android:layout_alignParentStart="true"/>
<!-- Music transport control -->
<include android:id="@+id/transport"
@@ -85,8 +85,8 @@
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_below="@id/lockPattern"
- android:layout_alignLeft="@id/lockPattern"
- android:layout_alignRight="@id/lockPattern"
+ android:layout_alignStart="@id/lockPattern"
+ android:layout_alignEnd="@id/lockPattern"
style="?android:attr/buttonBarStyle"
android:gravity="center"
android:weightSum="2">
@@ -139,7 +139,7 @@
android:layout_height="wrap_content"
android:padding="5dip"
android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:src="@drawable/ic_facial_backup"
/>
diff --git a/core/res/res/layout-sw600dp/keyguard_transport_control.xml b/core/res/res/layout-sw600dp/keyguard_transport_control.xml
index 86b103e..f864339 100644
--- a/core/res/res/layout-sw600dp/keyguard_transport_control.xml
+++ b/core/res/res/layout-sw600dp/keyguard_transport_control.xml
@@ -48,8 +48,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dip"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="16dip"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip"
android:gravity="center_horizontal"
android:singleLine="true"
android:ellipsize="end"
diff --git a/core/res/res/layout-sw720dp/status_bar_latest_event_ticker.xml b/core/res/res/layout-sw720dp/status_bar_latest_event_ticker.xml
index 269e086..a09ad0c 100644
--- a/core/res/res/layout-sw720dp/status_bar_latest_event_ticker.xml
+++ b/core/res/res/layout-sw720dp/status_bar_latest_event_ticker.xml
@@ -13,7 +13,7 @@
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:orientation="vertical"
- android:paddingLeft="16dp"
+ android:paddingStart="16dp"
>
<TextView android:id="@+id/title"
android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Title"
diff --git a/core/res/res/layout-sw720dp/status_bar_latest_event_ticker_large_icon.xml b/core/res/res/layout-sw720dp/status_bar_latest_event_ticker_large_icon.xml
index 69eac92..09ff1c8 100644
--- a/core/res/res/layout-sw720dp/status_bar_latest_event_ticker_large_icon.xml
+++ b/core/res/res/layout-sw720dp/status_bar_latest_event_ticker_large_icon.xml
@@ -8,7 +8,7 @@
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:orientation="vertical"
- android:paddingLeft="16dp"
+ android:paddingStart="16dp"
>
<TextView android:id="@+id/title"
android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Title"
@@ -43,8 +43,8 @@
android:layout_gravity="bottom"
android:layout_marginBottom="13dip"
android:scaleType="center"
- android:layout_marginRight="4dip"
- android:layout_marginLeft="16dip"
+ android:layout_marginEnd="4dip"
+ android:layout_marginStart="16dip"
/>
</LinearLayout>
diff --git a/core/res/res/layout-w600dp/preference_list_content_single.xml b/core/res/res/layout-w600dp/preference_list_content_single.xml
index bbad296..d2fa5b9 100644
--- a/core/res/res/layout-w600dp/preference_list_content_single.xml
+++ b/core/res/res/layout-w600dp/preference_list_content_single.xml
@@ -34,8 +34,8 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingLeft="32dip"
- android:paddingRight="32dip"
+ android:paddingStart="32dip"
+ android:paddingEnd="32dip"
android:paddingTop="32dip"
android:paddingBottom="32dip" >
@@ -67,14 +67,14 @@
android:layout_width="150dip"
android:layout_height="wrap_content"
android:layout_margin="5dip"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:text="@string/back_button_label"
/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentRight="true">
+ android:layout_alignParentEnd="true">
<Button android:id="@+id/skip_button"
android:layout_width="150dip"
diff --git a/core/res/res/layout-xlarge/activity_list.xml b/core/res/res/layout-xlarge/activity_list.xml
index 5093a5e..edf6ee6 100644
--- a/core/res/res/layout-xlarge/activity_list.xml
+++ b/core/res/res/layout-xlarge/activity_list.xml
@@ -22,8 +22,8 @@
android:orientation="vertical"
android:paddingTop="9dip"
android:paddingBottom="3dip"
- android:paddingLeft="3dip"
- android:paddingRight="1dip"
+ android:paddingStart="3dip"
+ android:paddingEnd="1dip"
android:majorWeightMin="0.45"
android:minorWeightMin="0.72"
android:majorWeightMax="0.45"
@@ -37,14 +37,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:gravity="center_vertical|left"
+ android:gravity="center_vertical|start"
android:minHeight="60dip"
- android:layout_marginLeft="32dip"
- android:layout_marginRight="32dip">
+ android:layout_marginStart="32dip"
+ android:layout_marginEnd="32dip">
<ImageView android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingRight="16dip"
+ android:paddingEnd="16dip"
android:src="@null"
android:visibility="gone" />
<com.android.internal.widget.DialogTitle android:id="@+id/alertTitle"
@@ -104,7 +104,7 @@
android:visibility="gone" />
<Button android:id="@+id/button1"
android:layout_width="0dip"
- android:layout_gravity="left"
+ android:layout_gravity="start"
android:layout_weight="1"
android:maxLines="2"
android:text="@string/cancel"
diff --git a/core/res/res/layout-xlarge/breadcrumbs_in_fragment.xml b/core/res/res/layout-xlarge/breadcrumbs_in_fragment.xml
index 384c4fe..0fb3443 100644
--- a/core/res/res/layout-xlarge/breadcrumbs_in_fragment.xml
+++ b/core/res/res/layout-xlarge/breadcrumbs_in_fragment.xml
@@ -18,8 +18,8 @@
android:orientation="vertical"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="@dimen/preference_fragment_padding_side"
- android:layout_marginRight="@dimen/preference_fragment_padding_side"
+ android:layout_marginStart="@dimen/preference_fragment_padding_side"
+ android:layout_marginEnd="@dimen/preference_fragment_padding_side"
>
<android.app.FragmentBreadCrumbs
android:id="@android:id/title"
@@ -27,7 +27,7 @@
android:layout_width="match_parent"
android:paddingTop="16dip"
android:paddingBottom="8dip"
- android:gravity="center_vertical|left"
+ android:gravity="center_vertical|start"
/>
<ImageView
diff --git a/core/res/res/layout-xlarge/select_dialog_holo.xml b/core/res/res/layout-xlarge/select_dialog_holo.xml
index 7c95693..f931cf2 100644
--- a/core/res/res/layout-xlarge/select_dialog_holo.xml
+++ b/core/res/res/layout-xlarge/select_dialog_holo.xml
@@ -28,8 +28,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="5dip"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:cacheColorHint="@null"
android:divider="?android:attr/listDividerAlertDialog"
android:scrollbars="vertical"
diff --git a/core/res/res/layout-xlarge/select_dialog_item_holo.xml b/core/res/res/layout-xlarge/select_dialog_item_holo.xml
index 396092e..5f14e36 100644
--- a/core/res/res/layout-xlarge/select_dialog_item_holo.xml
+++ b/core/res/res/layout-xlarge/select_dialog_item_holo.xml
@@ -30,7 +30,7 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:ellipsize="marquee"
/>
diff --git a/core/res/res/layout-xlarge/select_dialog_multichoice_holo.xml b/core/res/res/layout-xlarge/select_dialog_multichoice_holo.xml
index 8027035..63edc86 100644
--- a/core/res/res/layout-xlarge/select_dialog_multichoice_holo.xml
+++ b/core/res/res/layout-xlarge/select_dialog_multichoice_holo.xml
@@ -22,8 +22,8 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
android:ellipsize="marquee"
/>
diff --git a/core/res/res/layout-xlarge/select_dialog_singlechoice_holo.xml b/core/res/res/layout-xlarge/select_dialog_singlechoice_holo.xml
index cab519f..6a00d0d 100644
--- a/core/res/res/layout-xlarge/select_dialog_singlechoice_holo.xml
+++ b/core/res/res/layout-xlarge/select_dialog_singlechoice_holo.xml
@@ -22,8 +22,8 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:checkMark="?android:attr/listChoiceIndicatorSingle"
android:ellipsize="marquee"
/>
diff --git a/core/res/res/layout/action_bar_title_item.xml b/core/res/res/layout/action_bar_title_item.xml
index 35c1264..3ac0e21 100644
--- a/core/res/res/layout/action_bar_title_item.xml
+++ b/core/res/res/layout/action_bar_title_item.xml
@@ -18,13 +18,13 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:paddingRight="8dip"
+ android:paddingEnd="8dip"
android:background="?android:attr/actionBarItemBackground"
android:enabled="false">
<ImageView android:id="@android:id/up"
android:src="?android:attr/homeAsUpIndicator"
- android:layout_gravity="center_vertical|left"
+ android:layout_gravity="center_vertical|start"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
diff --git a/core/res/res/layout/action_menu_item_layout.xml b/core/res/res/layout/action_menu_item_layout.xml
index ba7cf3b..04d1f7b 100644
--- a/core/res/res/layout/action_menu_item_layout.xml
+++ b/core/res/res/layout/action_menu_item_layout.xml
@@ -22,8 +22,8 @@
android:focusable="true"
android:paddingTop="4dip"
android:paddingBottom="4dip"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip"
android:textAppearance="?attr/actionMenuTextAppearance"
android:textColor="?attr/actionMenuTextColor"
style="?android:attr/actionButtonStyle" />
diff --git a/core/res/res/layout/action_mode_close_item.xml b/core/res/res/layout/action_mode_close_item.xml
index 8cd0cdd..3df83d0 100644
--- a/core/res/res/layout/action_mode_close_item.xml
+++ b/core/res/res/layout/action_mode_close_item.xml
@@ -18,12 +18,12 @@
android:id="@+id/action_mode_close_button"
android:focusable="true"
android:clickable="true"
- android:paddingLeft="8dip"
+ android:paddingStart="8dip"
android:contentDescription="@string/action_mode_done"
style="?android:attr/actionModeCloseButtonStyle"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_marginRight="16dip">
+ android:layout_marginEnd="16dip">
<ImageView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
diff --git a/core/res/res/layout/activity_chooser_view.xml b/core/res/res/layout/activity_chooser_view.xml
index 4057441..bef17d0 100644
--- a/core/res/res/layout/activity_chooser_view.xml
+++ b/core/res/res/layout/activity_chooser_view.xml
@@ -38,8 +38,8 @@
android:layout_gravity="center"
android:layout_marginTop="2dip"
android:layout_marginBottom="2dip"
- android:layout_marginLeft="12dip"
- android:layout_marginRight="12dip"
+ android:layout_marginStart="12dip"
+ android:layout_marginEnd="12dip"
android:scaleType="fitCenter"
android:adjustViewBounds="true" />
@@ -60,8 +60,8 @@
android:layout_gravity="center"
android:layout_marginTop="2dip"
android:layout_marginBottom="2dip"
- android:layout_marginLeft="12dip"
- android:layout_marginRight="12dip"
+ android:layout_marginStart="12dip"
+ android:layout_marginEnd="12dip"
android:scaleType="fitCenter"
android:adjustViewBounds="true" />
diff --git a/core/res/res/layout/activity_chooser_view_list_item.xml b/core/res/res/layout/activity_chooser_view_list_item.xml
index 88498d9..af70234 100644
--- a/core/res/res/layout/activity_chooser_view_list_item.xml
+++ b/core/res/res/layout/activity_chooser_view_list_item.xml
@@ -18,8 +18,8 @@
android:id="@+id/list_item"
android:layout_width="match_parent"
android:layout_height="?android:attr/dropdownListPreferredItemHeight"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:minWidth="196dip"
android:background="?android:attr/activatedBackgroundIndicator"
android:orientation="vertical" >
@@ -34,7 +34,7 @@
android:layout_width="32dip"
android:layout_height="32dip"
android:layout_gravity="center_vertical"
- android:layout_marginRight="8dip"
+ android:layout_marginEnd="8dip"
android:duplicateParentState="true" />
<TextView
diff --git a/core/res/res/layout/activity_list_item.xml b/core/res/res/layout/activity_list_item.xml
index 572caf0..90babd2 100644
--- a/core/res/res/layout/activity_list_item.xml
+++ b/core/res/res/layout/activity_list_item.xml
@@ -22,8 +22,8 @@
android:layout_height="wrap_content"
android:paddingTop="1dip"
android:paddingBottom="1dip"
- android:paddingLeft="8dip"
- android:paddingRight="8dip">
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip">
<ImageView android:id="@+id/icon"
android:layout_width="24dip"
@@ -33,6 +33,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" />
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft" />
</LinearLayout>
diff --git a/core/res/res/layout/activity_list_item_2.xml b/core/res/res/layout/activity_list_item_2.xml
index a58ebfc..a5a4cf9 100644
--- a/core/res/res/layout/activity_list_item_2.xml
+++ b/core/res/res/layout/activity_list_item_2.xml
@@ -21,5 +21,5 @@
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:gravity="center_vertical"
android:drawablePadding="14dip"
- android:paddingLeft="16dip"
- android:paddingRight="16dip" />
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip" />
diff --git a/core/res/res/layout/adaptive_notification_wrapper.xml b/core/res/res/layout/adaptive_notification_wrapper.xml
index df9d720..2583339 100644
--- a/core/res/res/layout/adaptive_notification_wrapper.xml
+++ b/core/res/res/layout/adaptive_notification_wrapper.xml
@@ -21,9 +21,9 @@
android:id="@android:id/text1"
android:textAppearance="?android:attr/dropDownHintAppearance"
android:singleLine="true"
- android:layout_marginLeft="3dip"
+ android:layout_marginStart="3dip"
android:layout_marginTop="3dip"
- android:layout_marginRight="3dip"
+ android:layout_marginEnd="3dip"
android:layout_marginBottom="3dip"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
diff --git a/core/res/res/layout/alert_dialog.xml b/core/res/res/layout/alert_dialog.xml
index 4477e07..35552d3 100644
--- a/core/res/res/layout/alert_dialog.xml
+++ b/core/res/res/layout/alert_dialog.xml
@@ -26,8 +26,8 @@
android:orientation="vertical"
android:paddingTop="9dip"
android:paddingBottom="3dip"
- android:paddingLeft="3dip"
- android:paddingRight="1dip">
+ android:paddingStart="3dip"
+ android:paddingEnd="1dip">
<LinearLayout android:id="@+id/topPanel"
android:layout_width="match_parent"
@@ -41,14 +41,14 @@
android:gravity="center_vertical"
android:layout_marginTop="6dip"
android:layout_marginBottom="9dip"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="10dip">
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="10dip">
<ImageView android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:paddingTop="6dip"
- android:paddingRight="10dip"
+ android:paddingEnd="10dip"
android:src="@drawable/ic_dialog_info" />
<com.android.internal.widget.DialogTitle android:id="@+id/alertTitle"
style="?android:attr/textAppearanceLarge"
@@ -77,8 +77,8 @@
android:layout_height="wrap_content"
android:paddingTop="2dip"
android:paddingBottom="12dip"
- android:paddingLeft="14dip"
- android:paddingRight="10dip"
+ android:paddingStart="14dip"
+ android:paddingEnd="10dip"
android:overScrollMode="ifContentScrolls">
<TextView android:id="@+id/message"
style="?android:attr/textAppearanceMedium"
@@ -110,8 +110,8 @@
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="4dip"
- android:paddingLeft="2dip"
- android:paddingRight="2dip"
+ android:paddingStart="2dip"
+ android:paddingEnd="2dip"
android:measureWithLargestChild="true">
<LinearLayout android:id="@+id/leftSpacer"
android:layout_weight="0.25"
@@ -121,7 +121,7 @@
android:visibility="gone" />
<Button android:id="@+id/button1"
android:layout_width="0dip"
- android:layout_gravity="left"
+ android:layout_gravity="start"
android:layout_weight="1"
style="?android:attr/buttonBarButtonStyle"
android:maxLines="2"
@@ -135,7 +135,7 @@
android:layout_height="wrap_content" />
<Button android:id="@+id/button2"
android:layout_width="0dip"
- android:layout_gravity="right"
+ android:layout_gravity="end"
android:layout_weight="1"
style="?android:attr/buttonBarButtonStyle"
android:maxLines="2"
diff --git a/core/res/res/layout/alert_dialog_holo.xml b/core/res/res/layout/alert_dialog_holo.xml
index 173efa7..7fc31d8 100644
--- a/core/res/res/layout/alert_dialog_holo.xml
+++ b/core/res/res/layout/alert_dialog_holo.xml
@@ -22,8 +22,8 @@
android:id="@+id/parentPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="8dip"
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="8dip"
android:orientation="vertical">
<LinearLayout android:id="@+id/topPanel"
@@ -39,14 +39,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:gravity="center_vertical|left"
+ android:gravity="center_vertical|start"
android:minHeight="@dimen/alert_dialog_title_height"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="16dip">
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip">
<ImageView android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingRight="8dip"
+ android:paddingEnd="8dip"
android:src="@null" />
<com.android.internal.widget.DialogTitle android:id="@+id/alertTitle"
style="?android:attr/windowTitleStyle"
@@ -76,8 +76,8 @@
style="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:paddingTop="8dip"
android:paddingBottom="8dip"/>
</ScrollView>
@@ -109,7 +109,7 @@
android:measureWithLargestChild="true">
<Button android:id="@+id/button2"
android:layout_width="wrap_content"
- android:layout_gravity="left"
+ android:layout_gravity="start"
android:layout_weight="1"
android:maxLines="2"
style="?android:attr/buttonBarButtonStyle"
@@ -127,7 +127,7 @@
android:layout_height="wrap_content" />
<Button android:id="@+id/button1"
android:layout_width="wrap_content"
- android:layout_gravity="right"
+ android:layout_gravity="end"
android:layout_weight="1"
android:maxLines="2"
android:minHeight="@dimen/alert_dialog_button_bar_height"
diff --git a/core/res/res/layout/alert_dialog_progress.xml b/core/res/res/layout/alert_dialog_progress.xml
index ac95cdb..fe06b65 100644
--- a/core/res/res/layout/alert_dialog_progress.xml
+++ b/core/res/res/layout/alert_dialog_progress.xml
@@ -22,17 +22,17 @@
android:layout_height="wrap_content"
android:layout_marginTop="12dip"
android:layout_marginBottom="1dip"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="10dip"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="10dip"
android:layout_centerHorizontal="true" />
<TextView
android:id="@+id/progress_percent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="12dip"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="10dip"
- android:layout_alignParentLeft="true"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="10dip"
+ android:layout_alignParentStart="true"
android:layout_below="@id/progress"
/>
<TextView
@@ -40,9 +40,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="12dip"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="10dip"
- android:layout_alignParentRight="true"
+ android:layout_marginStart="10dip"
+ android:layout_marginEnd="10dip"
+ android:layout_alignParentEnd="true"
android:layout_below="@id/progress"
/>
</RelativeLayout>
diff --git a/core/res/res/layout/alert_dialog_progress_holo.xml b/core/res/res/layout/alert_dialog_progress_holo.xml
index 94dbb2b..41773d2 100644
--- a/core/res/res/layout/alert_dialog_progress_holo.xml
+++ b/core/res/res/layout/alert_dialog_progress_holo.xml
@@ -22,17 +22,17 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dip"
android:layout_marginBottom="1dip"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="16dip"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip"
android:layout_centerHorizontal="true" />
<TextView
android:id="@+id/progress_percent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="16dip"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="16dip"
- android:layout_alignParentLeft="true"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip"
+ android:layout_alignParentStart="true"
android:layout_below="@id/progress"
/>
<TextView
@@ -40,9 +40,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="16dip"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="16dip"
- android:layout_alignParentRight="true"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip"
+ android:layout_alignParentEnd="true"
android:layout_below="@id/progress"
/>
</RelativeLayout>
diff --git a/core/res/res/layout/always_use_checkbox.xml b/core/res/res/layout/always_use_checkbox.xml
index a955352..16a1bb2 100644
--- a/core/res/res/layout/always_use_checkbox.xml
+++ b/core/res/res/layout/always_use_checkbox.xml
@@ -20,8 +20,8 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingLeft="14dip"
- android:paddingRight="15dip"
+ android:paddingStart="14dip"
+ android:paddingEnd="15dip"
android:orientation="vertical">
<CheckBox
@@ -36,7 +36,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
- android:paddingLeft="36dip"
+ android:paddingStart="36dip"
android:visibility="gone"
android:text="@string/clearDefaultHintMsg" />
</LinearLayout>
diff --git a/core/res/res/layout/am_compat_mode_dialog.xml b/core/res/res/layout/am_compat_mode_dialog.xml
index a8d39cf..8a0975d 100644
--- a/core/res/res/layout/am_compat_mode_dialog.xml
+++ b/core/res/res/layout/am_compat_mode_dialog.xml
@@ -17,7 +17,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent"
- android:layout_marginLeft="40dp" android:layout_marginRight="40dp"
+ android:layout_marginStart="40dp" android:layout_marginEnd="40dp"
android:layout_marginTop="15dp" android:layout_marginBottom="15dp"
android:orientation="vertical">
<LinearLayout
@@ -25,7 +25,7 @@
android:layout_gravity="center_horizontal"
android:orientation="horizontal" android:baselineAligned="true">
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
- android:layout_marginLeft="10dp" android:layout_marginRight="10dp"
+ android:layout_marginStart="10dp" android:layout_marginEnd="10dp"
android:textColor="?android:attr/textColorPrimary"
android:textSize="18sp"
android:text="@string/screen_compat_mode_scale"
@@ -35,7 +35,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
- android:layout_marginRight="10dp"
+ android:layout_marginEnd="10dp"
/>
</LinearLayout>
diff --git a/core/res/res/layout/app_permission_item.xml b/core/res/res/layout/app_permission_item.xml
index 1bd267f..ce0cd42 100644
--- a/core/res/res/layout/app_permission_item.xml
+++ b/core/res/res/layout/app_permission_item.xml
@@ -28,7 +28,7 @@
android:id="@+id/perm_icon"
android:layout_width="30dip"
android:layout_height="30dip"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:scaleType="fitCenter" />
@@ -36,8 +36,8 @@
android:id="@+id/permission_group"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold"
- android:paddingLeft="6dip"
- android:layout_toRightOf="@id/perm_icon"
+ android:paddingStart="6dip"
+ android:layout_toEndOf="@id/perm_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@@ -46,9 +46,9 @@
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_marginTop="-4dip"
android:paddingBottom="8dip"
- android:paddingLeft="6dip"
+ android:paddingStart="6dip"
android:layout_below="@id/permission_group"
- android:layout_toRightOf="@id/perm_icon"
+ android:layout_toEndOf="@id/perm_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
diff --git a/core/res/res/layout/app_permission_item_old.xml b/core/res/res/layout/app_permission_item_old.xml
index 1bd267f..ce0cd42 100644
--- a/core/res/res/layout/app_permission_item_old.xml
+++ b/core/res/res/layout/app_permission_item_old.xml
@@ -28,7 +28,7 @@
android:id="@+id/perm_icon"
android:layout_width="30dip"
android:layout_height="30dip"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:scaleType="fitCenter" />
@@ -36,8 +36,8 @@
android:id="@+id/permission_group"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold"
- android:paddingLeft="6dip"
- android:layout_toRightOf="@id/perm_icon"
+ android:paddingStart="6dip"
+ android:layout_toEndOf="@id/perm_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@@ -46,9 +46,9 @@
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_marginTop="-4dip"
android:paddingBottom="8dip"
- android:paddingLeft="6dip"
+ android:paddingStart="6dip"
android:layout_below="@id/permission_group"
- android:layout_toRightOf="@id/perm_icon"
+ android:layout_toEndOf="@id/perm_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
diff --git a/core/res/res/layout/app_perms_summary.xml b/core/res/res/layout/app_perms_summary.xml
index 3f99dde..829d15f 100755
--- a/core/res/res/layout/app_perms_summary.xml
+++ b/core/res/res/layout/app_perms_summary.xml
@@ -26,8 +26,8 @@
android:id="@+id/no_permissions"
android:text="@string/no_permissions"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingLeft="16dip"
- android:paddingRight="12dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="12dip"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@@ -37,8 +37,8 @@
android:id="@+id/dangerous_perms_list"
android:orientation="vertical"
android:layout_width="match_parent"
- android:paddingLeft="16dip"
- android:paddingRight="12dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="12dip"
android:layout_height="wrap_content" />
<!-- Clickable area letting user display additional permissions. -->
@@ -62,7 +62,7 @@
android:layout_height="wrap_content"
android:paddingTop="16dip"
android:paddingBottom="12dip"
- android:paddingLeft="16dip"
+ android:paddingStart="16dip"
android:duplicateParentState="true"
android:background="?android:attr/selectableItemBackground">
@@ -72,7 +72,7 @@
android:duplicateParentState="true"
android:layout_alignTop="@+id/show_more_icon"
android:layout_gravity="center_vertical"
- android:paddingLeft="36dip"
+ android:paddingStart="36dip"
android:layout_weight="1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@@ -81,7 +81,7 @@
android:id="@id/show_more_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="12dip" />
+ android:layout_marginEnd="12dip" />
</LinearLayout>
@@ -96,8 +96,8 @@
<LinearLayout
android:id="@+id/non_dangerous_perms_list"
android:orientation="vertical"
- android:paddingLeft="16dip"
- android:paddingRight="12dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="12dip"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
diff --git a/core/res/res/layout/auto_complete_list.xml b/core/res/res/layout/auto_complete_list.xml
index 8ad5dbb..72beb2b 100644
--- a/core/res/res/layout/auto_complete_list.xml
+++ b/core/res/res/layout/auto_complete_list.xml
@@ -27,7 +27,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingRight="0dip"
+ android:paddingEnd="0dip"
/>
<AutoCompleteTextView android:id="@+id/edit"
diff --git a/core/res/res/layout/browser_link_context_header.xml b/core/res/res/layout/browser_link_context_header.xml
index b09ee1f..fef01b3 100644
--- a/core/res/res/layout/browser_link_context_header.xml
+++ b/core/res/res/layout/browser_link_context_header.xml
@@ -21,6 +21,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="2"
- android:paddingLeft="10dip"
- android:paddingRight="10dip"
+ android:paddingStart="10dip"
+ android:paddingEnd="10dip"
/>
diff --git a/core/res/res/layout/calendar_view.xml b/core/res/res/layout/calendar_view.xml
index 176bb8b..bccb056 100644
--- a/core/res/res/layout/calendar_view.xml
+++ b/core/res/res/layout/calendar_view.xml
@@ -35,8 +35,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="6dip"
- android:layout_marginRight="2dip"
- android:layout_marginLeft="2dip"
+ android:layout_marginEnd="2dip"
+ android:layout_marginStart="2dip"
android:gravity="center" >
<TextView android:layout_width="0dip"
diff --git a/core/res/res/layout/character_picker.xml b/core/res/res/layout/character_picker.xml
index 2508f72..3ddbbb2 100644
--- a/core/res/res/layout/character_picker.xml
+++ b/core/res/res/layout/character_picker.xml
@@ -28,7 +28,7 @@
android:padding="4dp"
android:verticalSpacing="8dp"
android:horizontalSpacing="8dp"
- android:gravity="left"
+ android:gravity="start"
android:drawSelectorOnTop="false"
android:numColumns="4"
android:columnWidth="48dp"
@@ -41,8 +41,8 @@
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="12dp"
- android:layout_marginRight="12dp"
+ android:layout_marginStart="12dp"
+ android:layout_marginEnd="12dp"
android:background="@drawable/btn_close"
android:layout_gravity="center_vertical"
/>
diff --git a/core/res/res/layout/choose_account.xml b/core/res/res/layout/choose_account.xml
index c37a949..45a944e 100644
--- a/core/res/res/layout/choose_account.xml
+++ b/core/res/res/layout/choose_account.xml
@@ -21,8 +21,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:paddingLeft="16dip"
- android:paddingRight="16dip">
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip">
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/list"
diff --git a/core/res/res/layout/choose_account_row.xml b/core/res/res/layout/choose_account_row.xml
index 33764a3..c4247b6 100644
--- a/core/res/res/layout/choose_account_row.xml
+++ b/core/res/res/layout/choose_account_row.xml
@@ -18,14 +18,14 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:orientation="horizontal" >
<ImageView android:id="@+id/account_row_icon"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
- android:paddingRight="8dip" />
+ android:paddingEnd="8dip" />
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/account_row_text"
diff --git a/core/res/res/layout/choose_account_type.xml b/core/res/res/layout/choose_account_type.xml
index db96dc1..769d80b 100644
--- a/core/res/res/layout/choose_account_type.xml
+++ b/core/res/res/layout/choose_account_type.xml
@@ -21,14 +21,14 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:paddingLeft="16dip"
- android:paddingRight="16dip">
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip">
<TextView android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:layout_gravity="left"
+ android:layout_gravity="start"
android:text="@string/add_account_label"
android:paddingTop="16dip"
android:paddingBottom="16dip"
diff --git a/core/res/res/layout/choose_type_and_account.xml b/core/res/res/layout/choose_type_and_account.xml
index 9d1d284..bf06054 100644
--- a/core/res/res/layout/choose_type_and_account.xml
+++ b/core/res/res/layout/choose_type_and_account.xml
@@ -27,11 +27,11 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:layout_gravity="left|center_vertical"
+ android:layout_gravity="start|center_vertical"
android:paddingTop="16dip"
android:paddingBottom="16dip"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
/>
<!-- List of accounts, with "Add new account" as the last item -->
diff --git a/core/res/res/layout/date_picker.xml b/core/res/res/layout/date_picker.xml
index 9c1def2..303ab30 100644
--- a/core/res/res/layout/date_picker.xml
+++ b/core/res/res/layout/date_picker.xml
@@ -41,8 +41,8 @@
android:id="@+id/month"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="1dip"
- android:layout_marginRight="1dip"
+ android:layout_marginStart="1dip"
+ android:layout_marginEnd="1dip"
android:focusable="true"
android:focusableInTouchMode="true"
/>
@@ -52,8 +52,8 @@
android:id="@+id/day"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="1dip"
- android:layout_marginRight="1dip"
+ android:layout_marginStart="1dip"
+ android:layout_marginEnd="1dip"
android:focusable="true"
android:focusableInTouchMode="true"
/>
@@ -63,8 +63,8 @@
android:id="@+id/year"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="1dip"
- android:layout_marginRight="1dip"
+ android:layout_marginStart="1dip"
+ android:layout_marginEnd="1dip"
android:focusable="true"
android:focusableInTouchMode="true"
/>
@@ -76,7 +76,7 @@
android:id="@+id/calendar_view"
android:layout_width="245dip"
android:layout_height="280dip"
- android:layout_marginLeft="44dip"
+ android:layout_marginStart="44dip"
android:layout_weight="1"
android:focusable="true"
android:focusableInTouchMode="true"
diff --git a/core/res/res/layout/date_picker_holo.xml b/core/res/res/layout/date_picker_holo.xml
index 8008682..b465d97 100644
--- a/core/res/res/layout/date_picker_holo.xml
+++ b/core/res/res/layout/date_picker_holo.xml
@@ -43,8 +43,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dip"
android:layout_marginBottom="16dip"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="8dip"
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="8dip"
android:focusable="true"
android:focusableInTouchMode="true"
/>
@@ -56,8 +56,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dip"
android:layout_marginBottom="16dip"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="8dip"
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="8dip"
android:focusable="true"
android:focusableInTouchMode="true"
/>
@@ -69,8 +69,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dip"
android:layout_marginBottom="16dip"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="16dip"
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="16dip"
android:focusable="true"
android:focusableInTouchMode="true"
/>
@@ -82,8 +82,8 @@
android:id="@+id/calendar_view"
android:layout_width="245dip"
android:layout_height="280dip"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="16dip"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip"
android:layout_weight="1"
android:focusable="true"
android:focusableInTouchMode="true"
diff --git a/core/res/res/layout/dialog_custom_title.xml b/core/res/res/layout/dialog_custom_title.xml
index 3784c59..2dda5e5 100644
--- a/core/res/res/layout/dialog_custom_title.xml
+++ b/core/res/res/layout/dialog_custom_title.xml
@@ -37,8 +37,8 @@ This is a custom layout for a dialog.
android:layout_height="match_parent"
android:paddingTop="6dip"
android:paddingBottom="10dip"
- android:paddingLeft="10dip"
- android:paddingRight="10dip" />
+ android:paddingStart="10dip"
+ android:paddingEnd="10dip" />
</FrameLayout>
</LinearLayout>
diff --git a/core/res/res/layout/dialog_custom_title_holo.xml b/core/res/res/layout/dialog_custom_title_holo.xml
index cf71197..f8a2bf7 100644
--- a/core/res/res/layout/dialog_custom_title_holo.xml
+++ b/core/res/res/layout/dialog_custom_title_holo.xml
@@ -25,7 +25,7 @@ This is a custom layout for a dialog.
android:layout_width="match_parent"
android:layout_height="@dimen/alert_dialog_title_height"
android:layout_weight="0"
- android:gravity="center_vertical|left"
+ android:gravity="center_vertical|start"
style="?android:attr/windowTitleBackgroundStyle">
</FrameLayout>
<View android:id="@+id/titleDivider"
diff --git a/core/res/res/layout/dialog_title.xml b/core/res/res/layout/dialog_title.xml
index 949f86e..40eb385 100644
--- a/core/res/res/layout/dialog_title.xml
+++ b/core/res/res/layout/dialog_title.xml
@@ -30,8 +30,8 @@ enabled.
android:minHeight="53dip"
android:paddingTop="9dip"
android:paddingBottom="9dip"
- android:paddingLeft="10dip"
- android:paddingRight="10dip" />
+ android:paddingStart="10dip"
+ android:paddingEnd="10dip" />
<FrameLayout
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_weight="1"
diff --git a/core/res/res/layout/dialog_title_holo.xml b/core/res/res/layout/dialog_title_holo.xml
index 50bb0ba..0a692ee 100644
--- a/core/res/res/layout/dialog_title_holo.xml
+++ b/core/res/res/layout/dialog_title_holo.xml
@@ -27,9 +27,9 @@ enabled.
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@android:dimen/alert_dialog_title_height"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
- android:gravity="center_vertical|left" />
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
+ android:gravity="center_vertical|start" />
<View android:id="@+id/titleDivider"
android:layout_width="match_parent"
android:layout_height="2dip"
diff --git a/core/res/res/layout/dialog_title_icons.xml b/core/res/res/layout/dialog_title_icons.xml
index 0ca6706..a86a76c 100644
--- a/core/res/res/layout/dialog_title_icons.xml
+++ b/core/res/res/layout/dialog_title_icons.xml
@@ -31,8 +31,8 @@ enabled.
android:minHeight="53dip"
android:paddingTop="6dip"
android:paddingBottom="9dip"
- android:paddingLeft="10dip"
- android:paddingRight="10dip">
+ android:paddingStart="10dip"
+ android:paddingEnd="10dip">
<ImageView android:id="@+id/left_icon"
android:layout_width="32dip"
android:layout_height="32dip"
@@ -46,8 +46,8 @@ enabled.
android:layout_weight="0"
android:paddingTop="2dip"
android:paddingBottom="1dip"
- android:paddingLeft="14dip"
- android:paddingRight="14dip" />
+ android:paddingStart="14dip"
+ android:paddingEnd="14dip" />
<ImageView android:id="@+id/right_icon"
android:layout_width="32dip"
android:layout_height="32dip"
diff --git a/core/res/res/layout/dialog_title_icons_holo.xml b/core/res/res/layout/dialog_title_icons_holo.xml
index 7d7959f..e3d771c 100644
--- a/core/res/res/layout/dialog_title_icons_holo.xml
+++ b/core/res/res/layout/dialog_title_icons_holo.xml
@@ -29,13 +29,13 @@ enabled.
android:orientation="horizontal"
android:gravity="center_vertical"
android:minHeight="@android:dimen/alert_dialog_title_height"
- android:paddingLeft="16dip"
- android:paddingRight="16dip">
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip">
<ImageView android:id="@+id/left_icon"
android:layout_width="32dip"
android:layout_height="32dip"
android:scaleType="fitCenter"
- android:layout_marginRight="8dip" />
+ android:layout_marginEnd="8dip" />
<TextView android:id="@android:id/title"
style="?android:attr/windowTitleStyle"
android:layout_width="wrap_content"
@@ -45,7 +45,7 @@ enabled.
android:layout_width="32dip"
android:layout_height="32dip"
android:scaleType="fitCenter"
- android:layout_marginLeft="8dip" />
+ android:layout_marginStart="8dip" />
</LinearLayout>
<View android:id="@+id/titleDivider"
diff --git a/core/res/res/layout/fragment_bread_crumb_item.xml b/core/res/res/layout/fragment_bread_crumb_item.xml
index dbbb9a5..ee4344f 100644
--- a/core/res/res/layout/fragment_bread_crumb_item.xml
+++ b/core/res/res/layout/fragment_bread_crumb_item.xml
@@ -32,8 +32,8 @@
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip"
android:gravity="center_vertical"
android:textAppearance="?android:attr/textAppearanceMedium"
android:background="?android:attr/selectableItemBackground"
diff --git a/core/res/res/layout/global_actions_item.xml b/core/res/res/layout/global_actions_item.xml
index 009f37b..bf9c638 100644
--- a/core/res/res/layout/global_actions_item.xml
+++ b/core/res/res/layout/global_actions_item.xml
@@ -22,7 +22,7 @@
android:minHeight="?android:attr/listPreferredItemHeight"
android:orientation="horizontal"
- android:paddingLeft="16dip"
+ android:paddingStart="16dip"
android:paddingTop="6dip"
android:paddingBottom="6dip"
>
@@ -30,7 +30,7 @@
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_gravity="center"
- android:layout_marginRight="16dip"
+ android:layout_marginEnd="16dip"
android:scaleType="center"/>
<LinearLayout
diff --git a/core/res/res/layout/global_actions_silent_mode.xml b/core/res/res/layout/global_actions_silent_mode.xml
index 18b4715..79401af 100644
--- a/core/res/res/layout/global_actions_silent_mode.xml
+++ b/core/res/res/layout/global_actions_silent_mode.xml
@@ -33,8 +33,8 @@
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_gravity="center"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:layout_marginTop="6dp"
android:layout_marginBottom="6dp"
android:src="@drawable/ic_audio_vol_mute"
@@ -61,8 +61,8 @@
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_gravity="center"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:layout_marginTop="6dp"
android:layout_marginBottom="6dp"
android:src="@drawable/ic_audio_ring_notif_vibrate"
@@ -90,8 +90,8 @@
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_gravity="center"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:layout_marginTop="6dp"
android:layout_marginBottom="6dp"
android:src="@drawable/ic_audio_vol"
diff --git a/core/res/res/layout/grant_credentials_permission.xml b/core/res/res/layout/grant_credentials_permission.xml
index dd85b33..e7ec539 100644
--- a/core/res/res/layout/grant_credentials_permission.xml
+++ b/core/res/res/layout/grant_credentials_permission.xml
@@ -47,20 +47,20 @@
android:layout_height="wrap_content"
android:text="@string/grant_credentials_permission_message_header"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingLeft="19dip"
+ android:paddingStart="19dip"
android:paddingBottom="12dip" />
<LinearLayout
android:id="@+id/packages_list"
android:orientation="vertical"
- android:paddingLeft="16dip"
- android:paddingRight="12dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="12dip"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<RelativeLayout
- android:paddingLeft="16dip"
- android:paddingRight="12dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="12dip"
android:layout_width="match_parent"
android:layout_height="wrap_content">
@@ -69,7 +69,7 @@
android:layout_width="30dip"
android:layout_height="30dip"
android:src="@drawable/ic_bullet_key_permission"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:scaleType="fitCenter" />
<TextView
@@ -77,8 +77,8 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/perms_dangerous_perm_color"
android:textStyle="bold"
- android:paddingLeft="16dip"
- android:layout_toRightOf="@id/permission_icon"
+ android:paddingStart="16dip"
+ android:layout_toEndOf="@id/permission_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@@ -88,9 +88,9 @@
android:textColor="@color/perms_dangerous_perm_color"
android:layout_marginTop="-4dip"
android:paddingBottom="8dip"
- android:paddingLeft="16dip"
+ android:paddingStart="16dip"
android:layout_below="@id/account_type"
- android:layout_toRightOf="@id/permission_icon"
+ android:layout_toEndOf="@id/permission_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@@ -101,9 +101,9 @@
android:textStyle="bold"
android:layout_marginTop="-4dip"
android:paddingBottom="8dip"
- android:paddingLeft="16dip"
+ android:paddingStart="16dip"
android:layout_below="@id/account_name"
- android:layout_toRightOf="@id/permission_icon"
+ android:layout_toEndOf="@id/permission_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>
@@ -114,7 +114,7 @@
android:layout_height="wrap_content"
android:text="@string/grant_credentials_permission_message_footer"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingLeft="19dip"
+ android:paddingStart="19dip"
android:paddingBottom="12dip" />
</LinearLayout>
</ScrollView>
diff --git a/core/res/res/layout/heavy_weight_switcher.xml b/core/res/res/layout/heavy_weight_switcher.xml
index 9acf009..c17e555 100644
--- a/core/res/res/layout/heavy_weight_switcher.xml
+++ b/core/res/res/layout/heavy_weight_switcher.xml
@@ -36,8 +36,8 @@
android:minHeight="?android:attr/listPreferredItemHeight"
android:orientation="horizontal"
android:background="@android:drawable/list_selector_background"
- android:paddingRight="3dip"
- android:paddingLeft="3dip"
+ android:paddingEnd="3dip"
+ android:paddingStart="3dip"
android:paddingTop="5dip"
android:paddingBottom="14dip"
android:gravity="center_vertical"
@@ -46,7 +46,7 @@
<ImageView android:id="@+id/old_app_icon"
android:layout_width="@android:dimen/app_icon_size"
android:layout_height="@android:dimen/app_icon_size"
- android:layout_marginRight="11dip"
+ android:layout_marginEnd="11dip"
android:layout_gravity="center_vertical"
android:scaleType="fitCenter"/>
@@ -84,8 +84,8 @@
android:minHeight="?android:attr/listPreferredItemHeight"
android:orientation="horizontal"
android:background="@android:drawable/list_selector_background"
- android:paddingRight="3dip"
- android:paddingLeft="3dip"
+ android:paddingEnd="3dip"
+ android:paddingStart="3dip"
android:paddingTop="5dip"
android:paddingBottom="8dip"
android:gravity="center_vertical"
@@ -94,7 +94,7 @@
<ImageView android:id="@+id/new_app_icon"
android:layout_width="@android:dimen/app_icon_size"
android:layout_height="@android:dimen/app_icon_size"
- android:layout_marginRight="11dip"
+ android:layout_marginEnd="11dip"
android:layout_gravity="center_vertical"
android:scaleType="fitCenter"/>
@@ -132,8 +132,8 @@
android:minHeight="?android:attr/listPreferredItemHeight"
android:textAppearance="?android:attr/textAppearanceMedium"
android:background="@android:drawable/list_selector_background"
- android:paddingRight="6dip"
- android:paddingLeft="6dip"
+ android:paddingEnd="6dip"
+ android:paddingStart="6dip"
android:paddingTop="5dip"
android:paddingBottom="8dip"
android:textStyle="bold"
diff --git a/core/res/res/layout/icon_menu_item_layout.xml b/core/res/res/layout/icon_menu_item_layout.xml
index a73dccc..cdb5bfa 100644
--- a/core/res/res/layout/icon_menu_item_layout.xml
+++ b/core/res/res/layout/icon_menu_item_layout.xml
@@ -19,8 +19,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="1dip"
- android:paddingLeft="3dip"
- android:paddingRight="3dip"
+ android:paddingStart="3dip"
+ android:paddingEnd="3dip"
android:singleLine="true"
android:ellipsize="marquee"
android:fadingEdge="horizontal" />
diff --git a/core/res/res/layout/input_method_extract_view.xml b/core/res/res/layout/input_method_extract_view.xml
index a3e4961..269ff85 100644
--- a/core/res/res/layout/input_method_extract_view.xml
+++ b/core/res/res/layout/input_method_extract_view.xml
@@ -38,8 +38,8 @@
android:id="@+id/inputExtractAccessories"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip"
>
<android.inputmethodservice.ExtractButton android:id="@+id/inputExtractAction"
diff --git a/core/res/res/layout/input_method_switch_dialog_title.xml b/core/res/res/layout/input_method_switch_dialog_title.xml
index 7032bd3..e11a523 100644
--- a/core/res/res/layout/input_method_switch_dialog_title.xml
+++ b/core/res/res/layout/input_method_switch_dialog_title.xml
@@ -25,8 +25,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="9dip"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="10dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="10dip"
android:layout_marginTop="6dip"
android:gravity="center_vertical"
android:orientation="vertical" >
@@ -69,8 +69,8 @@
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:orientation="vertical"
android:paddingBottom="5dip"
- android:paddingLeft="16dip"
- android:paddingRight="0dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="0dip"
android:paddingTop="5dip" >
<TextView
@@ -95,7 +95,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
- android:layout_marginRight="12dip" />
+ android:layout_marginEnd="12dip" />
</LinearLayout>
</LinearLayout>
diff --git a/core/res/res/layout/keyboard_popup_keyboard.xml b/core/res/res/layout/keyboard_popup_keyboard.xml
index 5eb2732..6f222bf 100644
--- a/core/res/res/layout/keyboard_popup_keyboard.xml
+++ b/core/res/res/layout/keyboard_popup_keyboard.xml
@@ -41,7 +41,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:clickable="true"
/>
</LinearLayout> \ No newline at end of file
diff --git a/core/res/res/layout/keyguard.xml b/core/res/res/layout/keyguard.xml
index ca629f8..f8f482d 100644
--- a/core/res/res/layout/keyguard.xml
+++ b/core/res/res/layout/keyguard.xml
@@ -19,9 +19,9 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:paddingLeft="20dip"
+ android:paddingStart="20dip"
android:paddingTop="20dip"
- android:paddingRight="20dip"
+ android:paddingEnd="20dip"
android:paddingBottom="20dip"
android:orientation="vertical"
android:layout_width="wrap_content"
diff --git a/core/res/res/layout/keyguard_screen_glogin_unlock.xml b/core/res/res/layout/keyguard_screen_glogin_unlock.xml
index 35d113c..db920b4 100644
--- a/core/res/res/layout/keyguard_screen_glogin_unlock.xml
+++ b/core/res/res/layout/keyguard_screen_glogin_unlock.xml
@@ -37,7 +37,7 @@
android:layout_width="match_parent"
android:layout_height="64dip"
android:layout_alignParentTop="true"
- android:layout_marginLeft="4dip"
+ android:layout_marginStart="4dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:gravity="center_vertical"
android:drawableLeft="@drawable/ic_lock_idle_lock"
@@ -58,7 +58,7 @@
android:layout_height="wrap_content"
android:layout_below="@+id/spacerTop"
android:layout_marginTop="8dip"
- android:layout_marginLeft="9dip"
+ android:layout_marginStart="9dip"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="@android:string/lockscreen_glogin_instructions"
/>
@@ -69,8 +69,8 @@
android:layout_height="wrap_content"
android:layout_below="@id/instructions"
android:layout_marginTop="8dip"
- android:layout_marginLeft="7dip"
- android:layout_marginRight="7dip"
+ android:layout_marginStart="7dip"
+ android:layout_marginEnd="7dip"
android:hint="@android:string/lockscreen_glogin_username_hint"
android:inputType="textEmailAddress"
/>
@@ -81,8 +81,8 @@
android:layout_height="wrap_content"
android:layout_below="@id/login"
android:layout_marginTop="15dip"
- android:layout_marginLeft="7dip"
- android:layout_marginRight="7dip"
+ android:layout_marginStart="7dip"
+ android:layout_marginEnd="7dip"
android:inputType="textPassword"
android:hint="@android:string/lockscreen_glogin_password_hint"
android:nextFocusRight="@+id/ok"
@@ -96,8 +96,8 @@
android:layout_height="wrap_content"
android:layout_below="@id/password"
android:layout_marginTop="7dip"
- android:layout_marginRight="7dip"
- android:layout_alignParentRight="true"
+ android:layout_marginEnd="7dip"
+ android:layout_alignParentEnd="true"
android:text="@android:string/lockscreen_glogin_submit_button"
/>
diff --git a/core/res/res/layout/keyguard_screen_lock.xml b/core/res/res/layout/keyguard_screen_lock.xml
index 43867f4..8c178b1 100644
--- a/core/res/res/layout/keyguard_screen_lock.xml
+++ b/core/res/res/layout/keyguard_screen_lock.xml
@@ -34,8 +34,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="15dip"
- android:layout_marginLeft="15dip"
- android:layout_marginRight="15dip"
+ android:layout_marginStart="15dip"
+ android:layout_marginEnd="15dip"
android:paddingTop="20dip"
android:paddingBottom="20dip"
android:background="@android:drawable/popup_full_dark"
@@ -108,7 +108,7 @@
<ImageView android:id="@+id/batteryInfoIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="6dip"
+ android:layout_marginEnd="6dip"
android:baselineAligned="true"
android:gravity="center"
/>
@@ -143,7 +143,7 @@
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="6dip"
+ android:layout_marginEnd="6dip"
android:baselineAligned="true"
android:src="@android:drawable/ic_lock_idle_alarm"
android:gravity="center"
@@ -177,7 +177,7 @@
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="6dip"
+ android:layout_marginEnd="6dip"
android:baselineAligned="true"
android:src="@android:drawable/ic_lock_idle_lock"
android:gravity="center"
diff --git a/core/res/res/layout/keyguard_screen_password_landscape.xml b/core/res/res/layout/keyguard_screen_password_landscape.xml
index 3bea16c..71fb363 100644
--- a/core/res/res/layout/keyguard_screen_password_landscape.xml
+++ b/core/res/res/layout/keyguard_screen_password_landscape.xml
@@ -33,7 +33,7 @@
<com.android.internal.widget.DigitalClock android:id="@+id/time"
android:layout_marginTop="8dip"
android:layout_marginBottom="8dip"
- android:layout_gravity="right"
+ android:layout_gravity="end"
android:layout_rowSpan="2">
<!-- Because we can't have multi-tone fonts, we render two TextViews, one on
@@ -58,7 +58,7 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_marginBottom="6dip"
android:textColor="@color/lockscreen_clock_foreground"
- android:layout_alignLeft="@id/timeDisplayBackground"
+ android:layout_alignStart="@id/timeDisplayBackground"
android:layout_alignTop="@id/timeDisplayBackground"
/>
@@ -68,7 +68,7 @@
android:id="@+id/date"
android:layout_width="0dip"
android:layout_gravity="fill_horizontal"
- android:gravity="right"
+ android:gravity="end"
android:layout_below="@id/time"
android:layout_marginTop="6dip"
android:singleLine="true"
@@ -85,14 +85,14 @@
android:textSize="@dimen/keyguard_lockscreen_status_line_font_size"
android:drawablePadding="4dip"
android:layout_marginTop="4dip"
- android:layout_gravity="right"
+ android:layout_gravity="end"
/>
<TextView
android:id="@+id/status1"
android:layout_width="0dip"
android:layout_gravity="fill_horizontal"
- android:gravity="right"
+ android:gravity="end"
android:layout_marginTop="4dip"
android:singleLine="true"
android:ellipsize="marquee"
@@ -107,7 +107,7 @@
android:id="@+id/carrier"
android:layout_width="0dip"
android:layout_gravity="fill_horizontal"
- android:gravity="right"
+ android:gravity="end"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -117,7 +117,7 @@
<Button
android:id="@+id/emergencyCallButton"
- android:layout_gravity="right"
+ android:layout_gravity="end"
android:drawableLeft="@drawable/lockscreen_emergency_button"
android:text="@string/lockscreen_emergency_call"
style="?android:attr/buttonBarButtonStyle"
@@ -143,7 +143,7 @@
android:layout_width="0dip"
android:layout_weight="1"
android:gravity="center"
- android:layout_marginLeft="@dimen/keyguard_lockscreen_pin_margin_left"
+ android:layout_marginStart="@dimen/keyguard_lockscreen_pin_margin_left"
android:layout_gravity="center_vertical"
android:singleLine="true"
android:textStyle="normal"
@@ -185,8 +185,8 @@
<com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard"
android:layout_width="270dip"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dip"
- android:layout_marginRight="4dip"
+ android:layout_marginStart="4dip"
+ android:layout_marginEnd="4dip"
android:background="#40000000"
android:layout_marginTop="5dip"
android:keyBackground="@*android:drawable/btn_keyboard_key_ics"
@@ -233,7 +233,7 @@
android:layout_height="wrap_content"
android:padding="5dip"
android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:src="@drawable/ic_facial_backup"
/>
diff --git a/core/res/res/layout/keyguard_screen_password_portrait.xml b/core/res/res/layout/keyguard_screen_password_portrait.xml
index 6b409aa..486c7fe 100644
--- a/core/res/res/layout/keyguard_screen_password_portrait.xml
+++ b/core/res/res/layout/keyguard_screen_password_portrait.xml
@@ -25,8 +25,8 @@
<com.android.internal.widget.DigitalClock android:id="@+id/time"
android:layout_marginBottom="18dip"
- android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin"
- android:layout_gravity="right">
+ android:layout_marginEnd="@dimen/keyguard_lockscreen_status_line_font_right_margin"
+ android:layout_gravity="end">
<!-- Because we can't have multi-tone fonts, we render two TextViews, one on
top of the other. Hence the redundant layout... -->
@@ -56,8 +56,8 @@
<LinearLayout
android:orientation="horizontal"
- android:layout_gravity="right"
- android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin">
+ android:layout_gravity="end"
+ android:layout_marginEnd="@dimen/keyguard_lockscreen_status_line_font_right_margin">
<TextView
android:id="@+id/date"
@@ -73,7 +73,7 @@
android:id="@+id/alarm_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="16dip"
+ android:layout_marginStart="16dip"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -85,8 +85,8 @@
<TextView
android:id="@+id/status1"
- android:layout_gravity="right"
- android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin"
+ android:layout_gravity="end"
+ android:layout_marginEnd="@dimen/keyguard_lockscreen_status_line_font_right_margin"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -102,8 +102,8 @@
android:layout_gravity="center_vertical|fill_horizontal"
android:orientation="horizontal"
android:background="@drawable/lockscreen_password_field_dark"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="16dip">
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip">
<EditText android:id="@+id/passwordEntry"
android:layout_width="0dip"
@@ -111,7 +111,7 @@
android:layout_weight="1"
android:gravity="center_horizontal"
android:layout_gravity="center_vertical"
- android:layout_marginLeft="@dimen/keyguard_lockscreen_pin_margin_left"
+ android:layout_marginStart="@dimen/keyguard_lockscreen_pin_margin_left"
android:singleLine="true"
android:textStyle="normal"
android:inputType="textPassword"
@@ -150,8 +150,8 @@
<!-- Numeric keyboard -->
<com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard"
android:layout_width="match_parent"
- android:layout_marginLeft="4dip"
- android:layout_marginRight="4dip"
+ android:layout_marginStart="4dip"
+ android:layout_marginEnd="4dip"
android:paddingTop="4dip"
android:paddingBottom="4dip"
android:background="#40000000"
@@ -224,7 +224,7 @@
android:layout_height="wrap_content"
android:padding="5dip"
android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:src="@drawable/ic_facial_backup"
/>
diff --git a/core/res/res/layout/keyguard_screen_sim_pin_landscape.xml b/core/res/res/layout/keyguard_screen_sim_pin_landscape.xml
index 3cb19c3..3738766 100644
--- a/core/res/res/layout/keyguard_screen_sim_pin_landscape.xml
+++ b/core/res/res/layout/keyguard_screen_sim_pin_landscape.xml
@@ -39,7 +39,7 @@
android:layout_height="wrap_content"
android:layout_above="@+id/pinDisplayGroup"
android:layout_marginTop="9dip"
- android:gravity="left|bottom"
+ android:gravity="start|bottom"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -54,9 +54,9 @@
android:addStatesFromChildren="true"
android:gravity="center_vertical"
android:baselineAligned="false"
- android:paddingRight="0dip"
- android:layout_marginRight="30dip"
- android:layout_marginLeft="30dip"
+ android:paddingEnd="0dip"
+ android:layout_marginEnd="30dip"
+ android:layout_marginStart="30dip"
android:background="@android:drawable/edit_text"
>
@@ -75,7 +75,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginTop="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginEnd="2dip"
android:layout_marginBottom="2dip"
android:gravity="center"
/>
@@ -88,8 +88,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dip"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="8dip">
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="8dip">
<Button android:id="@+id/emergencyCallButton"
android:text="@android:string/lockscreen_emergency_call"
@@ -99,7 +99,7 @@
android:layout_height="wrap_content"
android:layout_weight="1.0"
android:layout_marginBottom="8dip"
- android:layout_marginRight="8dip"
+ android:layout_marginEnd="8dip"
android:textSize="18sp"
android:drawableLeft="@drawable/ic_emergency"
android:drawablePadding="4dip"
@@ -112,7 +112,7 @@
android:layout_height="wrap_content"
android:layout_weight="1.0"
android:layout_marginBottom="8dip"
- android:layout_marginLeft="8dip"
+ android:layout_marginStart="8dip"
android:textSize="18sp"
/>
</LinearLayout>
diff --git a/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml b/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml
index 9ca351c..20c2142 100644
--- a/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml
+++ b/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml
@@ -51,8 +51,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:layout_marginRight="6dip"
- android:layout_marginLeft="6dip"
+ android:layout_marginEnd="6dip"
+ android:layout_marginStart="6dip"
android:gravity="center_vertical"
android:background="@android:drawable/edit_text">
@@ -72,7 +72,7 @@
android:src="@android:drawable/ic_input_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="-3dip"
+ android:layout_marginEnd="-3dip"
android:layout_marginBottom="-3dip"
/>
</LinearLayout>
diff --git a/core/res/res/layout/keyguard_screen_sim_puk_landscape.xml b/core/res/res/layout/keyguard_screen_sim_puk_landscape.xml
index 56e6426..fd6dc26 100644
--- a/core/res/res/layout/keyguard_screen_sim_puk_landscape.xml
+++ b/core/res/res/layout/keyguard_screen_sim_puk_landscape.xml
@@ -55,8 +55,8 @@
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_marginRight="10dip"
- android:layout_marginLeft="10dip">
+ android:layout_marginEnd="10dip"
+ android:layout_marginStart="10dip">
<TextView android:id="@+id/enter_puk"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -78,16 +78,16 @@
android:layout_width="wrap_content"
android:layout_weight="1"
android:layout_height="match_parent"
- android:paddingRight="0dip"
- android:layout_marginRight="10dip"
- android:layout_marginLeft="10dip">
+ android:paddingEnd="0dip"
+ android:layout_marginEnd="10dip"
+ android:layout_marginStart="10dip">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:layout_marginRight="6dip"
- android:layout_marginLeft="6dip"
+ android:layout_marginEnd="6dip"
+ android:layout_marginStart="6dip"
android:gravity="center_vertical"
android:background="@android:drawable/edit_text">
@@ -106,7 +106,7 @@
android:src="@android:drawable/ic_input_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="-3dip"
+ android:layout_marginEnd="-3dip"
android:layout_marginBottom="-3dip"
/>
</LinearLayout>
@@ -116,8 +116,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:layout_marginRight="6dip"
- android:layout_marginLeft="6dip"
+ android:layout_marginEnd="6dip"
+ android:layout_marginStart="6dip"
android:gravity="center_vertical"
android:background="@android:drawable/edit_text">
@@ -138,7 +138,7 @@
android:src="@android:drawable/ic_input_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="-3dip"
+ android:layout_marginEnd="-3dip"
android:layout_marginBottom="-3dip"
/>
</LinearLayout>
@@ -152,8 +152,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dip"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="8dip">
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="8dip">
<Button android:id="@+id/emergencyCallButton"
android:text="@android:string/lockscreen_emergency_call"
@@ -163,7 +163,7 @@
android:layout_height="wrap_content"
android:layout_weight="1.0"
android:layout_marginBottom="8dip"
- android:layout_marginRight="8dip"
+ android:layout_marginEnd="8dip"
android:textSize="18sp"
android:drawableLeft="@drawable/ic_emergency"
android:drawablePadding="4dip"
@@ -176,7 +176,7 @@
android:layout_height="wrap_content"
android:layout_weight="1.0"
android:layout_marginBottom="8dip"
- android:layout_marginLeft="8dip"
+ android:layout_marginStart="8dip"
android:textSize="18sp"
/>
</LinearLayout>
diff --git a/core/res/res/layout/keyguard_screen_sim_puk_portrait.xml b/core/res/res/layout/keyguard_screen_sim_puk_portrait.xml
index 8b039f7..5397e62 100644
--- a/core/res/res/layout/keyguard_screen_sim_puk_portrait.xml
+++ b/core/res/res/layout/keyguard_screen_sim_puk_portrait.xml
@@ -35,8 +35,8 @@
android:gravity="center"
android:singleLine="true"
android:ellipsize="marquee"
- android:layout_marginRight="6dip"
- android:layout_marginLeft="6dip"
+ android:layout_marginEnd="6dip"
+ android:layout_marginStart="6dip"
android:textAppearance="?android:attr/textAppearanceLarge"/>
<!-- Carrier info -->
@@ -47,8 +47,8 @@
android:gravity="center"
android:singleLine="true"
android:ellipsize="marquee"
- android:layout_marginRight="6dip"
- android:layout_marginLeft="6dip"
+ android:layout_marginEnd="6dip"
+ android:layout_marginStart="6dip"
android:textAppearance="?android:attr/textAppearanceMedium"/>
<LinearLayout
@@ -61,16 +61,16 @@
android:layout_width="wrap_content"
android:layout_weight="1"
android:layout_height="match_parent"
- android:paddingRight="0dip"
- android:layout_marginRight="10dip"
- android:layout_marginLeft="10dip">
+ android:paddingEnd="0dip"
+ android:layout_marginEnd="10dip"
+ android:layout_marginStart="10dip">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:layout_marginRight="6dip"
- android:layout_marginLeft="6dip"
+ android:layout_marginEnd="6dip"
+ android:layout_marginStart="6dip"
android:gravity="center_vertical"
android:background="@android:drawable/edit_text">
@@ -90,7 +90,7 @@
android:src="@android:drawable/ic_input_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="-3dip"
+ android:layout_marginEnd="-3dip"
android:layout_marginBottom="-3dip"
/>
</LinearLayout>
@@ -100,8 +100,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:layout_marginRight="6dip"
- android:layout_marginLeft="6dip"
+ android:layout_marginEnd="6dip"
+ android:layout_marginStart="6dip"
android:gravity="center_vertical"
android:background="@android:drawable/edit_text">
@@ -121,7 +121,7 @@
android:src="@android:drawable/ic_input_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="-3dip"
+ android:layout_marginEnd="-3dip"
android:layout_marginBottom="-3dip"
/>
</LinearLayout>
diff --git a/core/res/res/layout/keyguard_screen_tab_unlock.xml b/core/res/res/layout/keyguard_screen_tab_unlock.xml
index 81166222..54381ee 100644
--- a/core/res/res/layout/keyguard_screen_tab_unlock.xml
+++ b/core/res/res/layout/keyguard_screen_tab_unlock.xml
@@ -31,8 +31,8 @@
<com.android.internal.widget.DigitalClock android:id="@+id/time"
android:layout_marginTop="@dimen/keyguard_lockscreen_status_line_clockfont_top_margin"
android:layout_marginBottom="12dip"
- android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin"
- android:layout_gravity="right">
+ android:layout_marginEnd="@dimen/keyguard_lockscreen_status_line_font_right_margin"
+ android:layout_gravity="end">
<!-- Because we can't have multi-tone fonts, we render two TextViews, one on
top of the other. Hence the redundant layout... -->
@@ -56,7 +56,7 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_marginBottom="6dip"
android:textColor="@color/lockscreen_clock_foreground"
- android:layout_alignLeft="@id/timeDisplayBackground"
+ android:layout_alignStart="@id/timeDisplayBackground"
android:layout_alignTop="@id/timeDisplayBackground"
/>
@@ -64,8 +64,8 @@
<LinearLayout
android:orientation="horizontal"
- android:layout_gravity="right"
- android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin">
+ android:layout_gravity="end"
+ android:layout_marginEnd="@dimen/keyguard_lockscreen_status_line_font_right_margin">
<TextView
android:id="@+id/date"
@@ -81,7 +81,7 @@
android:id="@+id/alarm_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="16dip"
+ android:layout_marginStart="16dip"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -93,8 +93,8 @@
<TextView
android:id="@+id/status1"
- android:layout_gravity="right"
- android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin"
+ android:layout_gravity="end"
+ android:layout_marginEnd="@dimen/keyguard_lockscreen_status_line_font_right_margin"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -110,8 +110,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dip"
- android:layout_marginRight="16dip"
- android:layout_gravity="right"
+ android:layout_marginEnd="16dip"
+ android:layout_gravity="end"
android:drawableLeft="@*android:drawable/lockscreen_emergency_button"
style="?android:attr/buttonBarButtonStyle"
android:drawablePadding="4dip"
diff --git a/core/res/res/layout/keyguard_screen_tab_unlock_land.xml b/core/res/res/layout/keyguard_screen_tab_unlock_land.xml
index 35e4d11..7ef9d8b 100644
--- a/core/res/res/layout/keyguard_screen_tab_unlock_land.xml
+++ b/core/res/res/layout/keyguard_screen_tab_unlock_land.xml
@@ -32,7 +32,7 @@
<com.android.internal.widget.DigitalClock android:id="@+id/time"
android:layout_marginTop="80dip"
android:layout_marginBottom="8dip"
- android:layout_gravity="right">
+ android:layout_gravity="end">
<!-- Because we can't have multi-tone fonts, we render two TextViews, one on
top of the other. Hence the redundant layout... -->
@@ -56,7 +56,7 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_marginBottom="6dip"
android:textColor="@color/lockscreen_clock_foreground"
- android:layout_alignLeft="@id/timeDisplayBackground"
+ android:layout_alignStart="@id/timeDisplayBackground"
android:layout_alignTop="@id/timeDisplayBackground"
/>
@@ -66,7 +66,7 @@
android:id="@+id/date"
android:layout_width="0dip"
android:layout_gravity="fill_horizontal"
- android:gravity="right"
+ android:gravity="end"
android:layout_marginTop="6dip"
android:singleLine="true"
android:ellipsize="marquee"
@@ -82,14 +82,14 @@
android:textSize="@dimen/keyguard_lockscreen_status_line_font_size"
android:drawablePadding="4dip"
android:layout_marginTop="4dip"
- android:layout_gravity="right"
+ android:layout_gravity="end"
/>
<TextView
android:id="@+id/status1"
android:layout_width="0dip"
android:layout_gravity="fill_horizontal"
- android:gravity="right"
+ android:gravity="end"
android:layout_marginTop="4dip"
android:singleLine="true"
android:ellipsize="marquee"
@@ -105,7 +105,7 @@
android:layout_width="0dip"
android:layout_gravity="fill_horizontal"
android:layout_marginBottom="12dip"
- android:gravity="right"
+ android:gravity="end"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -117,7 +117,7 @@
android:id="@+id/emergencyCallButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="right"
+ android:layout_gravity="end"
android:drawableLeft="@*android:drawable/lockscreen_emergency_button"
android:text="@*android:string/lockscreen_emergency_call"
style="?android:attr/buttonBarButtonStyle"
@@ -134,7 +134,7 @@
android:layout_width="302dip"
android:layout_height="match_parent"
android:layout_rowSpan="7"
- android:gravity="left|center_vertical"
+ android:gravity="start|center_vertical"
android:focusable="true"
android:targetDrawables="@array/lockscreen_targets_with_camera"
diff --git a/core/res/res/layout/keyguard_screen_unlock_landscape.xml b/core/res/res/layout/keyguard_screen_unlock_landscape.xml
index 7f9aaa0..edd74e2 100644
--- a/core/res/res/layout/keyguard_screen_unlock_landscape.xml
+++ b/core/res/res/layout/keyguard_screen_unlock_landscape.xml
@@ -32,7 +32,7 @@
<com.android.internal.widget.DigitalClock android:id="@+id/time"
android:layout_marginTop="8dip"
android:layout_marginBottom="12dip"
- android:layout_gravity="right">
+ android:layout_gravity="end">
<!-- Because we can't have multi-tone fonts, we render two TextViews, one on
top of the other. Hence the redundant layout... -->
@@ -55,7 +55,7 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:textSize="@dimen/keyguard_lockscreen_clock_font_size"
android:layout_marginBottom="6dip"
- android:layout_alignLeft="@id/timeDisplayBackground"
+ android:layout_alignStart="@id/timeDisplayBackground"
android:layout_alignTop="@id/timeDisplayBackground"
android:textColor="@color/lockscreen_clock_foreground"
/>
@@ -66,7 +66,7 @@
android:id="@+id/date"
android:layout_width="0dip"
android:layout_gravity="fill_horizontal"
- android:gravity="right"
+ android:gravity="end"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -79,7 +79,7 @@
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textSize="@dimen/keyguard_lockscreen_status_line_font_size"
- android:layout_gravity="right"
+ android:layout_gravity="end"
android:drawablePadding="4dip"
/>
@@ -87,7 +87,7 @@
android:id="@+id/status1"
android:layout_width="0dip"
android:layout_gravity="fill_horizontal"
- android:gravity="right"
+ android:gravity="end"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -99,7 +99,7 @@
<TextView android:id="@+id/carrier"
android:layout_width="0dip"
android:layout_gravity="fill_horizontal"
- android:gravity="right"
+ android:gravity="end"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -109,11 +109,11 @@
<LinearLayout
style="?android:attr/buttonBarStyle"
android:orientation="vertical"
- android:layout_gravity="right">
+ android:layout_gravity="end">
<Button android:id="@+id/emergencyCallButton"
style="?android:attr/buttonBarButtonStyle"
- android:layout_gravity="right"
+ android:layout_gravity="end"
android:layout_width="wrap_content"
android:layout_height="0dip"
android:layout_weight="1"
@@ -125,7 +125,7 @@
<Button android:id="@+id/forgotPatternButton"
style="?android:attr/buttonBarButtonStyle"
- android:layout_gravity="right"
+ android:layout_gravity="end"
android:layout_width="wrap_content"
android:layout_height="0dip"
android:layout_weight="1"
@@ -142,9 +142,9 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="8dip"
- android:layout_marginRight="8dip"
+ android:layout_marginEnd="8dip"
android:layout_marginBottom="8dip"
- android:layout_marginLeft="8dip"
+ android:layout_marginStart="8dip"
android:layout_rowSpan="7"/>
@@ -169,7 +169,7 @@
android:layout_rowSpan="7"
android:layout_columnSpan="1"
android:layout_gravity="fill"
- android:layout_marginLeft="8dip"
+ android:layout_marginStart="8dip"
android:layout_width="0dip"
android:layout_height="0dip"
android:background="@drawable/intro_bg">
@@ -187,7 +187,7 @@
android:layout_height="wrap_content"
android:padding="5dip"
android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:src="@drawable/ic_facial_backup"
/>
diff --git a/core/res/res/layout/keyguard_screen_unlock_portrait.xml b/core/res/res/layout/keyguard_screen_unlock_portrait.xml
index c235289..f20cbcd 100644
--- a/core/res/res/layout/keyguard_screen_unlock_portrait.xml
+++ b/core/res/res/layout/keyguard_screen_unlock_portrait.xml
@@ -30,8 +30,8 @@
<com.android.internal.widget.DigitalClock android:id="@+id/time"
android:layout_marginTop="@dimen/keyguard_lockscreen_status_line_clockfont_top_margin"
android:layout_marginBottom="@dimen/keyguard_lockscreen_status_line_clockfont_bottom_margin"
- android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin"
- android:layout_gravity="right">
+ android:layout_marginEnd="@dimen/keyguard_lockscreen_status_line_font_right_margin"
+ android:layout_gravity="end">
<!-- Because we can't have multi-tone fonts, we render two TextViews, one on
top of the other. Hence the redundant layout... -->
@@ -59,8 +59,8 @@
<LinearLayout
android:orientation="horizontal"
- android:layout_gravity="right"
- android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin">
+ android:layout_gravity="end"
+ android:layout_marginEnd="@dimen/keyguard_lockscreen_status_line_font_right_margin">
<TextView
android:id="@+id/date"
@@ -76,7 +76,7 @@
android:id="@+id/alarm_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="16dip"
+ android:layout_marginStart="16dip"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -89,8 +89,8 @@
<TextView
android:id="@+id/status1"
- android:layout_gravity="right"
- android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin"
+ android:layout_gravity="end"
+ android:layout_marginEnd="@dimen/keyguard_lockscreen_status_line_font_right_margin"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -108,9 +108,9 @@
android:id="@+id/lockPattern"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginRight="8dip"
+ android:layout_marginEnd="8dip"
android:layout_marginBottom="4dip"
- android:layout_marginLeft="8dip"
+ android:layout_marginStart="8dip"
android:layout_gravity="center_horizontal"
/>
@@ -196,7 +196,7 @@
android:layout_height="wrap_content"
android:padding="5dip"
android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:src="@drawable/ic_facial_backup"
/>
diff --git a/core/res/res/layout/keyguard_transport_control.xml b/core/res/res/layout/keyguard_transport_control.xml
index 7e2a31c..3e702df 100644
--- a/core/res/res/layout/keyguard_transport_control.xml
+++ b/core/res/res/layout/keyguard_transport_control.xml
@@ -47,8 +47,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dip"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="16dip"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip"
android:gravity="center_horizontal"
android:singleLine="true"
android:ellipsize="end"
diff --git a/core/res/res/layout/list_menu_item_icon.xml b/core/res/res/layout/list_menu_item_icon.xml
index 27dd9b8..a30be6a 100644
--- a/core/res/res/layout/list_menu_item_icon.xml
+++ b/core/res/res/layout/list_menu_item_icon.xml
@@ -19,8 +19,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="-8dip"
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="-8dip"
android:layout_marginTop="8dip"
android:layout_marginBottom="8dip"
android:scaleType="centerInside"
diff --git a/core/res/res/layout/list_menu_item_layout.xml b/core/res/res/layout/list_menu_item_layout.xml
index 680eca7..5c1639c 100644
--- a/core/res/res/layout/list_menu_item_layout.xml
+++ b/core/res/res/layout/list_menu_item_layout.xml
@@ -26,8 +26,8 @@
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
- android:layout_marginLeft="?android:attr/listPreferredItemPaddingLeft"
- android:layout_marginRight="?android:attr/listPreferredItemPaddingRight"
+ android:layout_marginStart="?android:attr/listPreferredItemPaddingLeft"
+ android:layout_marginEnd="?android:attr/listPreferredItemPaddingRight"
android:duplicateParentState="true">
<TextView
@@ -35,7 +35,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:singleLine="true"
android:duplicateParentState="true"
@@ -47,7 +47,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/title"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:duplicateParentState="true" />
diff --git a/core/res/res/layout/locale_picker_item.xml b/core/res/res/layout/locale_picker_item.xml
index 19c0dee..94c9baf 100644
--- a/core/res/res/layout/locale_picker_item.xml
+++ b/core/res/res/layout/locale_picker_item.xml
@@ -20,10 +20,10 @@
android:layout_width="match_parent"
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeight"
- android:paddingLeft="16dp"
+ android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
- android:paddingRight="16dp">
+ android:paddingEnd="16dp">
<TextView android:id="@+id/locale"
android:layout_width="wrap_content"
diff --git a/core/res/res/layout/media_controller.xml b/core/res/res/layout/media_controller.xml
index 313806c..ad74a3a 100644
--- a/core/res/res/layout/media_controller.xml
+++ b/core/res/res/layout/media_controller.xml
@@ -44,11 +44,11 @@
android:textSize="14sp"
android:textStyle="bold"
android:paddingTop="4dip"
- android:paddingLeft="4dip"
+ android:paddingStart="4dip"
android:layout_gravity="center_horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingRight="4dip" />
+ android:paddingEnd="4dip" />
<SeekBar
android:id="@+id/mediacontroller_progress"
@@ -56,18 +56,18 @@
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="32dip"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true" />
+ android:layout_alignParentStart="true"
+ android:layout_alignParentEnd="true" />
<TextView android:id="@+id/time"
android:textSize="14sp"
android:textStyle="bold"
android:paddingTop="4dip"
- android:paddingRight="4dip"
+ android:paddingEnd="4dip"
android:layout_gravity="center_horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="4dip" />
+ android:paddingStart="4dip" />
</LinearLayout>
</LinearLayout>
diff --git a/core/res/res/layout/media_route_chooser_layout.xml b/core/res/res/layout/media_route_chooser_layout.xml
index 731c0d0..5fcb8c8 100644
--- a/core/res/res/layout/media_route_chooser_layout.xml
+++ b/core/res/res/layout/media_route_chooser_layout.xml
@@ -33,8 +33,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp" />
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp" />
<ImageButton android:id="@+id/extended_settings"
android:layout_width="48dp"
android:layout_height="48dp"
diff --git a/core/res/res/layout/media_route_list_item.xml b/core/res/res/layout/media_route_list_item.xml
index 8ce6327..3f750e0 100644
--- a/core/res/res/layout/media_route_list_item.xml
+++ b/core/res/res/layout/media_route_list_item.xml
@@ -30,9 +30,9 @@
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical"
- android:gravity="left|center_vertical"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight">
+ android:gravity="start|center_vertical"
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingRight">
<TextView android:id="@android:id/text1"
android:layout_width="match_parent"
diff --git a/core/res/res/layout/media_route_list_item_checkable.xml b/core/res/res/layout/media_route_list_item_checkable.xml
index d0bffb6..088317f 100644
--- a/core/res/res/layout/media_route_list_item_checkable.xml
+++ b/core/res/res/layout/media_route_list_item_checkable.xml
@@ -30,9 +30,9 @@
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical"
- android:gravity="left|center_vertical"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight">
+ android:gravity="start|center_vertical"
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingRight">
<TextView android:id="@android:id/text1"
android:layout_width="match_parent"
@@ -52,7 +52,7 @@
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="16dp"
+ android:layout_marginEnd="16dp"
android:id="@+id/check"
android:focusable="false"
android:clickable="false" />
diff --git a/core/res/res/layout/media_route_list_item_collapse_group.xml b/core/res/res/layout/media_route_list_item_collapse_group.xml
index d605c18..9e6a969 100644
--- a/core/res/res/layout/media_route_list_item_collapse_group.xml
+++ b/core/res/res/layout/media_route_list_item_collapse_group.xml
@@ -22,8 +22,8 @@
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeightSmall"
android:background="#19ffffff"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingRight"
android:gravity="center_vertical">
<TextView android:layout_width="0dp"
diff --git a/core/res/res/layout/media_route_list_item_section_header.xml b/core/res/res/layout/media_route_list_item_section_header.xml
index 04bd0ea..f0b081a 100644
--- a/core/res/res/layout/media_route_list_item_section_header.xml
+++ b/core/res/res/layout/media_route_list_item_section_header.xml
@@ -27,8 +27,8 @@
android:textStyle="bold"
android:textAllCaps="true"
android:gravity="center_vertical"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingRight"
android:minHeight="24dp"
/>
</FrameLayout>
diff --git a/core/res/res/layout/media_route_list_item_top_header.xml b/core/res/res/layout/media_route_list_item_top_header.xml
index 75decd3..cdc5393 100644
--- a/core/res/res/layout/media_route_list_item_top_header.xml
+++ b/core/res/res/layout/media_route_list_item_top_header.xml
@@ -23,7 +23,7 @@
android:textStyle="bold"
android:textAllCaps="true"
android:gravity="center_vertical"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingRight"
android:minHeight="24dp"
/>
diff --git a/core/res/res/layout/menu_item.xml b/core/res/res/layout/menu_item.xml
index 7e9859f..df6462e 100644
--- a/core/res/res/layout/menu_item.xml
+++ b/core/res/res/layout/menu_item.xml
@@ -20,26 +20,26 @@
<MenuItemView xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:focusable="true" >
<TextView android:id="@+id/index"
- android:paddingLeft="0dip" android:paddingTop="1dip"
- android:paddingRight="8dip" android:paddingBottom="0dip"
+ android:paddingStart="0dip" android:paddingTop="1dip"
+ android:paddingEnd="8dip" android:paddingBottom="0dip"
android:layout_width="17dip" android:layout_height="wrap_content"
android:includeFontPadding="false" />
<ImageView android:id="@+id/check"
- android:paddingLeft="3dip" android:paddingTop="3dip"
- android:paddingRight="3dip" android:paddingBottom="0dip"
+ android:paddingStart="3dip" android:paddingTop="3dip"
+ android:paddingEnd="3dip" android:paddingBottom="0dip"
android:src="@drawable/menuitem_checkbox" android:scaleType="fitCenter"
android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:id="@+id/title"
- android:paddingLeft="0dip" android:paddingTop="1dip"
- android:paddingRight="0dip" android:paddingBottom="2dip"
+ android:paddingStart="0dip" android:paddingTop="1dip"
+ android:paddingEnd="0dip" android:paddingBottom="2dip"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:includeFontPadding="false" />
<TextView android:id="@+id/shortcut"
- android:paddingLeft="8dip" android:paddingTop="0dip"
- android:paddingRight="0dip" android:paddingBottom="0dip"
+ android:paddingStart="8dip" android:paddingTop="0dip"
+ android:paddingEnd="0dip" android:paddingBottom="0dip"
android:layout_width="20dip" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:includeFontPadding="true"/>
diff --git a/core/res/res/layout/notification_action.xml b/core/res/res/layout/notification_action.xml
index 33cbab9..4e7c74c 100644
--- a/core/res/res/layout/notification_action.xml
+++ b/core/res/res/layout/notification_action.xml
@@ -20,9 +20,9 @@
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
- android:gravity="left|center_vertical"
+ android:gravity="start|center_vertical"
android:drawablePadding="8dp"
- android:paddingLeft="8dp"
+ android:paddingStart="8dp"
android:textColor="#ccc"
android:textSize="14dp"
android:singleLine="true"
diff --git a/core/res/res/layout/notification_action_tombstone.xml b/core/res/res/layout/notification_action_tombstone.xml
index 992b37c..9977cfe 100644
--- a/core/res/res/layout/notification_action_tombstone.xml
+++ b/core/res/res/layout/notification_action_tombstone.xml
@@ -20,9 +20,9 @@
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
- android:gravity="left|center_vertical"
+ android:gravity="start|center_vertical"
android:drawablePadding="8dp"
- android:paddingLeft="8dp"
+ android:paddingStart="8dp"
android:textColor="#ccc"
android:textSize="14dp"
android:singleLine="true"
diff --git a/core/res/res/layout/notification_intruder_content.xml b/core/res/res/layout/notification_intruder_content.xml
index 7f37032..ffd84d4 100644
--- a/core/res/res/layout/notification_intruder_content.xml
+++ b/core/res/res/layout/notification_intruder_content.xml
@@ -13,7 +13,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
- android:layout_marginLeft="40dp"
+ android:layout_marginStart="40dp"
android:orientation="vertical"
>
<TextView android:id="@+id/title"
diff --git a/core/res/res/layout/notification_template_base.xml b/core/res/res/layout/notification_template_base.xml
index 47bbbde..134f45e 100644
--- a/core/res/res/layout/notification_template_base.xml
+++ b/core/res/res/layout/notification_template_base.xml
@@ -33,10 +33,10 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="fill_vertical"
- android:layout_marginLeft="@dimen/notification_large_icon_width"
+ android:layout_marginStart="@dimen/notification_large_icon_width"
android:minHeight="@dimen/notification_large_icon_height"
android:orientation="vertical"
- android:paddingRight="8dp"
+ android:paddingEnd="8dp"
android:paddingTop="2dp"
android:paddingBottom="2dp"
android:gravity="top"
@@ -46,7 +46,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="6dp"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:orientation="horizontal"
>
<TextView android:id="@+id/title"
@@ -81,7 +81,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="-2dp"
android:layout_marginBottom="-2dp"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:singleLine="true"
android:fadingEdge="horizontal"
android:ellipsize="marquee"
@@ -91,7 +91,7 @@
android:id="@android:id/progress"
android:layout_width="match_parent"
android:layout_height="12dp"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:visibility="gone"
style="?android:attr/progressBarStyleHorizontal"
/>
@@ -101,7 +101,7 @@
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
>
<TextView android:id="@+id/text"
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
@@ -121,14 +121,14 @@
android:layout_weight="0"
android:singleLine="true"
android:gravity="center"
- android:paddingLeft="8dp"
+ android:paddingStart="8dp"
/>
<ImageView android:id="@+id/right_icon"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_gravity="center"
android:layout_weight="0"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:scaleType="centerInside"
android:visibility="gone"
android:drawableAlpha="153"
diff --git a/core/res/res/layout/notification_template_big_base.xml b/core/res/res/layout/notification_template_big_base.xml
index 69f0a24..b5da486 100644
--- a/core/res/res/layout/notification_template_big_base.xml
+++ b/core/res/res/layout/notification_template_big_base.xml
@@ -40,7 +40,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/notification_large_icon_width"
+ android:layout_marginStart="@dimen/notification_large_icon_width"
android:minHeight="@dimen/notification_large_icon_height"
android:paddingTop="2dp"
android:orientation="vertical"
@@ -50,8 +50,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="6dp"
- android:layout_marginRight="8dp"
- android:layout_marginLeft="8dp"
+ android:layout_marginEnd="8dp"
+ android:layout_marginStart="8dp"
android:orientation="horizontal"
>
<TextView android:id="@+id/title"
@@ -86,8 +86,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="-2dp"
android:layout_marginBottom="-2dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="true"
android:fadingEdge="horizontal"
android:ellipsize="marquee"
@@ -97,8 +97,8 @@
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="false"
android:visibility="gone"
/>
@@ -106,8 +106,8 @@
android:id="@+id/line3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:orientation="horizontal"
android:gravity="center_vertical"
>
@@ -129,14 +129,14 @@
android:layout_weight="0"
android:singleLine="true"
android:gravity="center"
- android:paddingLeft="8dp"
+ android:paddingStart="8dp"
/>
<ImageView android:id="@+id/right_icon"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_gravity="center"
android:layout_weight="0"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:scaleType="centerInside"
android:visibility="gone"
android:drawableAlpha="153"
@@ -147,8 +147,8 @@
android:layout_width="match_parent"
android:layout_height="12dp"
android:layout_marginBottom="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:visibility="gone"
style="?android:attr/progressBarStyleHorizontal"
/>
@@ -163,7 +163,7 @@
layout="@layout/notification_action_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/notification_large_icon_width"
+ android:layout_marginStart="@dimen/notification_large_icon_width"
/>
</LinearLayout>
</FrameLayout>
diff --git a/core/res/res/layout/notification_template_big_picture.xml b/core/res/res/layout/notification_template_big_picture.xml
index 172dfe5..f3f3951 100644
--- a/core/res/res/layout/notification_template_big_picture.xml
+++ b/core/res/res/layout/notification_template_big_picture.xml
@@ -46,7 +46,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="208dp"
- android:paddingLeft="64dp"
+ android:paddingStart="64dp"
android:layout_gravity="bottom"
android:background="#CC111111"
>
diff --git a/core/res/res/layout/notification_template_big_text.xml b/core/res/res/layout/notification_template_big_text.xml
index 0b3386b..988a81f 100644
--- a/core/res/res/layout/notification_template_big_text.xml
+++ b/core/res/res/layout/notification_template_big_text.xml
@@ -32,7 +32,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="fill_vertical"
- android:layout_marginLeft="@dimen/notification_large_icon_width"
+ android:layout_marginStart="@dimen/notification_large_icon_width"
android:orientation="vertical"
android:paddingTop="2dp"
android:paddingBottom="2dp"
@@ -42,8 +42,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:layout_weight="1"
>
<LinearLayout
@@ -87,7 +87,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="-2dp"
android:layout_marginBottom="-2dp"
- android:layout_marginRight="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="true"
android:fadingEdge="horizontal"
android:ellipsize="marquee"
@@ -99,7 +99,7 @@
android:layout_width="match_parent"
android:layout_height="12dp"
android:layout_marginBottom="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginEnd="8dp"
android:visibility="gone"
android:layout_weight="0"
style="?android:attr/progressBarStyleHorizontal"
@@ -109,7 +109,7 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginBottom="10dp"
- android:layout_marginRight="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="false"
android:visibility="gone"
android:maxLines="8"
@@ -142,9 +142,9 @@
android:id="@+id/line3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:layout_marginBottom="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginEnd="8dp"
android:orientation="horizontal"
android:layout_weight="0"
android:gravity="center_vertical"
@@ -167,14 +167,14 @@
android:layout_weight="0"
android:singleLine="true"
android:gravity="center"
- android:paddingLeft="8dp"
+ android:paddingStart="8dp"
/>
<ImageView android:id="@+id/right_icon"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_gravity="center"
android:layout_weight="0"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:scaleType="centerInside"
android:visibility="gone"
android:drawableAlpha="153"
diff --git a/core/res/res/layout/notification_template_inbox.xml b/core/res/res/layout/notification_template_inbox.xml
index 8ee6263..6ebb443 100644
--- a/core/res/res/layout/notification_template_inbox.xml
+++ b/core/res/res/layout/notification_template_inbox.xml
@@ -33,7 +33,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="fill_vertical"
- android:layout_marginLeft="@dimen/notification_large_icon_width"
+ android:layout_marginStart="@dimen/notification_large_icon_width"
android:minHeight="@dimen/notification_large_icon_height"
android:orientation="vertical"
android:paddingTop="2dp"
@@ -44,8 +44,8 @@
android:id="@+id/line1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:paddingTop="6dp"
android:orientation="horizontal"
android:layout_weight="0"
@@ -82,8 +82,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="-2dp"
android:layout_marginBottom="-2dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="true"
android:fadingEdge="horizontal"
android:ellipsize="marquee"
@@ -94,8 +94,8 @@
android:id="@android:id/progress"
android:layout_width="match_parent"
android:layout_height="12dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:visibility="gone"
android:layout_weight="0"
style="?android:attr/progressBarStyleHorizontal"
@@ -104,8 +104,8 @@
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="true"
android:ellipsize="end"
android:visibility="gone"
@@ -115,8 +115,8 @@
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="true"
android:ellipsize="end"
android:visibility="gone"
@@ -126,8 +126,8 @@
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="true"
android:ellipsize="end"
android:visibility="gone"
@@ -137,8 +137,8 @@
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="true"
android:ellipsize="end"
android:visibility="gone"
@@ -148,7 +148,7 @@
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:singleLine="true"
android:ellipsize="end"
android:visibility="gone"
@@ -158,8 +158,8 @@
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="true"
android:ellipsize="end"
android:visibility="gone"
@@ -169,8 +169,8 @@
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="true"
android:ellipsize="end"
android:visibility="gone"
@@ -180,8 +180,8 @@
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
android:singleLine="true"
android:ellipsize="end"
android:visibility="gone"
@@ -212,9 +212,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:layout_marginBottom="8dp"
- android:layout_marginRight="8dp"
+ android:layout_marginEnd="8dp"
android:orientation="horizontal"
android:layout_weight="0"
android:gravity="center_vertical"
@@ -237,14 +237,14 @@
android:layout_weight="0"
android:singleLine="true"
android:gravity="center"
- android:paddingLeft="8dp"
+ android:paddingStart="8dp"
/>
<ImageView android:id="@+id/right_icon"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_gravity="center"
android:layout_weight="0"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:scaleType="centerInside"
android:visibility="gone"
android:drawableAlpha="153"
diff --git a/core/res/res/layout/notification_template_part_chronometer.xml b/core/res/res/layout/notification_template_part_chronometer.xml
index 382b0e4..aa9c4dc 100644
--- a/core/res/res/layout/notification_template_part_chronometer.xml
+++ b/core/res/res/layout/notification_template_part_chronometer.xml
@@ -22,5 +22,5 @@
android:layout_weight="0"
android:singleLine="true"
android:gravity="center"
- android:paddingLeft="8dp"
+ android:paddingStart="8dp"
/>
diff --git a/core/res/res/layout/notification_template_part_time.xml b/core/res/res/layout/notification_template_part_time.xml
index 410fcaf..2bd6c3f 100644
--- a/core/res/res/layout/notification_template_part_time.xml
+++ b/core/res/res/layout/notification_template_part_time.xml
@@ -22,5 +22,5 @@
android:layout_weight="0"
android:singleLine="true"
android:gravity="center"
- android:paddingLeft="8dp"
+ android:paddingStart="8dp"
/>
diff --git a/core/res/res/layout/permissions_account_and_authtokentype.xml b/core/res/res/layout/permissions_account_and_authtokentype.xml
index 8335726..ac5b08a 100644
--- a/core/res/res/layout/permissions_account_and_authtokentype.xml
+++ b/core/res/res/layout/permissions_account_and_authtokentype.xml
@@ -29,7 +29,7 @@
android:layout_width="30dip"
android:layout_height="30dip"
android:drawable="@drawable/ic_bullet_key_permission"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:scaleType="fitCenter" />
@@ -37,8 +37,8 @@
android:id="@+id/account_type"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold"
- android:paddingLeft="6dip"
- android:layout_toRightOf="@id/permission_icon"
+ android:paddingStart="6dip"
+ android:layout_toEndOf="@id/permission_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@@ -47,9 +47,9 @@
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_marginTop="-4dip"
android:paddingBottom="8dip"
- android:paddingLeft="6dip"
+ android:paddingStart="6dip"
android:layout_below="@id/account_type"
- android:layout_toRightOf="@id/permission_icon"
+ android:layout_toEndOf="@id/permission_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@@ -58,9 +58,9 @@
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_marginTop="-4dip"
android:paddingBottom="8dip"
- android:paddingLeft="6dip"
+ android:paddingStart="6dip"
android:layout_below="@id/account_name"
- android:layout_toRightOf="@id/permission_icon"
+ android:layout_toEndOf="@id/permission_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
diff --git a/core/res/res/layout/permissions_package_list_item.xml b/core/res/res/layout/permissions_package_list_item.xml
index 3c9570e..75ce0a7 100644
--- a/core/res/res/layout/permissions_package_list_item.xml
+++ b/core/res/res/layout/permissions_package_list_item.xml
@@ -28,7 +28,7 @@
android:id="@+id/package_icon"
android:layout_width="30dip"
android:layout_height="30dip"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:src="@drawable/ic_text_dot"
android:scaleType="fitCenter" />
@@ -37,8 +37,8 @@
android:id="@+id/package_label"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold"
- android:paddingLeft="6dip"
- android:layout_toRightOf="@id/package_icon"
+ android:paddingStart="6dip"
+ android:layout_toEndOf="@id/package_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
diff --git a/core/res/res/layout/popup_menu_item_layout.xml b/core/res/res/layout/popup_menu_item_layout.xml
index 1a12c01..f67ed4e 100644
--- a/core/res/res/layout/popup_menu_item_layout.xml
+++ b/core/res/res/layout/popup_menu_item_layout.xml
@@ -18,7 +18,7 @@
android:layout_width="match_parent"
android:layout_height="?android:attr/dropdownListPreferredItemHeight"
android:minWidth="196dip"
- android:paddingRight="16dip">
+ android:paddingEnd="16dip">
<!-- Icon will be inserted here. -->
@@ -28,7 +28,7 @@
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
- android:layout_marginLeft="16dip"
+ android:layout_marginStart="16dip"
android:duplicateParentState="true">
<TextView
@@ -36,7 +36,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
android:singleLine="true"
android:duplicateParentState="true"
@@ -48,7 +48,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/title"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:textAppearance="?android:attr/textAppearanceSmallPopupMenu"
android:singleLine="true"
android:duplicateParentState="true" />
diff --git a/core/res/res/layout/preference.xml b/core/res/res/layout/preference.xml
index 448f89a..824ca93 100644
--- a/core/res/res/layout/preference.xml
+++ b/core/res/res/layout/preference.xml
@@ -22,7 +22,7 @@
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
- android:paddingRight="?android:attr/scrollbarSize"
+ android:paddingEnd="?android:attr/scrollbarSize"
android:background="?android:attr/selectableItemBackground" >
<ImageView
@@ -35,8 +35,8 @@
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="15dip"
- android:layout_marginRight="6dip"
+ android:layout_marginStart="15dip"
+ android:layout_marginEnd="6dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1">
@@ -53,7 +53,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
- android:layout_alignLeft="@android:id/title"
+ android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="4" />
diff --git a/core/res/res/layout/preference_category_holo.xml b/core/res/res/layout/preference_category_holo.xml
index 81e595c..f2c63ae 100644
--- a/core/res/res/layout/preference_category_holo.xml
+++ b/core/res/res/layout/preference_category_holo.xml
@@ -18,5 +18,5 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
style="?android:attr/listSeparatorTextViewStyle"
android:id="@+android:id/title"
- android:paddingLeft="@dimen/preference_item_padding_side"
- android:paddingRight="@dimen/preference_item_padding_side" />
+ android:paddingStart="@dimen/preference_item_padding_side"
+ android:paddingEnd="@dimen/preference_item_padding_side" />
diff --git a/core/res/res/layout/preference_child.xml b/core/res/res/layout/preference_child.xml
index e9b50e0..6323c0e 100644
--- a/core/res/res/layout/preference_child.xml
+++ b/core/res/res/layout/preference_child.xml
@@ -20,8 +20,8 @@
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="?android:attr/scrollbarSize">
+ android:paddingStart="16dip"
+ android:paddingEnd="?android:attr/scrollbarSize">
<LinearLayout
android:layout_width="wrap_content"
@@ -40,7 +40,7 @@
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="6dip"
+ android:layout_marginEnd="6dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1">
@@ -57,7 +57,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
- android:layout_alignLeft="@android:id/title"
+ android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="4" />
diff --git a/core/res/res/layout/preference_child_holo.xml b/core/res/res/layout/preference_child_holo.xml
index 4167862..17f97fd 100644
--- a/core/res/res/layout/preference_child_holo.xml
+++ b/core/res/res/layout/preference_child_holo.xml
@@ -20,8 +20,8 @@
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
- android:paddingLeft="@dimen/preference_child_padding_side"
- android:paddingRight="?android:attr/scrollbarSize">
+ android:paddingStart="@dimen/preference_child_padding_side"
+ android:paddingEnd="?android:attr/scrollbarSize">
<LinearLayout
android:layout_width="wrap_content"
@@ -34,14 +34,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:paddingRight="@dimen/preference_item_padding_inner" />
+ android:paddingEnd="@dimen/preference_item_padding_inner" />
</LinearLayout>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:paddingRight="@dimen/preference_item_padding_inner"
+ android:paddingEnd="@dimen/preference_item_padding_inner"
android:paddingTop="6dip"
android:paddingBottom="6dip">
@@ -57,7 +57,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
- android:layout_alignLeft="@android:id/title"
+ android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="10" />
diff --git a/core/res/res/layout/preference_header_item.xml b/core/res/res/layout/preference_header_item.xml
index a987de3..0d582a0 100644
--- a/core/res/res/layout/preference_header_item.xml
+++ b/core/res/res/layout/preference_header_item.xml
@@ -21,21 +21,21 @@
android:minHeight="48dp"
android:background="?android:attr/activatedBackgroundIndicator"
android:gravity="center_vertical"
- android:paddingRight="?android:attr/scrollbarSize">
+ android:paddingEnd="?android:attr/scrollbarSize">
<ImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="6dip"
- android:layout_marginRight="6dip"
+ android:layout_marginStart="6dip"
+ android:layout_marginEnd="6dip"
android:layout_gravity="center" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="6dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="6dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1">
@@ -52,7 +52,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
- android:layout_alignLeft="@android:id/title"
+ android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:ellipsize="end"
android:maxLines="2" />
diff --git a/core/res/res/layout/preference_holo.xml b/core/res/res/layout/preference_holo.xml
index 8402b36..af7130b 100644
--- a/core/res/res/layout/preference_holo.xml
+++ b/core/res/res/layout/preference_holo.xml
@@ -22,8 +22,8 @@
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
- android:paddingLeft="@dimen/preference_item_padding_side"
- android:paddingRight="?android:attr/scrollbarSize">
+ android:paddingStart="@dimen/preference_item_padding_side"
+ android:paddingEnd="?android:attr/scrollbarSize">
<LinearLayout
android:layout_width="wrap_content"
@@ -37,7 +37,7 @@
android:layout_height="48dp"
android:layout_gravity="center"
android:scaleType="centerCrop"
- android:layout_marginRight="@dimen/preference_item_padding_inner"
+ android:layout_marginEnd="@dimen/preference_item_padding_inner"
/>
</LinearLayout>
@@ -45,7 +45,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:paddingRight="@dimen/preference_item_padding_inner"
+ android:paddingEnd="@dimen/preference_item_padding_inner"
android:paddingTop="6dip"
android:paddingBottom="6dip">
@@ -61,7 +61,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
- android:layout_alignLeft="@android:id/title"
+ android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="10" />
diff --git a/core/res/res/layout/preference_information.xml b/core/res/res/layout/preference_information.xml
index 32cbb90..e3be382 100644
--- a/core/res/res/layout/preference_information.xml
+++ b/core/res/res/layout/preference_information.xml
@@ -22,13 +22,13 @@
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
- android:paddingRight="?android:attr/scrollbarSize">
+ android:paddingEnd="?android:attr/scrollbarSize">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="16sp"
- android:layout_marginRight="6sp"
+ android:layout_marginStart="16sp"
+ android:layout_marginEnd="6sp"
android:layout_marginTop="6sp"
android:layout_marginBottom="6sp"
android:layout_weight="1">
@@ -44,7 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
- android:layout_alignLeft="@android:id/title"
+ android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="2" />
diff --git a/core/res/res/layout/preference_information_holo.xml b/core/res/res/layout/preference_information_holo.xml
index 5e03cfb..d0d446c 100644
--- a/core/res/res/layout/preference_information_holo.xml
+++ b/core/res/res/layout/preference_information_holo.xml
@@ -22,8 +22,8 @@
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
- android:paddingLeft="@dimen/preference_item_padding_side"
- android:paddingRight="?android:attr/scrollbarSize">
+ android:paddingStart="@dimen/preference_item_padding_side"
+ android:paddingEnd="?android:attr/scrollbarSize">
<LinearLayout
android:layout_width="wrap_content"
@@ -36,14 +36,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:paddingRight="@dimen/preference_item_padding_inner" />
+ android:paddingEnd="@dimen/preference_item_padding_inner" />
</LinearLayout>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:paddingRight="@dimen/preference_item_padding_inner"
+ android:paddingEnd="@dimen/preference_item_padding_inner"
android:paddingTop="6dip"
android:paddingBottom="6dip">
@@ -58,7 +58,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
- android:layout_alignLeft="@android:id/title"
+ android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="10" />
diff --git a/core/res/res/layout/preference_list_content.xml b/core/res/res/layout/preference_list_content.xml
index 70bc59a..5812053 100644
--- a/core/res/res/layout/preference_list_content.xml
+++ b/core/res/res/layout/preference_list_content.xml
@@ -34,16 +34,16 @@
android:orientation="vertical"
android:layout_width="0px"
android:layout_height="match_parent"
- android:layout_marginRight="@dimen/preference_screen_side_margin_negative"
- android:layout_marginLeft="@dimen/preference_screen_side_margin"
+ android:layout_marginEnd="@dimen/preference_screen_side_margin_negative"
+ android:layout_marginStart="@dimen/preference_screen_side_margin"
android:layout_weight="@integer/preferences_left_pane_weight">
<ListView android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1"
- android:paddingLeft="@dimen/preference_screen_header_padding_side"
- android:paddingRight="@dimen/preference_screen_header_padding_side"
+ android:paddingStart="@dimen/preference_screen_header_padding_side"
+ android:paddingEnd="@dimen/preference_screen_header_padding_side"
android:paddingTop="@dimen/preference_screen_header_vertical_padding"
android:paddingBottom="@dimen/preference_screen_header_vertical_padding"
android:clipToPadding="false"
@@ -92,14 +92,14 @@
android:layout_width="150dip"
android:layout_height="wrap_content"
android:layout_margin="5dip"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:text="@string/back_button_label"
/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentRight="true">
+ android:layout_alignParentEnd="true">
<Button android:id="@+id/skip_button"
android:layout_width="150dip"
diff --git a/core/res/res/layout/preference_list_content_single.xml b/core/res/res/layout/preference_list_content_single.xml
index 16afe13..726ce78 100644
--- a/core/res/res/layout/preference_list_content_single.xml
+++ b/core/res/res/layout/preference_list_content_single.xml
@@ -64,14 +64,14 @@
android:layout_width="150dip"
android:layout_height="wrap_content"
android:layout_margin="5dip"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:text="@string/back_button_label"
/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentRight="true">
+ android:layout_alignParentEnd="true">
<Button android:id="@+id/skip_button"
android:layout_width="150dip"
diff --git a/core/res/res/layout/preference_list_fragment.xml b/core/res/res/layout/preference_list_fragment.xml
index fdef4fc..abfb1f2 100644
--- a/core/res/res/layout/preference_list_fragment.xml
+++ b/core/res/res/layout/preference_list_fragment.xml
@@ -30,8 +30,8 @@
android:layout_weight="1"
android:paddingTop="0dip"
android:paddingBottom="@dimen/preference_fragment_padding_bottom"
- android:paddingLeft="@dimen/preference_fragment_padding_side"
- android:paddingRight="@dimen/preference_fragment_padding_side"
+ android:paddingStart="@dimen/preference_fragment_padding_side"
+ android:paddingEnd="@dimen/preference_fragment_padding_side"
android:scrollbarStyle="@integer/preference_fragment_scrollbarStyle"
android:clipToPadding="false"
android:drawSelectorOnTop="false"
@@ -55,14 +55,14 @@
android:layout_width="150dip"
android:layout_height="wrap_content"
android:layout_margin="5dip"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:text="@string/back_button_label"
/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentRight="true">
+ android:layout_alignParentEnd="true">
<Button android:id="@+id/skip_button"
android:layout_width="150dip"
diff --git a/core/res/res/layout/preference_widget_seekbar.xml b/core/res/res/layout/preference_widget_seekbar.xml
index e4cf86d..c427965 100644
--- a/core/res/res/layout/preference_widget_seekbar.xml
+++ b/core/res/res/layout/preference_widget_seekbar.xml
@@ -22,7 +22,7 @@
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
- android:paddingRight="?android:attr/scrollbarSize">
+ android:paddingEnd="?android:attr/scrollbarSize">
<LinearLayout
android:layout_width="wrap_content"
@@ -42,8 +42,8 @@
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="8dip"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="8dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1">
@@ -60,7 +60,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
- android:layout_alignLeft="@android:id/title"
+ android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="4" />
@@ -70,7 +70,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_below="@android:id/summary"
- android:layout_alignLeft="@android:id/title"
+ android:layout_alignStart="@android:id/title"
android:minWidth="@dimen/preference_widget_width"
android:gravity="center"
android:orientation="vertical" />
@@ -79,8 +79,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@android:id/summary"
- android:layout_toRightOf="@android:id/widget_frame"
- android:layout_alignParentRight="true" />
+ android:layout_toEndOf="@android:id/widget_frame"
+ android:layout_alignParentEnd="true" />
</RelativeLayout>
diff --git a/core/res/res/layout/preferences.xml b/core/res/res/layout/preferences.xml
index f0c2535..c631f6c 100644
--- a/core/res/res/layout/preferences.xml
+++ b/core/res/res/layout/preferences.xml
@@ -19,7 +19,7 @@
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="4dip"
+ android:layout_marginEnd="4dip"
android:layout_gravity="center_vertical"
android:background="@drawable/btn_circle"
android:src="@drawable/ic_btn_round_more" />
diff --git a/core/res/res/layout/progress_dialog.xml b/core/res/res/layout/progress_dialog.xml
index 08e720f..0d3cd4a 100644
--- a/core/res/res/layout/progress_dialog.xml
+++ b/core/res/res/layout/progress_dialog.xml
@@ -27,9 +27,9 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:baselineAligned="false"
- android:paddingLeft="8dip"
+ android:paddingStart="8dip"
android:paddingTop="10dip"
- android:paddingRight="8dip"
+ android:paddingEnd="8dip"
android:paddingBottom="10dip">
<ProgressBar android:id="@android:id/progress"
@@ -37,7 +37,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:max="10000"
- android:layout_marginRight="12dip" />
+ android:layout_marginEnd="12dip" />
<TextView android:id="@+id/message"
android:layout_width="match_parent"
diff --git a/core/res/res/layout/progress_dialog_holo.xml b/core/res/res/layout/progress_dialog_holo.xml
index 9631efd..6aad9ea 100644
--- a/core/res/res/layout/progress_dialog_holo.xml
+++ b/core/res/res/layout/progress_dialog_holo.xml
@@ -33,7 +33,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:max="10000"
- android:layout_marginRight="16dip" />
+ android:layout_marginEnd="16dip" />
<TextView android:id="@+id/message"
android:layout_width="match_parent"
diff --git a/core/res/res/layout/resolve_list_item.xml b/core/res/res/layout/resolve_list_item.xml
index 1d464aa..61cecae 100644
--- a/core/res/res/layout/resolve_list_item.xml
+++ b/core/res/res/layout/resolve_list_item.xml
@@ -33,8 +33,8 @@
android:gravity="center"
android:minLines="2"
android:maxLines="2"
- android:paddingLeft="4dip"
- android:paddingRight="4dip" />
+ android:paddingStart="4dip"
+ android:paddingEnd="4dip" />
<!-- Activity icon when presenting dialog
Size will be filled in by ResolverActivity -->
@@ -51,7 +51,7 @@
android:gravity="center"
android:minLines="2"
android:maxLines="2"
- android:paddingLeft="4dip"
- android:paddingRight="4dip" />
+ android:paddingStart="4dip"
+ android:paddingEnd="4dip" />
</LinearLayout>
diff --git a/core/res/res/layout/resolver_grid.xml b/core/res/res/layout/resolver_grid.xml
index 4a0e84a..d271c1a 100644
--- a/core/res/res/layout/resolver_grid.xml
+++ b/core/res/res/layout/resolver_grid.xml
@@ -48,7 +48,7 @@
android:measureWithLargestChild="true">
<Button android:id="@+id/button_always"
android:layout_width="wrap_content"
- android:layout_gravity="right"
+ android:layout_gravity="end"
android:layout_weight="1"
android:maxLines="2"
android:minHeight="@dimen/alert_dialog_button_bar_height"
@@ -60,7 +60,7 @@
android:onClick="onButtonClick" />
<Button android:id="@+id/button_once"
android:layout_width="wrap_content"
- android:layout_gravity="left"
+ android:layout_gravity="start"
android:layout_weight="1"
android:maxLines="2"
style="?android:attr/buttonBarButtonStyle"
diff --git a/core/res/res/layout/screen.xml b/core/res/res/layout/screen.xml
index 72f7392..902a797 100644
--- a/core/res/res/layout/screen.xml
+++ b/core/res/res/layout/screen.xml
@@ -41,8 +41,8 @@ This is the basic layout for a screen, with all of its features enabled.
<ImageView android:id="@android:id/left_icon"
android:layout_width="16dip"
android:layout_height="16dip"
- android:layout_marginRight="5dip"
- android:layout_alignParentLeft="true"
+ android:layout_marginEnd="5dip"
+ android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:visibility="gone"
android:scaleType="fitCenter"
@@ -50,13 +50,13 @@ This is the basic layout for a screen, with all of its features enabled.
<LinearLayout android:id="@+android:id/right_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
>
<ImageView android:id="@android:id/right_icon"
android:layout_width="16dip"
android:layout_height="16dip"
- android:layout_marginLeft="5dip"
+ android:layout_marginStart="5dip"
android:layout_gravity="center_vertical"
android:visibility="gone"
android:scaleType="fitCenter"
@@ -65,7 +65,7 @@ This is the basic layout for a screen, with all of its features enabled.
style="?android:attr/progressBarStyleSmallTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="5dip"
+ android:layout_marginStart="5dip"
android:layout_gravity="center_vertical"
android:visibility="gone"
android:max="10000"
@@ -75,9 +75,9 @@ This is the basic layout for a screen, with all of its features enabled.
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="2dip"
- android:layout_toLeftOf="@android:id/right_container"
- android:layout_toRightOf="@android:id/left_icon"
+ android:layout_marginStart="2dip"
+ android:layout_toStartOf="@android:id/right_container"
+ android:layout_toEndOf="@android:id/left_icon"
android:layout_centerVertical="true"
android:visibility="gone"
android:max="10000"
@@ -90,8 +90,8 @@ This is the basic layout for a screen, with all of its features enabled.
android:fadingEdge="horizontal"
android:scrollHorizontally="true"
android:gravity="center_vertical"
- android:layout_toLeftOf="@android:id/right_container"
- android:layout_toRightOf="@id/left_icon"
+ android:layout_toStartOf="@android:id/right_container"
+ android:layout_toEndOf="@id/left_icon"
/>
</RelativeLayout>
diff --git a/core/res/res/layout/screen_progress.xml b/core/res/res/layout/screen_progress.xml
index c3f41fa..1f04d35 100644
--- a/core/res/res/layout/screen_progress.xml
+++ b/core/res/res/layout/screen_progress.xml
@@ -42,8 +42,8 @@ This is the basic layout for a screen, with all of its features enabled.
style="?android:attr/progressBarStyleSmallTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="5dip"
- android:layout_alignParentRight="true"
+ android:layout_marginStart="5dip"
+ android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:visibility="gone"
android:max="10000"
@@ -52,9 +52,9 @@ This is the basic layout for a screen, with all of its features enabled.
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="2dip"
- android:layout_alignParentLeft="true"
- android:layout_toLeftOf="@android:id/progress_circular"
+ android:layout_marginStart="2dip"
+ android:layout_alignParentStart="true"
+ android:layout_toStartOf="@android:id/progress_circular"
android:layout_centerVertical="true"
android:visibility="gone"
android:max="10000"
@@ -63,8 +63,8 @@ This is the basic layout for a screen, with all of its features enabled.
style="?android:attr/windowTitleStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:layout_toLeftOf="@android:id/progress_circular"
+ android:layout_alignParentStart="true"
+ android:layout_toStartOf="@android:id/progress_circular"
android:background="@null"
android:fadingEdge="horizontal"
android:gravity="center_vertical"
diff --git a/core/res/res/layout/screen_title_icons.xml b/core/res/res/layout/screen_title_icons.xml
index 51d6a15..b866e57 100644
--- a/core/res/res/layout/screen_title_icons.xml
+++ b/core/res/res/layout/screen_title_icons.xml
@@ -36,19 +36,19 @@ This is the basic layout for a screen, with all of its features enabled.
<!-- The title background has 9px left padding. -->
<ImageView android:id="@android:id/left_icon"
android:visibility="gone"
- android:layout_marginRight="9dip"
+ android:layout_marginEnd="9dip"
android:layout_width="16dip"
android:layout_height="16dip"
android:scaleType="fitCenter"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:layout_centerVertical="true" />
<ProgressBar android:id="@+id/progress_circular"
style="?android:attr/progressBarStyleSmallTitle"
android:visibility="gone"
android:max="10000"
android:layout_centerVertical="true"
- android:layout_alignParentRight="true"
- android:layout_marginLeft="6dip"
+ android:layout_alignParentEnd="true"
+ android:layout_marginStart="6dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<!-- There are 6dip between this and the circular progress on the right, we
@@ -59,9 +59,9 @@ This is the basic layout for a screen, with all of its features enabled.
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="-3dip"
- android:layout_toLeftOf="@android:id/progress_circular"
- android:layout_toRightOf="@android:id/left_icon"
+ android:layout_marginStart="-3dip"
+ android:layout_toStartOf="@android:id/progress_circular"
+ android:layout_toEndOf="@android:id/left_icon"
android:layout_centerVertical="true"
android:visibility="gone"
android:max="10000" />
@@ -69,8 +69,8 @@ This is the basic layout for a screen, with all of its features enabled.
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
- android:layout_toLeftOf="@id/progress_circular"
- android:layout_toRightOf="@android:id/left_icon"
+ android:layout_toStartOf="@id/progress_circular"
+ android:layout_toEndOf="@android:id/left_icon"
>
<TextView android:id="@android:id/title"
style="?android:attr/windowTitleStyle"
@@ -81,7 +81,7 @@ This is the basic layout for a screen, with all of its features enabled.
android:fadingEdge="horizontal"
android:scrollHorizontally="true"
android:gravity="center_vertical"
- android:layout_marginRight="2dip"
+ android:layout_marginEnd="2dip"
/>
<!-- 2dip between the icon and the title text, if icon is present. -->
<ImageView android:id="@android:id/right_icon"
diff --git a/core/res/res/layout/search_dropdown_item_icons_2line.xml b/core/res/res/layout/search_dropdown_item_icons_2line.xml
index acef2cc..730d606 100644
--- a/core/res/res/layout/search_dropdown_item_icons_2line.xml
+++ b/core/res/res/layout/search_dropdown_item_icons_2line.xml
@@ -19,8 +19,8 @@
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:paddingLeft="@dimen/dropdownitem_text_padding_left"
- android:paddingRight="4dip"
+ android:paddingStart="@dimen/dropdownitem_text_padding_left"
+ android:paddingEnd="4dip"
android:layout_width="match_parent"
android:layout_height="?android:attr/searchResultListItemHeight" >
@@ -30,7 +30,7 @@
android:layout_width="@dimen/dropdownitem_icon_width"
android:layout_height="48dip"
android:scaleType="centerInside"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
android:visibility="invisible" />
@@ -39,7 +39,7 @@
android:layout_width="48dip"
android:layout_height="48dip"
android:scaleType="centerInside"
- android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
android:src="?attr/searchViewEditQuery"
@@ -51,7 +51,7 @@
android:layout_height="48dip"
android:scaleType="centerInside"
android:layout_alignWithParentIfMissing="true"
- android:layout_toLeftOf="@id/edit_query"
+ android:layout_toStartOf="@id/edit_query"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
android:visibility="gone" />
@@ -67,8 +67,8 @@
android:layout_height="29dip"
android:paddingBottom="4dip"
android:gravity="top"
- android:layout_toRightOf="@android:id/icon1"
- android:layout_toLeftOf="@android:id/icon2"
+ android:layout_toEndOf="@android:id/icon1"
+ android:layout_toStartOf="@android:id/icon2"
android:layout_alignWithParentIfMissing="true"
android:layout_alignParentBottom="true"
android:visibility="gone" />
@@ -82,8 +82,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
- android:layout_toRightOf="@android:id/icon1"
- android:layout_toLeftOf="@android:id/icon2"
+ android:layout_toEndOf="@android:id/icon1"
+ android:layout_toStartOf="@android:id/icon2"
android:layout_above="@android:id/text2" />
</RelativeLayout>
diff --git a/core/res/res/layout/search_view.xml b/core/res/res/layout/search_view.xml
index ca1dc88..a281fcc 100644
--- a/core/res/res/layout/search_view.xml
+++ b/core/res/res/layout/search_view.xml
@@ -56,8 +56,8 @@
android:layout_gravity="center_vertical"
android:layout_marginTop="4dip"
android:layout_marginBottom="4dip"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="8dip"
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="8dip"
android:orientation="horizontal">
<ImageView
@@ -65,7 +65,7 @@
android:layout_width="@dimen/dropdownitem_icon_width"
android:layout_height="wrap_content"
android:scaleType="centerInside"
- android:layout_marginLeft="@dimen/dropdownitem_text_padding_left"
+ android:layout_marginStart="@dimen/dropdownitem_text_padding_left"
android:layout_gravity="center_vertical"
android:src="?android:attr/searchViewSearchIcon"
android:visibility="gone"
@@ -88,8 +88,8 @@
android:layout_weight="1"
android:minWidth="@dimen/search_view_text_min_width"
android:layout_gravity="bottom"
- android:paddingLeft="@dimen/dropdownitem_text_padding_left"
- android:paddingRight="@dimen/dropdownitem_text_padding_right"
+ android:paddingStart="@dimen/dropdownitem_text_padding_left"
+ android:paddingEnd="@dimen/dropdownitem_text_padding_right"
android:singleLine="true"
android:ellipsize="end"
android:background="@null"
@@ -106,8 +106,8 @@
android:id="@+id/search_close_btn"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip"
android:layout_gravity="center_vertical"
android:background="?android:attr/selectableItemBackground"
android:src="?android:attr/searchViewCloseIcon"
@@ -129,8 +129,8 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:background="?android:attr/selectableItemBackground"
android:src="?android:attr/searchViewGoIcon"
android:visibility="gone"
@@ -143,8 +143,8 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:src="?android:attr/searchViewVoiceIcon"
android:background="?android:attr/selectableItemBackground"
android:visibility="gone"
diff --git a/core/res/res/layout/select_dialog_item.xml b/core/res/res/layout/select_dialog_item.xml
index 96fdcc6..835c433 100644
--- a/core/res/res/layout/select_dialog_item.xml
+++ b/core/res/res/layout/select_dialog_item.xml
@@ -31,7 +31,7 @@
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:gravity="center_vertical"
- android:paddingLeft="14dip"
- android:paddingRight="15dip"
+ android:paddingStart="14dip"
+ android:paddingEnd="15dip"
android:ellipsize="marquee"
/>
diff --git a/core/res/res/layout/select_dialog_item_holo.xml b/core/res/res/layout/select_dialog_item_holo.xml
index 3d19c06..62be406 100644
--- a/core/res/res/layout/select_dialog_item_holo.xml
+++ b/core/res/res/layout/select_dialog_item_holo.xml
@@ -30,7 +30,7 @@
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:ellipsize="marquee"
/>
diff --git a/core/res/res/layout/select_dialog_multichoice.xml b/core/res/res/layout/select_dialog_multichoice.xml
index a9be014..2dd83a3 100644
--- a/core/res/res/layout/select_dialog_multichoice.xml
+++ b/core/res/res/layout/select_dialog_multichoice.xml
@@ -22,8 +22,8 @@
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:gravity="center_vertical"
- android:paddingLeft="12dip"
- android:paddingRight="7dip"
+ android:paddingStart="12dip"
+ android:paddingEnd="7dip"
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
android:ellipsize="marquee"
/>
diff --git a/core/res/res/layout/select_dialog_multichoice_holo.xml b/core/res/res/layout/select_dialog_multichoice_holo.xml
index 683151c..40125b7 100644
--- a/core/res/res/layout/select_dialog_multichoice_holo.xml
+++ b/core/res/res/layout/select_dialog_multichoice_holo.xml
@@ -22,8 +22,8 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
android:ellipsize="marquee"
/>
diff --git a/core/res/res/layout/select_dialog_singlechoice.xml b/core/res/res/layout/select_dialog_singlechoice.xml
index 1b9c973..1e18b44 100644
--- a/core/res/res/layout/select_dialog_singlechoice.xml
+++ b/core/res/res/layout/select_dialog_singlechoice.xml
@@ -22,8 +22,8 @@
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:gravity="center_vertical"
- android:paddingLeft="12dip"
- android:paddingRight="7dip"
+ android:paddingStart="12dip"
+ android:paddingEnd="7dip"
android:checkMark="?android:attr/listChoiceIndicatorSingle"
android:ellipsize="marquee"
/>
diff --git a/core/res/res/layout/select_dialog_singlechoice_holo.xml b/core/res/res/layout/select_dialog_singlechoice_holo.xml
index 52782d0..545ec60 100644
--- a/core/res/res/layout/select_dialog_singlechoice_holo.xml
+++ b/core/res/res/layout/select_dialog_singlechoice_holo.xml
@@ -22,8 +22,8 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:checkMark="?android:attr/listChoiceIndicatorSingle"
android:ellipsize="marquee"
/>
diff --git a/core/res/res/layout/simple_dropdown_hint.xml b/core/res/res/layout/simple_dropdown_hint.xml
index df9d720..2583339 100644
--- a/core/res/res/layout/simple_dropdown_hint.xml
+++ b/core/res/res/layout/simple_dropdown_hint.xml
@@ -21,9 +21,9 @@
android:id="@android:id/text1"
android:textAppearance="?android:attr/dropDownHintAppearance"
android:singleLine="true"
- android:layout_marginLeft="3dip"
+ android:layout_marginStart="3dip"
android:layout_marginTop="3dip"
- android:layout_marginRight="3dip"
+ android:layout_marginEnd="3dip"
android:layout_marginBottom="3dip"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
diff --git a/core/res/res/layout/simple_dropdown_item_2line.xml b/core/res/res/layout/simple_dropdown_item_2line.xml
index d6f911a..c7093b4 100644
--- a/core/res/res/layout/simple_dropdown_item_2line.xml
+++ b/core/res/res/layout/simple_dropdown_item_2line.xml
@@ -51,7 +51,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@android:id/text1"
- android:layout_alignLeft="@android:id/text1" />
+ android:layout_alignStart="@android:id/text1" />
</TwoLineListItem>
diff --git a/core/res/res/layout/simple_expandable_list_item_1.xml b/core/res/res/layout/simple_expandable_list_item_1.xml
index df4324b..9810a60 100644
--- a/core/res/res/layout/simple_expandable_list_item_1.xml
+++ b/core/res/res/layout/simple_expandable_list_item_1.xml
@@ -18,7 +18,7 @@
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
- android:paddingLeft="?android:attr/expandableListPreferredItemPaddingLeft"
+ android:paddingStart="?android:attr/expandableListPreferredItemPaddingLeft"
android:textAppearance="?android:attr/textAppearanceListItem"
android:gravity="center_vertical"
/>
diff --git a/core/res/res/layout/simple_expandable_list_item_2.xml b/core/res/res/layout/simple_expandable_list_item_2.xml
index c0935fa..ed845f8 100644
--- a/core/res/res/layout/simple_expandable_list_item_2.xml
+++ b/core/res/res/layout/simple_expandable_list_item_2.xml
@@ -19,7 +19,7 @@
android:layout_height="?android:attr/listPreferredItemHeight"
android:paddingTop="2dip"
android:paddingBottom="2dip"
- android:paddingLeft="?android:attr/expandableListPreferredItemPaddingLeft"
+ android:paddingStart="?android:attr/expandableListPreferredItemPaddingLeft"
android:mode="twoLine"
>
@@ -34,7 +34,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@android:id/text1"
- android:layout_alignLeft="@android:id/text1"
+ android:layout_alignStart="@android:id/text1"
android:textAppearance="?android:attr/textAppearanceSmall"
/>
diff --git a/core/res/res/layout/simple_list_item_1.xml b/core/res/res/layout/simple_list_item_1.xml
index c5e3efc..b1da979 100644
--- a/core/res/res/layout/simple_list_item_1.xml
+++ b/core/res/res/layout/simple_list_item_1.xml
@@ -20,7 +20,7 @@
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:gravity="center_vertical"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingRight"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
/>
diff --git a/core/res/res/layout/simple_list_item_2.xml b/core/res/res/layout/simple_list_item_2.xml
index 9369876..d67ecaf 100644
--- a/core/res/res/layout/simple_list_item_2.xml
+++ b/core/res/res/layout/simple_list_item_2.xml
@@ -24,7 +24,7 @@
<TextView android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="?android:attr/listPreferredItemPaddingLeft"
+ android:layout_marginStart="?android:attr/listPreferredItemPaddingLeft"
android:layout_marginTop="8dip"
android:textAppearance="?android:attr/textAppearanceListItem"
/>
@@ -33,7 +33,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@android:id/text1"
- android:layout_alignLeft="@android:id/text1"
+ android:layout_alignStart="@android:id/text1"
android:textAppearance="?android:attr/textAppearanceSmall"
/>
diff --git a/core/res/res/layout/simple_list_item_2_single_choice.xml b/core/res/res/layout/simple_list_item_2_single_choice.xml
index 90dfe37..5629567 100644
--- a/core/res/res/layout/simple_list_item_2_single_choice.xml
+++ b/core/res/res/layout/simple_list_item_2_single_choice.xml
@@ -19,8 +19,8 @@
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="12dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="12dip"
android:minHeight="?android:attr/listPreferredItemHeightSmall">
<LinearLayout
android:layout_width="wrap_content"
@@ -33,7 +33,7 @@
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorAlertDialogListItem"
- android:gravity="center_vertical|left"
+ android:gravity="center_vertical|start"
android:singleLine="true"
android:ellipsize="marquee"
/>
@@ -42,7 +42,7 @@
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorAlertDialogListItem"
- android:gravity="center_vertical|left"
+ android:gravity="center_vertical|start"
android:singleLine="true"
android:ellipsize="marquee"
/>
@@ -51,7 +51,7 @@
android:id="@+id/radio"
android:layout_width="35dip"
android:layout_height="wrap_content"
- android:paddingRight="12dip"
+ android:paddingEnd="12dip"
android:gravity="center_vertical"
android:focusable="false"
android:clickable="false"
diff --git a/core/res/res/layout/simple_list_item_activated_1.xml b/core/res/res/layout/simple_list_item_activated_1.xml
index a5fb5d1..20a5514 100644
--- a/core/res/res/layout/simple_list_item_activated_1.xml
+++ b/core/res/res/layout/simple_list_item_activated_1.xml
@@ -20,8 +20,8 @@
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:gravity="center_vertical"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingRight"
android:background="?android:attr/activatedBackgroundIndicator"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
/>
diff --git a/core/res/res/layout/simple_list_item_activated_2.xml b/core/res/res/layout/simple_list_item_activated_2.xml
index 8746f6f..a531943 100644
--- a/core/res/res/layout/simple_list_item_activated_2.xml
+++ b/core/res/res/layout/simple_list_item_activated_2.xml
@@ -27,7 +27,7 @@
<TextView android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="?android:attr/listPreferredItemPaddingLeft"
+ android:layout_marginStart="?android:attr/listPreferredItemPaddingLeft"
android:layout_marginTop="6dip"
android:textAppearance="?android:attr/textAppearanceListItem"
/>
@@ -36,7 +36,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@android:id/text1"
- android:layout_alignLeft="@android:id/text1"
+ android:layout_alignStart="@android:id/text1"
android:textAppearance="?android:attr/textAppearanceSmall"
/>
diff --git a/core/res/res/layout/simple_list_item_checked.xml b/core/res/res/layout/simple_list_item_checked.xml
index c9153f8..6d36490 100644
--- a/core/res/res/layout/simple_list_item_checked.xml
+++ b/core/res/res/layout/simple_list_item_checked.xml
@@ -21,6 +21,6 @@
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:gravity="center_vertical"
android:checkMark="?android:attr/textCheckMark"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingRight"
/>
diff --git a/core/res/res/layout/simple_list_item_multiple_choice.xml b/core/res/res/layout/simple_list_item_multiple_choice.xml
index cb23dfd..0d142d2 100644
--- a/core/res/res/layout/simple_list_item_multiple_choice.xml
+++ b/core/res/res/layout/simple_list_item_multiple_choice.xml
@@ -21,6 +21,6 @@
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:gravity="center_vertical"
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingRight"
/>
diff --git a/core/res/res/layout/simple_list_item_single_choice.xml b/core/res/res/layout/simple_list_item_single_choice.xml
index 4a6cefa..f27c5fb 100644
--- a/core/res/res/layout/simple_list_item_single_choice.xml
+++ b/core/res/res/layout/simple_list_item_single_choice.xml
@@ -21,6 +21,6 @@
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:gravity="center_vertical"
android:checkMark="?android:attr/listChoiceIndicatorSingle"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingRight"
/>
diff --git a/core/res/res/layout/simple_selectable_list_item.xml b/core/res/res/layout/simple_selectable_list_item.xml
index 6ce22d6..40f0ed6 100644
--- a/core/res/res/layout/simple_selectable_list_item.xml
+++ b/core/res/res/layout/simple_selectable_list_item.xml
@@ -21,6 +21,6 @@
android:textAppearance="?android:attr/textAppearanceListItem"
android:gravity="center_vertical"
android:background="?android:attr/listChoiceBackgroundIndicator"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip"
/>
diff --git a/core/res/res/layout/ssl_certificate.xml b/core/res/res/layout/ssl_certificate.xml
index dd89a2d..a69d2a3 100644
--- a/core/res/res/layout/ssl_certificate.xml
+++ b/core/res/res/layout/ssl_certificate.xml
@@ -23,7 +23,7 @@
android:id="@+id/body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:gravity="left"
+ android:gravity="start"
android:orientation="vertical" >
<!-- Placeholder for the success message or one or more warnings -->
@@ -43,8 +43,8 @@
android:scaleType="fitXY"
android:layout_weight="1"
android:gravity="fill_horizontal"
- android:layout_marginRight="20dip"
- android:layout_marginLeft="20dip"/>
+ android:layout_marginEnd="20dip"
+ android:layout_marginStart="20dip"/>
<!-- Issued to: -->
<TextView
@@ -54,8 +54,8 @@
android:text="@string/issued_to"
android:textStyle="bold"
android:layout_marginTop="12dip"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Common name: -->
@@ -64,15 +64,15 @@
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="@string/common_name"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/to_common"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Organization: -->
@@ -81,15 +81,15 @@
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="@string/org_name"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/to_org"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Organizational unit: -->
@@ -98,15 +98,15 @@
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="@string/org_unit"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/to_org_unit"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Serial number: -->
@@ -115,15 +115,15 @@
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="@string/serial_number"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/serial_number"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Issued by: -->
@@ -134,8 +134,8 @@
android:text="@string/issued_by"
android:textStyle="bold"
android:layout_marginTop="12dip"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Common name: -->
@@ -144,15 +144,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/common_name"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/by_common"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Organization: -->
@@ -161,15 +161,15 @@
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="@string/org_name"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/by_org"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Organizational unit: -->
@@ -178,15 +178,15 @@
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="@string/org_unit"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/by_org_unit"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Validity Dates: -->
@@ -197,8 +197,8 @@
android:text="@string/validity_period"
android:textStyle="bold"
android:layout_marginTop="12dip"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Issued On: -->
@@ -207,15 +207,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/issued_on"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/issued_on"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Expires On: -->
@@ -224,15 +224,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/expires_on"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/expires_on"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- Fingerprints: -->
@@ -243,8 +243,8 @@
android:text="@string/fingerprints"
android:textStyle="bold"
android:layout_marginTop="12dip"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- SHA-256 fingerprint: -->
@@ -253,15 +253,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/sha256_fingerprint"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/sha256_fingerprint"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
<!-- SHA-1 fingerprint: -->
@@ -270,15 +270,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/sha1_fingerprint"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip" />
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip" />
<TextView
android:id="@+id/sha1_fingerprint"
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
+ android:layout_marginStart="20dip"
+ android:layout_marginEnd="20dip"
android:layout_marginBottom="7dip" />
</LinearLayout>
diff --git a/core/res/res/layout/tab_indicator.xml b/core/res/res/layout/tab_indicator.xml
index bc657c3..55ab1d8 100644
--- a/core/res/res/layout/tab_indicator.xml
+++ b/core/res/res/layout/tab_indicator.xml
@@ -18,8 +18,8 @@
android:layout_width="0dip"
android:layout_height="64dip"
android:layout_weight="1"
- android:layout_marginLeft="-3dip"
- android:layout_marginRight="-3dip"
+ android:layout_marginStart="-3dip"
+ android:layout_marginEnd="-3dip"
android:background="@android:drawable/tab_indicator">
<ImageView android:id="@+id/icon"
diff --git a/core/res/res/layout/text_edit_action_popup_text.xml b/core/res/res/layout/text_edit_action_popup_text.xml
index 42e6f2e..16bf30e 100644
--- a/core/res/res/layout/text_edit_action_popup_text.xml
+++ b/core/res/res/layout/text_edit_action_popup_text.xml
@@ -17,8 +17,8 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:paddingTop="8dip"
android:paddingBottom="8dip"
android:gravity="center"
diff --git a/core/res/res/layout/text_edit_no_paste_window.xml b/core/res/res/layout/text_edit_no_paste_window.xml
index c4c0b8a..10a752c 100644
--- a/core/res/res/layout/text_edit_no_paste_window.xml
+++ b/core/res/res/layout/text_edit_no_paste_window.xml
@@ -21,8 +21,8 @@
<TextView android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:paddingTop="8dip"
android:paddingBottom="8dip"
android:drawablePadding="8dip"
diff --git a/core/res/res/layout/text_edit_paste_window.xml b/core/res/res/layout/text_edit_paste_window.xml
index adfe56b..3b8dbf2 100644
--- a/core/res/res/layout/text_edit_paste_window.xml
+++ b/core/res/res/layout/text_edit_paste_window.xml
@@ -21,8 +21,8 @@
<TextView android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:paddingTop="8dip"
android:paddingBottom="12dip"
android:drawablePadding="8dip"
diff --git a/core/res/res/layout/text_edit_side_no_paste_window.xml b/core/res/res/layout/text_edit_side_no_paste_window.xml
index 78423a7..aa695cd 100644
--- a/core/res/res/layout/text_edit_side_no_paste_window.xml
+++ b/core/res/res/layout/text_edit_side_no_paste_window.xml
@@ -21,8 +21,8 @@
<TextView android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:paddingTop="8dip"
android:paddingBottom="8dip"
android:drawablePadding="8dip"
diff --git a/core/res/res/layout/text_edit_side_paste_window.xml b/core/res/res/layout/text_edit_side_paste_window.xml
index 37b774d..c947a19 100644
--- a/core/res/res/layout/text_edit_side_paste_window.xml
+++ b/core/res/res/layout/text_edit_side_paste_window.xml
@@ -21,8 +21,8 @@
<TextView android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:paddingTop="8dip"
android:paddingBottom="8dip"
android:drawablePadding="8dip"
diff --git a/core/res/res/layout/text_edit_suggestion_item.xml b/core/res/res/layout/text_edit_suggestion_item.xml
index 1fdc1bf..a965ddd 100644
--- a/core/res/res/layout/text_edit_suggestion_item.xml
+++ b/core/res/res/layout/text_edit_suggestion_item.xml
@@ -17,11 +17,11 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingLeft="16dip"
- android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:paddingTop="8dip"
android:paddingBottom="8dip"
- android:layout_gravity="left|center_vertical"
+ android:layout_gravity="start|center_vertical"
android:singleLine="true"
android:drawablePadding="8dip"
android:ellipsize="marquee"
diff --git a/core/res/res/layout/time_picker.xml b/core/res/res/layout/time_picker.xml
index df46db4..3958fc6 100644
--- a/core/res/res/layout/time_picker.xml
+++ b/core/res/res/layout/time_picker.xml
@@ -39,7 +39,7 @@
android:id="@+id/minute"
android:layout_width="70dip"
android:layout_height="wrap_content"
- android:layout_marginLeft="5dip"
+ android:layout_marginStart="5dip"
android:focusable="true"
android:focusableInTouchMode="true"
/>
@@ -50,9 +50,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="43dip"
- android:layout_marginLeft="5dip"
- android:paddingLeft="20dip"
- android:paddingRight="20dip"
+ android:layout_marginStart="5dip"
+ android:paddingStart="20dip"
+ android:paddingEnd="20dip"
style="?android:attr/textAppearanceLargeInverse"
android:textColor="@android:color/primary_text_light_nodisable"
/>
diff --git a/core/res/res/layout/time_picker_holo.xml b/core/res/res/layout/time_picker_holo.xml
index 7b91022..765e71d 100644
--- a/core/res/res/layout/time_picker_holo.xml
+++ b/core/res/res/layout/time_picker_holo.xml
@@ -32,8 +32,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dip"
android:layout_marginBottom="16dip"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="6dip"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="6dip"
android:focusable="true"
android:focusableInTouchMode="true"
/>
@@ -54,8 +54,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dip"
android:layout_marginBottom="16dip"
- android:layout_marginLeft="6dip"
- android:layout_marginRight="8dip"
+ android:layout_marginStart="6dip"
+ android:layout_marginEnd="8dip"
android:focusable="true"
android:focusableInTouchMode="true"
/>
@@ -67,8 +67,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dip"
android:layout_marginBottom="16dip"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="16dip"
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="16dip"
android:focusable="true"
android:focusableInTouchMode="true"
/>
diff --git a/core/res/res/layout/twelve_key_entry.xml b/core/res/res/layout/twelve_key_entry.xml
index 09c749d..7b41b50 100644
--- a/core/res/res/layout/twelve_key_entry.xml
+++ b/core/res/res/layout/twelve_key_entry.xml
@@ -24,16 +24,16 @@
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="64dip"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:orientation="horizontal">
<Button android:id="@+id/one"
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
/>
@@ -42,8 +42,8 @@
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
/>
@@ -52,8 +52,8 @@
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
/>
@@ -63,16 +63,16 @@
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="64dip"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:orientation="horizontal">
<Button android:id="@+id/four"
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
/>
@@ -81,8 +81,8 @@
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
/>
@@ -91,8 +91,8 @@
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
/>
@@ -101,16 +101,16 @@
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="64dip"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:orientation="horizontal">
<Button android:id="@+id/seven"
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
/>
@@ -119,8 +119,8 @@
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
/>
@@ -129,8 +129,8 @@
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
/>
@@ -140,16 +140,16 @@
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="64dip"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:orientation="horizontal">
<Button android:id="@+id/cancel"
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold"
android:text="@android:string/cancel"
@@ -159,8 +159,8 @@
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
/>
@@ -169,8 +169,8 @@
android:layout_width="0sp"
android:layout_height="fill_parent"
android:layout_weight="1"
- android:layout_marginLeft="2dip"
- android:layout_marginRight="2dip"
+ android:layout_marginStart="2dip"
+ android:layout_marginEnd="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold"
android:text="@android:string/ok"
diff --git a/core/res/res/layout/usb_storage_activity.xml b/core/res/res/layout/usb_storage_activity.xml
index 76c30fd..6dae0f9 100644
--- a/core/res/res/layout/usb_storage_activity.xml
+++ b/core/res/res/layout/usb_storage_activity.xml
@@ -44,16 +44,16 @@
<Button android:id="@+id/mount_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="18dip"
- android:paddingRight="18dip"
+ android:paddingStart="18dip"
+ android:paddingEnd="18dip"
android:text="@string/usb_storage_button_mount"
/>
<Button android:id="@+id/unmount_button"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="18dip"
- android:paddingRight="18dip"
+ android:paddingStart="18dip"
+ android:paddingEnd="18dip"
android:text="@string/usb_storage_stop_button_mount"
/>
<ProgressBar android:id="@+id/progress"
diff --git a/core/res/res/layout/volume_adjust_item.xml b/core/res/res/layout/volume_adjust_item.xml
index d3fa7e9..4a0fbaf 100644
--- a/core/res/res/layout/volume_adjust_item.xml
+++ b/core/res/res/layout/volume_adjust_item.xml
@@ -20,7 +20,7 @@
android:orientation="horizontal"
android:layout_marginTop="8dip"
android:layout_marginBottom="8dip"
- android:gravity="left|center_vertical">
+ android:gravity="start|center_vertical">
<ImageView
android:id="@+id/stream_icon"
@@ -37,6 +37,6 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="16dip"
- android:layout_marginRight="16dip" />
+ android:layout_marginEnd="16dip" />
</LinearLayout>
diff --git a/core/res/res/layout/webview_find.xml b/core/res/res/layout/webview_find.xml
index a628ac8..da16043 100644
--- a/core/res/res/layout/webview_find.xml
+++ b/core/res/res/layout/webview_find.xml
@@ -27,7 +27,7 @@
android:inputType="text"
android:hint="@string/find_on_page"
android:imeOptions="actionDone|flagNoExtractUi|flagNoFullscreen"
- android:layout_marginRight="10dip"
+ android:layout_marginEnd="10dip"
/>
<TextView android:id="@+id/matches"
android:layout_width="wrap_content"
diff --git a/core/res/res/layout/zoom_browser_accessory_buttons.xml b/core/res/res/layout/zoom_browser_accessory_buttons.xml
index 4bf2bdf..a264288 100644
--- a/core/res/res/layout/zoom_browser_accessory_buttons.xml
+++ b/core/res/res/layout/zoom_browser_accessory_buttons.xml
@@ -22,14 +22,14 @@
android:background="@android:drawable/btn_browser_zoom_fit_page"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="bottom|left"
- android:layout_marginLeft="7dip"
+ android:layout_gravity="bottom|start"
+ android:layout_marginStart="7dip"
/>
<ImageView android:id="@+id/zoom_page_overview"
android:background="@android:drawable/btn_browser_zoom_page_overview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="bottom|right"
- android:layout_marginRight="7dip"
+ android:layout_gravity="bottom|end"
+ android:layout_marginEnd="7dip"
/>
</merge>
diff --git a/core/res/res/layout/zoom_magnify.xml b/core/res/res/layout/zoom_magnify.xml
index 374819e..562257c 100644
--- a/core/res/res/layout/zoom_magnify.xml
+++ b/core/res/res/layout/zoom_magnify.xml
@@ -26,8 +26,8 @@
/>
<ImageView android:id="@+id/zoomMagnify"
android:focusable="true"
- android:layout_gravity="bottom|right"
- android:paddingRight="2dip"
+ android:layout_gravity="bottom|end"
+ android:paddingEnd="2dip"
android:src="@drawable/btn_zoom_page"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
diff --git a/core/res/res/values-sw720dp/styles.xml b/core/res/res/values-sw720dp/styles.xml
index 640e898..fee1c24 100644
--- a/core/res/res/values-sw720dp/styles.xml
+++ b/core/res/res/values-sw720dp/styles.xml
@@ -16,8 +16,8 @@
<resources>
<style name="PreferencePanel">
- <item name="android:layout_marginLeft">@dimen/preference_screen_side_margin</item>
- <item name="android:layout_marginRight">@dimen/preference_screen_side_margin</item>
+ <item name="android:layout_marginStart">@dimen/preference_screen_side_margin</item>
+ <item name="android:layout_marginEnd">@dimen/preference_screen_side_margin</item>
<item name="android:layout_marginTop">@dimen/preference_screen_top_margin</item>
<item name="android:layout_marginBottom">@dimen/preference_screen_bottom_margin</item>
<item name="android:background">?attr/detailsElementBackground</item>
diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml
index 94436ea..c490a2f 100644
--- a/core/res/res/values/styles.xml
+++ b/core/res/res/values/styles.xml
@@ -339,7 +339,7 @@ please see styles_device_defaults.xml.
<item name="android:clickable">true</item>
<item name="android:textAppearance">?android:attr/textAppearance</item>
<item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item>
- <item name="android:gravity">center_vertical|left</item>
+ <item name="android:gravity">center_vertical|start</item>
</style>
<style name="Widget.CompoundButton.CheckBox">
@@ -473,7 +473,7 @@ please see styles_device_defaults.xml.
<item name="android:textColor">?textColorSecondary</item>
<item name="android:textSize">14sp</item>
<item name="android:gravity">center_vertical</item>
- <item name="android:paddingLeft">8dip</item>
+ <item name="android:paddingStart">8dip</item>
</style>
<style name="Widget.TextView.ListSeparator.White">
@@ -584,8 +584,8 @@ please see styles_device_defaults.xml.
<style name="Widget.DropDownItem">
<item name="android:textAppearance">@style/TextAppearance.Widget.DropDownItem</item>
- <item name="android:paddingLeft">@dimen/dropdownitem_text_padding_left</item>
- <item name="android:paddingRight">@dimen/dropdownitem_text_padding_right</item>
+ <item name="android:paddingStart">@dimen/dropdownitem_text_padding_left</item>
+ <item name="android:paddingEnd">@dimen/dropdownitem_text_padding_right</item>
<item name="android:gravity">center_vertical</item>
</style>
@@ -925,8 +925,8 @@ please see styles_device_defaults.xml.
</style>
<style name="PreferenceFragment">
- <item name="android:paddingLeft">0dp</item>
- <item name="android:paddingRight">0dp</item>
+ <item name="android:paddingStart">0dp</item>
+ <item name="android:paddingEnd">0dp</item>
</style>
<style name="Preference.Information">
@@ -980,8 +980,8 @@ please see styles_device_defaults.xml.
</style>
<style name="PreferenceFragment.Holo">
- <item name="android:paddingLeft">@dimen/preference_fragment_padding_side</item>
- <item name="android:paddingRight">@dimen/preference_fragment_padding_side</item>
+ <item name="android:paddingStart">@dimen/preference_fragment_padding_side</item>
+ <item name="android:paddingEnd">@dimen/preference_fragment_padding_side</item>
</style>
<style name="Preference.Holo.Information">
@@ -1037,8 +1037,8 @@ please see styles_device_defaults.xml.
<!-- The attributes are overridden here because the x-large or large resources may have
changed the margins and background in the parent PreferencePanel style. -->
<style name="PreferencePanel.Dialog">
- <item name="android:layout_marginLeft">0dip</item>
- <item name="android:layout_marginRight">0dip</item>
+ <item name="android:layout_marginStart">0dip</item>
+ <item name="android:layout_marginEnd">0dip</item>
<item name="android:layout_marginTop">0dip</item>
<item name="android:layout_marginBottom">0dip</item>
<item name="android:background">@null</item>
@@ -1079,8 +1079,8 @@ please see styles_device_defaults.xml.
<style name="ZoomControls">
<item name="android:gravity">bottom</item>
- <item name="android:paddingLeft">15dip</item>
- <item name="android:paddingRight">15dip</item>
+ <item name="android:paddingStart">15dip</item>
+ <item name="android:paddingEnd">15dip</item>
</style>
<!-- Style you can use with a container (typically a horizontal
@@ -1088,8 +1088,8 @@ please see styles_device_defaults.xml.
spacing. @hide -->
<style name="ButtonBar">
<item name="android:paddingTop">5dip</item>
- <item name="android:paddingLeft">4dip</item>
- <item name="android:paddingRight">4dip</item>
+ <item name="android:paddingStart">4dip</item>
+ <item name="android:paddingEnd">4dip</item>
<item name="android:paddingBottom">1dip</item>
<item name="android:background">@android:drawable/bottom_bar</item>
</style>
@@ -1125,9 +1125,9 @@ please see styles_device_defaults.xml.
<item name="android:displayOptions">useLogo|showHome|showTitle</item>
<item name="android:divider">@android:drawable/action_bar_divider</item>
<item name="android:height">?android:attr/actionBarSize</item>
- <item name="android:paddingLeft">0dip</item>
+ <item name="android:paddingStart">0dip</item>
<item name="android:paddingTop">0dip</item>
- <item name="android:paddingRight">0dip</item>
+ <item name="android:paddingEnd">0dip</item>
<item name="android:paddingBottom">0dip</item>
<item name="android:titleTextStyle">@android:style/TextAppearance.Widget.ActionBar.Title</item>
<item name="android:subtitleTextStyle">@android:style/TextAppearance.Widget.ActionBar.Subtitle</item>
@@ -1163,8 +1163,8 @@ please see styles_device_defaults.xml.
<style name="Widget.ActionButton">
<item name="android:background">?android:attr/actionBarItemBackground</item>
- <item name="android:paddingLeft">12dip</item>
- <item name="android:paddingRight">12dip</item>
+ <item name="android:paddingStart">12dip</item>
+ <item name="android:paddingEnd">12dip</item>
<item name="android:minWidth">@android:dimen/action_button_min_width</item>
<item name="android:minHeight">?android:attr/actionBarSize</item>
<item name="android:gravity">center</item>
@@ -1182,8 +1182,8 @@ please see styles_device_defaults.xml.
<style name="Widget.ActionBar.TabView" parent="Widget">
<item name="android:gravity">center_horizontal</item>
<item name="android:background">@drawable/minitab_lt</item>
- <item name="android:paddingLeft">4dip</item>
- <item name="android:paddingRight">4dip</item>
+ <item name="android:paddingStart">4dip</item>
+ <item name="android:paddingEnd">4dip</item>
</style>
<style name="Widget.ActionBar.TabBar" parent="Widget">
@@ -1530,8 +1530,8 @@ please see styles_device_defaults.xml.
<style name="Widget.Holo.Button.Borderless">
<item name="android:background">?android:attr/selectableItemBackground</item>
- <item name="android:paddingLeft">4dip</item>
- <item name="android:paddingRight">4dip</item>
+ <item name="android:paddingStart">4dip</item>
+ <item name="android:paddingEnd">4dip</item>
</style>
<style name="Widget.Holo.Button.Borderless.Small">
@@ -1561,8 +1561,8 @@ please see styles_device_defaults.xml.
<style name="Holo.ButtonBar" parent="ButtonBar">
<item name="android:paddingTop">0dip</item>
- <item name="android:paddingLeft">0dip</item>
- <item name="android:paddingRight">0dip</item>
+ <item name="android:paddingStart">0dip</item>
+ <item name="android:paddingEnd">0dip</item>
<item name="android:paddingBottom">0dip</item>
<item name="divider">?android:attr/dividerVertical</item>
<item name="showDividers">middle</item>
@@ -1729,8 +1729,8 @@ please see styles_device_defaults.xml.
<item name="android:thumb">@android:drawable/scrubber_control_selector_holo</item>
<item name="android:thumbOffset">16dip</item>
<item name="android:focusable">true</item>
- <item name="android:paddingLeft">16dip</item>
- <item name="android:paddingRight">16dip</item>
+ <item name="android:paddingStart">16dip</item>
+ <item name="android:paddingEnd">16dip</item>
</style>
<style name="Widget.Holo.RatingBar" parent="Widget.RatingBar">
@@ -1814,8 +1814,8 @@ please see styles_device_defaults.xml.
<style name="Widget.Holo.DropDownItem" parent="Widget.DropDownItem">
<item name="android:textAppearance">@style/TextAppearance.Holo.Widget.DropDownItem</item>
- <item name="android:paddingLeft">8dp</item>
- <item name="android:paddingRight">8dp</item>
+ <item name="android:paddingStart">8dp</item>
+ <item name="android:paddingEnd">8dp</item>
</style>
<style name="Widget.Holo.DropDownItem.Spinner">
@@ -1823,8 +1823,8 @@ please see styles_device_defaults.xml.
<style name="Widget.Holo.TextView.SpinnerItem" parent="Widget.TextView.SpinnerItem">
<item name="android:textAppearance">@style/TextAppearance.Holo.Widget.TextView.SpinnerItem</item>
- <item name="android:paddingLeft">8dp</item>
- <item name="android:paddingRight">8dp</item>
+ <item name="android:paddingStart">8dp</item>
+ <item name="android:paddingEnd">8dp</item>
</style>
<style name="Widget.Holo.KeyboardView" parent="Widget.KeyboardView">
@@ -1869,8 +1869,8 @@ please see styles_device_defaults.xml.
<style name="Widget.Holo.ActionButton" parent="Widget.ActionButton">
<item name="android:minWidth">@android:dimen/action_button_min_width</item>
<item name="android:gravity">center</item>
- <item name="android:paddingLeft">12dip</item>
- <item name="android:paddingRight">12dip</item>
+ <item name="android:paddingStart">12dip</item>
+ <item name="android:paddingEnd">12dip</item>
<item name="android:scaleType">center</item>
<item name="android:maxLines">2</item>
</style>
@@ -1886,8 +1886,8 @@ please see styles_device_defaults.xml.
<style name="Widget.Holo.ActionBar.TabView" parent="Widget.ActionBar.TabView">
<item name="android:background">@drawable/tab_indicator_ab_holo</item>
- <item name="android:paddingLeft">16dip</item>
- <item name="android:paddingRight">16dip</item>
+ <item name="android:paddingStart">16dip</item>
+ <item name="android:paddingEnd">16dip</item>
</style>
<style name="Widget.Holo.ActionBar.TabBar" parent="Widget.ActionBar.TabBar">
@@ -1967,8 +1967,8 @@ please see styles_device_defaults.xml.
<style name="Widget.Holo.Light.Button.Borderless">
<item name="android:background">?android:attr/selectableItemBackground</item>
- <item name="android:paddingLeft">4dip</item>
- <item name="android:paddingRight">4dip</item>
+ <item name="android:paddingStart">4dip</item>
+ <item name="android:paddingEnd">4dip</item>
</style>
<style name="Widget.Holo.Light.Button.Borderless.Small">
@@ -2416,10 +2416,10 @@ please see styles_device_defaults.xml.
<item name="android:layout_width">200dip</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_marginTop">8dip</item>
- <item name="android:layout_marginLeft">16dip</item>
- <item name="android:layout_marginRight">16dip</item>
+ <item name="android:layout_marginStart">16dip</item>
+ <item name="android:layout_marginEnd">16dip</item>
<item name="android:orientation">vertical</item>
- <item name="android:gravity">left</item>
+ <item name="android:gravity">start</item>
</style>
<!-- @hide -->
diff --git a/core/tests/coretests/src/android/util/ListItemFactory.java b/core/tests/coretests/src/android/util/ListItemFactory.java
index e8a498d..3f48dcc 100644
--- a/core/tests/coretests/src/android/util/ListItemFactory.java
+++ b/core/tests/coretests/src/android/util/ListItemFactory.java
@@ -247,7 +247,7 @@ public class ListItemFactory {
TextView t1 = new TextView(context);
t1.setHeight(desiredHeight);
t1.setText(text);
- t1.setGravity(Gravity.LEFT | Gravity.CENTER_VERTICAL);
+ t1.setGravity(Gravity.START | Gravity.CENTER_VERTICAL);
final ViewGroup.LayoutParams lp1 = new LinearLayout.LayoutParams(
0,
ViewGroup.LayoutParams.WRAP_CONTENT, 1.0f);
diff --git a/core/tests/coretests/src/android/widget/focus/VerticalFocusSearch.java b/core/tests/coretests/src/android/widget/focus/VerticalFocusSearch.java
index deb9e67..4a809e0 100644
--- a/core/tests/coretests/src/android/widget/focus/VerticalFocusSearch.java
+++ b/core/tests/coretests/src/android/widget/focus/VerticalFocusSearch.java
@@ -66,7 +66,7 @@ public class VerticalFocusSearch extends Activity {
mLayout = new LinearLayout(this);
mLayout.setOrientation(LinearLayout.VERTICAL);
- mLayout.setHorizontalGravity(Gravity.LEFT);
+ mLayout.setHorizontalGravity(Gravity.START);
mLayout.setLayoutParams(new ViewGroup.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.MATCH_PARENT));
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java
index be05cc7..db24c9c 100644
--- a/services/java/com/android/server/am/ActivityManagerService.java
+++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -7208,7 +7208,7 @@ public final class ActivityManagerService extends ActivityManagerNative
lp.type = WindowManager.LayoutParams.TYPE_SECURE_SYSTEM_OVERLAY;
lp.width = WindowManager.LayoutParams.WRAP_CONTENT;
lp.height = WindowManager.LayoutParams.WRAP_CONTENT;
- lp.gravity = Gravity.BOTTOM | Gravity.LEFT;
+ lp.gravity = Gravity.BOTTOM | Gravity.START;
lp.format = v.getBackground().getOpacity();
lp.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
| WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
diff --git a/services/java/com/android/server/wm/WindowManagerService.java b/services/java/com/android/server/wm/WindowManagerService.java
index 4227def..d0456ee 100755
--- a/services/java/com/android/server/wm/WindowManagerService.java
+++ b/services/java/com/android/server/wm/WindowManagerService.java
@@ -5914,7 +5914,7 @@ public class WindowManagerService extends IWindowManager.Stub
case Surface.ROTATION_180:
return Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
case Surface.ROTATION_270:
- return Gravity.LEFT | Gravity.BOTTOM;
+ return Gravity.START | Gravity.BOTTOM;
}
} else {
// On devices with a natural orientation of landscape
@@ -5925,7 +5925,7 @@ public class WindowManagerService extends IWindowManager.Stub
case Surface.ROTATION_90:
return Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
case Surface.ROTATION_180:
- return Gravity.LEFT | Gravity.BOTTOM;
+ return Gravity.START | Gravity.BOTTOM;
case Surface.ROTATION_270:
return Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
}