Merge "Dialog-o-rama!"
@@ -1632,6 +1632,7 @@ package android {
|
||||
field public static final int Widget_Holo_AutoCompleteTextView = 16973968; // 0x1030090
|
||||
field public static final int Widget_Holo_Button = 16973963; // 0x103008b
|
||||
field public static final int Widget_Holo_Button_Borderless = 16974050; // 0x10300e2
|
||||
field public static final int Widget_Holo_Button_Borderless_Small = 16974107; // 0x103011b
|
||||
field public static final int Widget_Holo_Button_Inset = 16973965; // 0x103008d
|
||||
field public static final int Widget_Holo_Button_Small = 16973964; // 0x103008c
|
||||
field public static final int Widget_Holo_Button_Toggle = 16973966; // 0x103008e
|
||||
@@ -1658,6 +1659,7 @@ package android {
|
||||
field public static final int Widget_Holo_Light_ActionMode = 16974047; // 0x10300df
|
||||
field public static final int Widget_Holo_Light_AutoCompleteTextView = 16974011; // 0x10300bb
|
||||
field public static final int Widget_Holo_Light_Button = 16974006; // 0x10300b6
|
||||
field public static final int Widget_Holo_Light_Button_Borderless_Small = 16974108; // 0x103011c
|
||||
field public static final int Widget_Holo_Light_Button_Inset = 16974008; // 0x10300b8
|
||||
field public static final int Widget_Holo_Light_Button_Small = 16974007; // 0x10300b7
|
||||
field public static final int Widget_Holo_Light_Button_Toggle = 16974009; // 0x10300b9
|
||||
|
||||
@@ -890,7 +890,7 @@ public class AlertDialog extends Dialog implements DialogInterface {
|
||||
public AlertDialog create() {
|
||||
final AlertDialog dialog = new AlertDialog(P.mContext, mTheme, false);
|
||||
P.apply(dialog.mAlert);
|
||||
dialog.setCancelable(P.mCancelable);
|
||||
dialog.setCanceledOnTouchOutside(P.mCancelable);
|
||||
dialog.setOnCancelListener(P.mOnCancelListener);
|
||||
if (P.mOnKeyListener != null) {
|
||||
dialog.setOnKeyListener(P.mOnKeyListener);
|
||||
|
||||
@@ -575,9 +575,13 @@ public class AlertController {
|
||||
params.weight = 0.5f;
|
||||
button.setLayoutParams(params);
|
||||
View leftSpacer = mWindow.findViewById(R.id.leftSpacer);
|
||||
leftSpacer.setVisibility(View.VISIBLE);
|
||||
if (leftSpacer != null) {
|
||||
leftSpacer.setVisibility(View.VISIBLE);
|
||||
}
|
||||
View rightSpacer = mWindow.findViewById(R.id.rightSpacer);
|
||||
rightSpacer.setVisibility(View.VISIBLE);
|
||||
if (rightSpacer != null) {
|
||||
rightSpacer.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
private void setBackground(LinearLayout topPanel, LinearLayout contentPanel,
|
||||
|
||||
@@ -54,15 +54,19 @@ public class DialogTitle extends TextView {
|
||||
if (ellipsisCount > 0) {
|
||||
setSingleLine(false);
|
||||
|
||||
TypedArray a = mContext.obtainStyledAttributes(
|
||||
android.R.style.TextAppearance_Medium,
|
||||
android.R.styleable.TextAppearance);
|
||||
TypedArray a = mContext.obtainStyledAttributes(null,
|
||||
android.R.styleable.TextAppearance,
|
||||
android.R.attr.textAppearanceMedium,
|
||||
android.R.style.TextAppearance_Medium);
|
||||
final int textSize = a.getDimensionPixelSize(
|
||||
android.R.styleable.TextAppearance_textSize,
|
||||
(int) (20 * getResources().getDisplayMetrics().density));
|
||||
final int textColor = a.getColor(
|
||||
android.R.styleable.TextAppearance_textColor, 0xffffffff);
|
||||
|
||||
// textSize is already expressed in pixels
|
||||
setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
||||
setTextColor(textColor);
|
||||
setMaxLines(2);
|
||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 846 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1007 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 361 B |
|
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 536 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 825 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 837 B |
|
Before Width: | Height: | Size: 663 B After Width: | Height: | Size: 586 B |
|
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 691 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 295 B |
|
Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 370 B |
|
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 578 B |
|
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 599 B |
@@ -32,12 +32,10 @@
|
||||
android:orientation="vertical">
|
||||
<ImageView android:id="@+id/titleDividerTop"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dip"
|
||||
android:layout_height="1dip"
|
||||
android:visibility="gone"
|
||||
android:scaleType="fitXY"
|
||||
android:gravity="fill_horizontal"
|
||||
android:paddingLeft="16dip"
|
||||
android:paddingRight="16dip"
|
||||
android:src="@android:drawable/divider_strong_holo" />
|
||||
<LinearLayout android:id="@+id/title_template"
|
||||
android:layout_width="match_parent"
|
||||
@@ -45,15 +43,16 @@
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical|left"
|
||||
android:minHeight="@dimen/alert_dialog_title_height"
|
||||
android:layout_marginLeft="32dip"
|
||||
android:layout_marginRight="32dip">
|
||||
android:layout_marginLeft="16dip"
|
||||
android:layout_marginRight="16dip">
|
||||
<ImageView android:id="@+id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingRight="16dip"
|
||||
android:paddingRight="8dip"
|
||||
android:src="@null" />
|
||||
<com.android.internal.widget.DialogTitle android:id="@+id/alertTitle"
|
||||
style="?android:attr/textAppearanceMedium"
|
||||
style="?android:attr/textAppearanceLarge"
|
||||
android:textColor="@android:color/holo_blue"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:layout_width="match_parent"
|
||||
@@ -61,12 +60,10 @@
|
||||
</LinearLayout>
|
||||
<ImageView android:id="@+id/titleDivider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dip"
|
||||
android:layout_height="1dip"
|
||||
android:visibility="gone"
|
||||
android:scaleType="fitXY"
|
||||
android:gravity="fill_horizontal"
|
||||
android:paddingLeft="16dip"
|
||||
android:paddingRight="16dip"
|
||||
android:src="@android:drawable/divider_strong_holo" />
|
||||
<!-- If the client uses a customTitle, it will be added here. -->
|
||||
</LinearLayout>
|
||||
@@ -79,10 +76,6 @@
|
||||
<ScrollView android:id="@+id/scrollView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="16dip"
|
||||
android:layout_marginRight="16dip"
|
||||
android:paddingTop="32dip"
|
||||
android:paddingBottom="32dip"
|
||||
android:clipToPadding="false">
|
||||
<TextView android:id="@+id/message"
|
||||
style="?android:attr/textAppearanceMedium"
|
||||
@@ -99,11 +92,7 @@
|
||||
android:layout_weight="1">
|
||||
<FrameLayout android:id="@+android:id/custom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="8dip"
|
||||
android:paddingBottom="8dip"
|
||||
android:paddingLeft="32dip"
|
||||
android:paddingRight="32dip" />
|
||||
android:layout_height="wrap_content" />
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout android:id="@+id/buttonPanel"
|
||||
@@ -113,27 +102,21 @@
|
||||
android:orientation="vertical"
|
||||
android:divider="?android:attr/dividerHorizontal"
|
||||
android:showDividers="beginning"
|
||||
android:dividerPadding="16dip">
|
||||
android:dividerPadding="0dip">
|
||||
<LinearLayout
|
||||
style="?android:attr/buttonBarStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="2dip"
|
||||
android:paddingRight="2dip"
|
||||
android:layoutDirection="locale"
|
||||
android:measureWithLargestChild="true">
|
||||
<LinearLayout android:id="@+id/leftSpacer"
|
||||
android:layout_weight="0.25"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" />
|
||||
<Button android:id="@+id/button1"
|
||||
<Button android:id="@+id/button2"
|
||||
android:layout_width="0dip"
|
||||
android:layout_gravity="left"
|
||||
android:layout_weight="1"
|
||||
android:maxLines="2"
|
||||
style="?android:attr/buttonBarButtonStyle"
|
||||
android:textSize="14sp"
|
||||
android:minHeight="@dimen/alert_dialog_button_bar_height"
|
||||
android:layout_height="wrap_content" />
|
||||
<Button android:id="@+id/button3"
|
||||
@@ -142,22 +125,18 @@
|
||||
android:layout_weight="1"
|
||||
android:maxLines="2"
|
||||
style="?android:attr/buttonBarButtonStyle"
|
||||
android:textSize="14sp"
|
||||
android:minHeight="@dimen/alert_dialog_button_bar_height"
|
||||
android:layout_height="wrap_content" />
|
||||
<Button android:id="@+id/button2"
|
||||
<Button android:id="@+id/button1"
|
||||
android:layout_width="0dip"
|
||||
android:layout_gravity="right"
|
||||
android:layout_weight="1"
|
||||
android:maxLines="2"
|
||||
android:minHeight="@dimen/alert_dialog_button_bar_height"
|
||||
style="?android:attr/buttonBarButtonStyle"
|
||||
android:textSize="14sp"
|
||||
android:layout_height="wrap_content" />
|
||||
<LinearLayout android:id="@+id/rightSpacer"
|
||||
android:layout_width="0dip"
|
||||
android:layout_weight="0.25"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -23,18 +23,16 @@ This is an custom layout for a dialog.
|
||||
android:fitsSystemWindows="true">
|
||||
<FrameLayout android:id="@android:id/title_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dip"
|
||||
android:layout_height="@dimen/alert_dialog_title_height"
|
||||
android:layout_weight="0"
|
||||
android:gravity="center_vertical|left"
|
||||
style="?android:attr/windowTitleBackgroundStyle">
|
||||
</FrameLayout>
|
||||
<ImageView android:id="@+id/titleDivider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dip"
|
||||
android:layout_height="1dip"
|
||||
android:scaleType="fitXY"
|
||||
android:gravity="fill_horizontal"
|
||||
android:paddingLeft="16dip"
|
||||
android:paddingRight="16dip"
|
||||
android:src="@android:drawable/divider_strong_holo" />
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
|
||||
@@ -26,17 +26,15 @@ enabled.
|
||||
<TextView android:id="@android:id/title" style="?android:attr/windowTitleStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="60dip"
|
||||
android:paddingLeft="32dip"
|
||||
android:paddingRight="32dip"
|
||||
android:minHeight="@android:dimen/alert_dialog_title_height"
|
||||
android:paddingLeft="16dip"
|
||||
android:paddingRight="16dip"
|
||||
android:gravity="center_vertical|left" />
|
||||
<ImageView android:id="@+id/titleDivider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dip"
|
||||
android:layout_height="1dip"
|
||||
android:scaleType="fitXY"
|
||||
android:gravity="fill_horizontal"
|
||||
android:paddingLeft="16dip"
|
||||
android:paddingRight="16dip"
|
||||
android:src="@android:drawable/divider_strong_holo" />
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
|
||||
@@ -28,16 +28,16 @@ enabled.
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="60dip"
|
||||
android:paddingLeft="32dip"
|
||||
android:paddingRight="32dip">
|
||||
android:minHeight="@android:dimen/alert_dialog_title_height"
|
||||
android:paddingLeft="16dip"
|
||||
android:paddingRight="16dip">
|
||||
<ImageView android:id="@+id/left_icon"
|
||||
android:layout_width="32dip"
|
||||
android:layout_height="32dip"
|
||||
android:scaleType="fitCenter"
|
||||
android:layout_marginRight="8dip" />
|
||||
<TextView android:id="@android:id/title"
|
||||
style="?android:attr/windowTitleStyle"
|
||||
style="?android:attr/windowTitleStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0" />
|
||||
@@ -50,11 +50,9 @@ enabled.
|
||||
|
||||
<ImageView android:id="@+id/titleDivider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dip"
|
||||
android:layout_height="1dip"
|
||||
android:scaleType="fitXY"
|
||||
android:gravity="fill_horizontal"
|
||||
android:paddingLeft="16dip"
|
||||
android:paddingRight="16dip"
|
||||
android:src="@android:drawable/divider_strong_holo" />
|
||||
|
||||
<FrameLayout
|
||||
|
||||
@@ -27,9 +27,6 @@
|
||||
android:id="@+android:id/select_dialog_listview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="5dip"
|
||||
android:paddingLeft="16dip"
|
||||
android:paddingRight="16dip"
|
||||
android:cacheColorHint="@null"
|
||||
android:divider="?android:attr/listDividerAlertDialog"
|
||||
android:scrollbars="vertical"
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- Dialog title height -->
|
||||
<dimen name="alert_dialog_title_height">54dip</dimen>
|
||||
<!-- Dialog button bar height -->
|
||||
<dimen name="alert_dialog_button_bar_height">54dip</dimen>
|
||||
<!-- Preference fragment padding, bottom -->
|
||||
|
||||
@@ -148,5 +148,14 @@
|
||||
|
||||
<color name="group_button_dialog_pressed_holo_light">#ffffffff</color>
|
||||
<color name="group_button_dialog_focused_holo_light">#4699cc00</color>
|
||||
|
||||
<!-- General purpose colors for Holo-themed elements -->
|
||||
<eat-comment />
|
||||
|
||||
<!-- A Holo shade of blue -->
|
||||
<color name="holo_blue">#ff6699ff</color>
|
||||
<!-- A Holo shade of green -->
|
||||
<color name="holo_green">#ff99cc00</color>
|
||||
|
||||
</resources>
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
<!-- The maximum width we would prefer dialogs to be. 0 if there is no
|
||||
maximum (let them grow as large as the screen). Actual values are
|
||||
specified for -large and -xlarge configurations. -->
|
||||
<dimen name="config_prefDialogWidth">0px</dimen>
|
||||
<dimen name="config_prefDialogWidth">320dp</dimen>
|
||||
|
||||
<!-- Whether dialogs should close automatically when the user touches outside
|
||||
of them. This should not normally be modified. -->
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
<dimen name="search_view_text_min_width">160dip</dimen>
|
||||
|
||||
<!-- Dialog title height -->
|
||||
<dimen name="alert_dialog_title_height">48dip</dimen>
|
||||
<dimen name="alert_dialog_title_height">64dip</dimen>
|
||||
<!-- Dialog button bar height -->
|
||||
<dimen name="alert_dialog_button_bar_height">48dip</dimen>
|
||||
|
||||
|
||||
@@ -1767,4 +1767,7 @@
|
||||
<public type="attr" name="verticalOffset" />
|
||||
<public type="attr" name="horizontalOffset" />
|
||||
|
||||
<public type="style" name="Widget.Holo.Button.Borderless.Small" />
|
||||
<public type="style" name="Widget.Holo.Light.Button.Borderless.Small" />
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -1321,7 +1321,8 @@
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Holo.DialogWindowTitle">
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:textSize">22sp</item>
|
||||
<item name="android:textColor">@android:color/holo_blue</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Holo.CalendarViewWeekDayView" parent="TextAppearance.Small.CalendarViewWeekDayView">
|
||||
@@ -1419,7 +1420,8 @@
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Holo.Light.DialogWindowTitle">
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:textSize">22sp</item>
|
||||
<item name="android:textColor">@android:color/holo_blue</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Holo.Light.CalendarViewWeekDayView" parent="TextAppearance.Small.CalendarViewWeekDayView">
|
||||
@@ -1448,6 +1450,12 @@
|
||||
|
||||
<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>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Holo.Button.Borderless.Small">
|
||||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Holo.Button.Small">
|
||||
@@ -1864,6 +1872,12 @@
|
||||
|
||||
<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>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Holo.Light.Button.Borderless.Small">
|
||||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Holo.Light.Button.Small">
|
||||
|
||||
@@ -1411,6 +1411,7 @@
|
||||
<item name="android:colorBackgroundCacheHint">@null</item>
|
||||
|
||||
<item name="android:buttonBarStyle">@android:style/Holo.ButtonBar.AlertDialog</item>
|
||||
<item name="borderlessButtonStyle">@android:style/Widget.Holo.Button.Borderless.Small</item>
|
||||
|
||||
<item name="textAppearance">@android:style/TextAppearance.Holo</item>
|
||||
<item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Inverse</item>
|
||||
@@ -1420,7 +1421,7 @@
|
||||
a regular dialog. -->
|
||||
<style name="Theme.Holo.Dialog.MinWidth">
|
||||
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
||||
</style>
|
||||
|
||||
<!-- Variation of Theme.Holo.Dialog that does not include a title bar. -->
|
||||
@@ -1433,7 +1434,7 @@
|
||||
a regular dialog. -->
|
||||
<style name="Theme.Holo.Dialog.NoActionBar.MinWidth">
|
||||
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
||||
</style>
|
||||
|
||||
<!-- Variation of Theme.Holo.Dialog that does not include a frame (or background).
|
||||
@@ -1460,7 +1461,7 @@
|
||||
<item name="windowTitleStyle">@android:style/DialogWindowTitle.Holo</item>
|
||||
<item name="windowContentOverlay">@null</item>
|
||||
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
||||
</style>
|
||||
|
||||
<!-- Theme for a window that will be displayed either full-screen on
|
||||
@@ -1499,6 +1500,7 @@
|
||||
<item name="android:colorBackgroundCacheHint">@null</item>
|
||||
|
||||
<item name="android:buttonBarStyle">@android:style/Holo.Light.ButtonBar.AlertDialog</item>
|
||||
<item name="borderlessButtonStyle">@android:style/Widget.Holo.Light.Button.Borderless.Small</item>
|
||||
|
||||
<item name="textAppearance">@android:style/TextAppearance.Holo.Light</item>
|
||||
<item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Light.Inverse</item>
|
||||
@@ -1508,7 +1510,7 @@
|
||||
a regular dialog. -->
|
||||
<style name="Theme.Holo.Light.Dialog.MinWidth">
|
||||
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
||||
</style>
|
||||
|
||||
<!-- Variation of Theme.Holo.Light.Dialog that does not include a title bar. -->
|
||||
@@ -1521,7 +1523,7 @@
|
||||
a regular dialog. -->
|
||||
<style name="Theme.Holo.Light.Dialog.NoActionBar.MinWidth">
|
||||
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
||||
</style>
|
||||
|
||||
<!-- Theme for a window that will be displayed either full-screen on
|
||||
@@ -1547,7 +1549,7 @@
|
||||
<item name="windowTitleStyle">@android:style/DialogWindowTitle.Holo.Light</item>
|
||||
<item name="windowContentOverlay">@null</item>
|
||||
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
||||
</style>
|
||||
|
||||
<!-- Default holographic (dark) for windows that want to have the user's selected
|
||||
|
||||