Holo themes and assets in progress
Change-Id: Ic10480dc1c771d0ccd10f1d4014c945480fd6c0d
@@ -6829,6 +6829,17 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="listDividerAlertDialog"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="16843590"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="listPopupWindowStyle"
|
||||
type="int"
|
||||
transient="false"
|
||||
@@ -9876,6 +9887,17 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="textColorAlertDialogListItem"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="16843591"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="textColorHighlight"
|
||||
type="int"
|
||||
transient="false"
|
||||
|
||||
@@ -20,6 +20,7 @@ import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.database.Cursor;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.Message;
|
||||
import android.view.KeyEvent;
|
||||
@@ -56,7 +57,10 @@ public class AlertDialog extends Dialog implements DialogInterface {
|
||||
private AlertController mAlert;
|
||||
|
||||
protected AlertDialog(Context context) {
|
||||
this(context, com.android.internal.R.style.Theme_Dialog_Alert);
|
||||
this(context,
|
||||
context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB
|
||||
? com.android.internal.R.style.Theme_Holo_Dialog_Alert
|
||||
: com.android.internal.R.style.Theme_Dialog_Alert);
|
||||
}
|
||||
|
||||
protected AlertDialog(Context context, int theme) {
|
||||
@@ -65,7 +69,10 @@ public class AlertDialog extends Dialog implements DialogInterface {
|
||||
}
|
||||
|
||||
protected AlertDialog(Context context, boolean cancelable, OnCancelListener cancelListener) {
|
||||
super(context, com.android.internal.R.style.Theme_Dialog_Alert);
|
||||
super(context,
|
||||
context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB
|
||||
? com.android.internal.R.style.Theme_Holo_Dialog_Alert
|
||||
: com.android.internal.R.style.Theme_Dialog_Alert);
|
||||
setCancelable(cancelable);
|
||||
setOnCancelListener(cancelListener);
|
||||
mAlert = new AlertController(context, this, getWindow());
|
||||
@@ -271,7 +278,10 @@ public class AlertDialog extends Dialog implements DialogInterface {
|
||||
* Constructor using a context for this builder and the {@link AlertDialog} it creates.
|
||||
*/
|
||||
public Builder(Context context) {
|
||||
this(context, com.android.internal.R.style.Theme_Dialog_Alert);
|
||||
this(context,
|
||||
context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB
|
||||
? com.android.internal.R.style.Theme_Holo_Dialog_Alert
|
||||
: com.android.internal.R.style.Theme_Dialog_Alert);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -76,6 +76,7 @@ import android.net.Uri;
|
||||
import android.net.wifi.IWifiManager;
|
||||
import android.net.wifi.WifiManager;
|
||||
import android.os.Binder;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.DropBoxManager;
|
||||
import android.os.Environment;
|
||||
@@ -1063,8 +1064,13 @@ class ContextImpl extends Context {
|
||||
private NotificationManager getNotificationManager() {
|
||||
synchronized (mSync) {
|
||||
if (mNotificationManager == null) {
|
||||
final Context outerContext = getOuterContext();
|
||||
mNotificationManager = new NotificationManager(
|
||||
new ContextThemeWrapper(getOuterContext(), com.android.internal.R.style.Theme_Dialog),
|
||||
new ContextThemeWrapper(outerContext,
|
||||
outerContext.getApplicationInfo().targetSdkVersion >=
|
||||
Build.VERSION_CODES.HONEYCOMB
|
||||
? com.android.internal.R.style.Theme_Holo_Dialog
|
||||
: com.android.internal.R.style.Theme_Dialog),
|
||||
mMainThread.getHandler());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ package android.app;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.DialogInterface.OnClickListener;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.text.TextUtils.TruncateAt;
|
||||
import android.view.LayoutInflater;
|
||||
@@ -82,7 +83,9 @@ public class DatePickerDialog extends AlertDialog implements OnClickListener,
|
||||
int year,
|
||||
int monthOfYear,
|
||||
int dayOfMonth) {
|
||||
this(context, com.android.internal.R.style.Theme_Dialog_Alert,
|
||||
this(context, context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB
|
||||
? com.android.internal.R.style.Theme_Holo_Dialog_Alert
|
||||
: com.android.internal.R.style.Theme_Dialog_Alert,
|
||||
callBack, year, monthOfYear, dayOfMonth);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ import android.content.ContextWrapper;
|
||||
import android.content.DialogInterface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
@@ -140,7 +141,10 @@ public class Dialog implements DialogInterface, Window.Callback,
|
||||
*/
|
||||
public Dialog(Context context, int theme) {
|
||||
mContext = new ContextThemeWrapper(
|
||||
context, theme == 0 ? com.android.internal.R.style.Theme_Dialog : theme);
|
||||
context, theme == 0 ?
|
||||
(context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB
|
||||
? com.android.internal.R.style.Theme_Holo_Dialog
|
||||
: com.android.internal.R.style.Theme_Dialog) : theme);
|
||||
mWindowManager = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE);
|
||||
Window w = PolicyManager.makeNewWindow(mContext);
|
||||
mWindow = w;
|
||||
|
||||
@@ -199,7 +199,7 @@ public class DialogFragment extends Fragment
|
||||
public void setStyle(int style, int theme) {
|
||||
mStyle = style;
|
||||
if (mStyle == STYLE_NO_FRAME || mStyle == STYLE_NO_INPUT) {
|
||||
mTheme = android.R.style.Theme_Dialog_NoFrame;
|
||||
mTheme = com.android.internal.R.style.Theme_Holo_Dialog_NoFrame;
|
||||
}
|
||||
if (theme != 0) {
|
||||
mTheme = theme;
|
||||
|
||||
@@ -18,6 +18,7 @@ package android.app;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
@@ -73,7 +74,10 @@ public class ProgressDialog extends AlertDialog {
|
||||
private Handler mViewUpdateHandler;
|
||||
|
||||
public ProgressDialog(Context context) {
|
||||
this(context, com.android.internal.R.style.Theme_Dialog_Alert);
|
||||
this(context,
|
||||
context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB
|
||||
? com.android.internal.R.style.Theme_Holo_Dialog_Alert
|
||||
: com.android.internal.R.style.Theme_Dialog_Alert);
|
||||
}
|
||||
|
||||
public ProgressDialog(Context context, int theme) {
|
||||
|
||||
@@ -19,6 +19,7 @@ package android.app;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.DialogInterface.OnClickListener;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.text.format.DateFormat;
|
||||
import android.view.LayoutInflater;
|
||||
@@ -76,7 +77,10 @@ public class TimePickerDialog extends AlertDialog implements OnClickListener,
|
||||
public TimePickerDialog(Context context,
|
||||
OnTimeSetListener callBack,
|
||||
int hourOfDay, int minute, boolean is24HourView) {
|
||||
this(context, com.android.internal.R.style.Theme_Dialog_Alert,
|
||||
this(context,
|
||||
context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB
|
||||
? com.android.internal.R.style.Theme_Holo_Dialog_Alert
|
||||
: com.android.internal.R.style.Theme_Dialog_Alert,
|
||||
callBack, hourOfDay, minute, is24HourView);
|
||||
}
|
||||
|
||||
|
||||
21
core/res/res/color/primary_text_disable_only_holo_dark.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:color="@android:color/bright_foreground_dark_disabled"/>
|
||||
<item android:color="@android:color/bright_foreground_dark"/>
|
||||
</selector>
|
||||
|
||||
21
core/res/res/color/primary_text_disable_only_holo_light.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:color="@android:color/bright_foreground_light_disabled"/>
|
||||
<item android:color="@android:color/bright_foreground_light"/>
|
||||
</selector>
|
||||
|
||||
24
core/res/res/color/primary_text_focused_holo_dark.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true" android:color="@android:color/bright_foreground_dark_inverse" />
|
||||
<item android:state_activated="true" android:color="@android:color/bright_foreground_dark_inverse" />
|
||||
<item android:state_focused="true" android:color="@android:color/bright_foreground_dark_inverse" />
|
||||
<item android:state_pressed="true" android:color="@android:color/bright_foreground_dark_inverse" />
|
||||
<item android:color="@android:color/bright_foreground_dark" />
|
||||
</selector>
|
||||
|
||||
24
core/res/res/color/primary_text_holo_dark.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:color="@android:color/bright_foreground_dark_disabled"/>
|
||||
<item android:state_window_focused="false" android:color="@android:color/bright_foreground_dark"/>
|
||||
<item android:state_pressed="true" android:color="@android:color/bright_foreground_dark"/>
|
||||
<item android:state_selected="true" android:color="@android:color/bright_foreground_dark"/>
|
||||
<item android:state_activated="true" android:color="@android:color/bright_foreground_dark"/>
|
||||
<item android:color="@android:color/bright_foreground_dark"/> <!-- not selected -->
|
||||
</selector>
|
||||
26
core/res/res/color/primary_text_holo_light.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:color="@android:color/bright_foreground_light_disabled"/>
|
||||
<item android:state_window_focused="false" android:color="@android:color/bright_foreground_light"/>
|
||||
<item android:state_pressed="true" android:color="@android:color/bright_foreground_light"/>
|
||||
<item android:state_selected="true" android:color="@android:color/bright_foreground_light"/>
|
||||
<item android:state_activated="true" android:color="@android:color/bright_foreground_light"/>
|
||||
<item android:color="@android:color/bright_foreground_light"/> <!-- not selected -->
|
||||
|
||||
</selector>
|
||||
|
||||
22
core/res/res/color/primary_text_nodisable_holo_dark.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true" android:color="@android:color/bright_foreground_dark_inverse"/>
|
||||
<item android:state_activated="true" android:color="@android:color/bright_foreground_dark_inverse"/>
|
||||
<item android:color="@android:color/bright_foreground_dark"/> <!-- not selected -->
|
||||
</selector>
|
||||
|
||||
22
core/res/res/color/primary_text_nodisable_holo_light.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true" android:color="@android:color/bright_foreground_light"/>
|
||||
<item android:state_activated="true" android:color="@android:color/bright_foreground_light"/>
|
||||
<item android:color="@android:color/bright_foreground_light"/> <!-- not selected -->
|
||||
</selector>
|
||||
|
||||
21
core/res/res/color/search_url_text_holo.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:color="@android:color/search_url_text_pressed"/>
|
||||
<item android:state_selected="true" android:color="@android:color/search_url_text_selected"/>
|
||||
<item android:color="@android:color/search_url_text_normal"/> <!-- not selected -->
|
||||
</selector>
|
||||
27
core/res/res/color/secondary_text_holo_dark.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_window_focused="false" android:state_enabled="false" android:color="@android:color/dim_foreground_dark_disabled"/>
|
||||
<item android:state_window_focused="false" android:color="@android:color/dim_foreground_dark"/>
|
||||
<item android:state_selected="true" android:state_enabled="false" android:color="@android:color/dim_foreground_dark_inverse_disabled"/>
|
||||
<item android:state_pressed="true" android:state_enabled="false" android:color="@android:color/dim_foreground_dark_inverse_disabled"/>
|
||||
<item android:state_selected="true" android:color="@android:color/dim_foreground_dark_inverse"/>
|
||||
<item android:state_activated="true" android:color="@android:color/bright_foreground_dark_inverse"/>
|
||||
<item android:state_pressed="true" android:color="@android:color/dim_foreground_dark_inverse"/>
|
||||
<item android:state_enabled="false" android:color="@android:color/dim_foreground_dark_disabled"/>
|
||||
<item android:color="@android:color/dim_foreground_dark"/> <!-- not selected -->
|
||||
</selector>
|
||||
28
core/res/res/color/secondary_text_holo_light.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_window_focused="false" android:state_enabled="false" android:color="@android:color/dim_foreground_light_disabled"/>
|
||||
<item android:state_window_focused="false" android:color="@android:color/dim_foreground_light"/>
|
||||
<!-- Since there is only one selector (for both light and dark), the light's selected state shouldn't be inversed like the dark's. -->
|
||||
<item android:state_pressed="true" android:state_enabled="false" android:color="@android:color/dim_foreground_light_disabled"/>
|
||||
<item android:state_selected="true" android:state_enabled="false" android:color="@android:color/dim_foreground_light_disabled"/>
|
||||
<item android:state_pressed="true" android:color="@android:color/dim_foreground_light"/>
|
||||
<item android:state_selected="true" android:color="@android:color/dim_foreground_light"/>
|
||||
<item android:state_activated="true" android:color="@android:color/bright_foreground_light"/>
|
||||
<item android:state_enabled="false" android:color="@android:color/dim_foreground_light_disabled"/>
|
||||
<item android:color="@android:color/dim_foreground_light"/> <!-- not selected -->
|
||||
</selector>
|
||||
21
core/res/res/color/secondary_text_nodisable_holo_dark.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true" android:color="@android:color/dim_foreground_dark_inverse"/>
|
||||
<item android:state_activated="true" android:color="@android:color/bright_foreground_dark_inverse"/>
|
||||
<item android:color="@android:color/dim_foreground_dark"/> <!-- not selected -->
|
||||
</selector>
|
||||
21
core/res/res/color/secondary_text_nodisable_holo_light.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true" android:color="@android:color/dim_foreground_dark_inverse"/>
|
||||
<item android:state_activated="true" android:color="@android:color/bright_foreground_dark_inverse"/>
|
||||
<item android:color="@android:color/dim_foreground_dark"/> <!-- not selected -->
|
||||
</selector>
|
||||
24
core/res/res/color/tertiary_text_holo_dark.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:color="#808080"/>
|
||||
<item android:state_window_focused="false" android:color="#808080"/>
|
||||
<item android:state_pressed="true" android:color="#808080"/>
|
||||
<item android:state_selected="true" android:color="@android:color/dim_foreground_light"/>
|
||||
<item android:color="#808080"/> <!-- not selected -->
|
||||
</selector>
|
||||
|
||||
24
core/res/res/color/tertiary_text_holo_light.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:color="#808080"/>
|
||||
<item android:state_window_focused="false" android:color="#808080"/>
|
||||
<item android:state_pressed="true" android:color="#808080"/>
|
||||
<item android:state_selected="true" android:color="#808080"/>
|
||||
<item android:color="#808080"/> <!-- not selected -->
|
||||
</selector>
|
||||
|
||||
20
core/res/res/color/widget_edittext_holo_dark.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="false" android:color="@android:color/bright_foreground_light"/> <!-- unfocused -->
|
||||
<item android:color="@android:color/bright_foreground_light"/>
|
||||
</selector>
|
||||
|
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 370 B |
|
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 364 B |
|
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 370 B |
|
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 364 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 499 B |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 989 B |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 615 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 612 B |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 588 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 935 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 935 B |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 727 B |
|
After Width: | Height: | Size: 715 B |
BIN
core/res/res/drawable-hdpi/btn_default_disabled_holo_dark.9.png
Normal file
|
After Width: | Height: | Size: 615 B |
BIN
core/res/res/drawable-hdpi/btn_default_disabled_holo_light.9.png
Normal file
|
After Width: | Height: | Size: 607 B |
BIN
core/res/res/drawable-hdpi/btn_default_focused_holo_dark.9.png
Normal file
|
After Width: | Height: | Size: 834 B |
BIN
core/res/res/drawable-hdpi/btn_default_focused_holo_light.9.png
Normal file
|
After Width: | Height: | Size: 810 B |
BIN
core/res/res/drawable-hdpi/btn_default_normal_holo_dark.9.png
Normal file
|
After Width: | Height: | Size: 793 B |
BIN
core/res/res/drawable-hdpi/btn_default_normal_holo_light.9.png
Normal file
|
After Width: | Height: | Size: 567 B |
BIN
core/res/res/drawable-hdpi/btn_default_pressed_holo_dark.9.png
Normal file
|
After Width: | Height: | Size: 764 B |
BIN
core/res/res/drawable-hdpi/btn_default_pressed_holo_light.9.png
Normal file
|
After Width: | Height: | Size: 824 B |
BIN
core/res/res/drawable-hdpi/btn_radio_disabled_off_holo_dark.png
Normal file
|
After Width: | Height: | Size: 714 B |
BIN
core/res/res/drawable-hdpi/btn_radio_disabled_off_holo_light.png
Normal file
|
After Width: | Height: | Size: 821 B |
BIN
core/res/res/drawable-hdpi/btn_radio_disabled_on_holo_dark.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_disabled_on_holo_light.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_focused_off_holo_dark.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_focused_off_holo_light.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_focused_on_holo_dark.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_focused_on_holo_light.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_normal_off_holo_dark.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_normal_off_holo_light.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_normal_on_holo_dark.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_normal_on_holo_light.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 918 B |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_pressed_off_holo_dark.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_pressed_off_holo_light.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_pressed_on_holo_dark.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
core/res/res/drawable-hdpi/btn_radio_pressed_on_holo_light.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_disabled_focused_holo_dark.9.png
Executable file
|
After Width: | Height: | Size: 847 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_disabled_focused_holo_light.9.png
Executable file
|
After Width: | Height: | Size: 847 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_disabled_holo_dark.9.png
Executable file
|
After Width: | Height: | Size: 789 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_disabled_holo_light.9.png
Executable file
|
After Width: | Height: | Size: 779 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_focused_holo_dark.9.png
Executable file
|
After Width: | Height: | Size: 905 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_focused_holo_light.9.png
Executable file
|
After Width: | Height: | Size: 934 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_holo.9.png
Executable file
|
After Width: | Height: | Size: 781 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_normal_holo_dark.9.png
Executable file
|
After Width: | Height: | Size: 953 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_normal_holo_light.9.png
Executable file
|
After Width: | Height: | Size: 870 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_pressed_holo_dark.9.png
Executable file
|
After Width: | Height: | Size: 898 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_off_pressed_holo_light.9.png
Executable file
|
After Width: | Height: | Size: 955 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_on_disabled_focused_holo_dark.9.png
Executable file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
core/res/res/drawable-hdpi/btn_toggle_on_disabled_focused_holo_light.9.png
Executable file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
core/res/res/drawable-hdpi/btn_toggle_on_disabled_holo_dark.9.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
core/res/res/drawable-hdpi/btn_toggle_on_disabled_holo_light.9.png
Executable file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
core/res/res/drawable-hdpi/btn_toggle_on_focused_holo_dark.9.png
Executable file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
core/res/res/drawable-hdpi/btn_toggle_on_focused_holo_light.9.png
Executable file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
core/res/res/drawable-hdpi/btn_toggle_on_holo.9.png
Executable file
|
After Width: | Height: | Size: 338 B |
BIN
core/res/res/drawable-hdpi/btn_toggle_on_normal_holo_dark.9.png
Executable file
|
After Width: | Height: | Size: 1.5 KiB |