Created Click base insted of Tattoo
Modified files to create meet cyanogen standards
@ -1,6 +1 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES := bahamas-keypad.kcm
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
include $(BUILD_KEY_CHAR_MAP)
|
||||
|
@ -26,4 +26,4 @@
|
||||
#
|
||||
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/tattoo.mk
|
||||
$(LOCAL_DIR)/click.mk
|
||||
|
@ -12,7 +12,7 @@ USE_CAMERA_STUB := true
|
||||
BOARD_USE_FROYO_LIBCAMERA := true
|
||||
|
||||
# inherit from the proprietary version
|
||||
-include device/htc/tattoo/BoardConfigVendor.mk
|
||||
-include device/htc/click/BoardConfigVendor.mk
|
||||
|
||||
# ARMv6-compatible processor rev 5 (v6l)
|
||||
TARGET_BOARD_PLATFORM := msm7k
|
||||
@ -24,12 +24,12 @@ TARGET_BOOTLOADER_BOARD_NAME := bahamas
|
||||
|
||||
TARGET_NO_BOOTLOADER := true
|
||||
TARGET_NO_RADIOIMAGE := true
|
||||
TARGET_NO_RECOVERY := false
|
||||
TARGET_NO_RECOVERY := true
|
||||
|
||||
BOARD_LDPI_RECOVERY := true
|
||||
BOARD_LDPI_RECOVERY := false
|
||||
|
||||
TARGET_PREBUILT_RECOVERY_KERNEL := device/htc/tattoo/custom/recovery_kernel
|
||||
TARGET_PREBUILT_KERNEL := device/htc/tattoo/custom/kernel
|
||||
TARGET_PREBUILT_RECOVERY_KERNEL := device/htc/click/custom/recovery_kernel
|
||||
TARGET_PREBUILT_KERNEL := device/htc/click/custom/kernel
|
||||
|
||||
# Wifi related defines
|
||||
BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
|
||||
@ -39,8 +39,8 @@ WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko"
|
||||
WIFI_DRIVER_MODULE_ARG := ""
|
||||
WIFI_DRIVER_MODULE_NAME := "wlan"
|
||||
WIFI_FIRMWARE_LOADER := "wlan_loader"
|
||||
WIFI_DRIVER_FW_STA_PATH := "/etc/firmware/tiinit_5.3.53.bts"
|
||||
WIFI_DRIVER_FW_AP_PATH := "/etc/wifi/Fw1251r1c.bin"
|
||||
#WIFI_DRIVER_FW_STA_PATH := "/etc/firmware/tiinit_5.3.53.bts"
|
||||
#WIFI_DRIVER_FW_AP_PATH := "/etc/wifi/Fw1251r1c.bin"
|
||||
|
||||
TARGET_PROVIDES_INIT_RC := false
|
||||
|
||||
@ -50,7 +50,7 @@ BOARD_KERNEL_BASE := 0x02E00000
|
||||
BOARD_USES_GENERIC_AUDIO := false
|
||||
|
||||
# Use HTC USB Function Switch to enable tethering via USB
|
||||
BOARD_USE_HTC_USB_FUNCTION_SWITCH := true
|
||||
# BOARD_USE_HTC_USB_FUNCTION_SWITCH := true
|
||||
|
||||
BOARD_USE_USB_MASS_STORAGE_SWITCH := true
|
||||
|
||||
@ -65,7 +65,7 @@ BOARD_HAS_LIMITED_EGL := true
|
||||
TARGET_HARDWARE_3D := false
|
||||
|
||||
# OpenGL drivers config file path
|
||||
BOARD_EGL_CFG := device/htc/tattoo/egl.cfg
|
||||
BOARD_EGL_CFG := device/htc/click/egl.cfg
|
||||
|
||||
# No authoring clock for OpenCore
|
||||
# BOARD_NO_PV_AUTHORING_CLOCK := true
|
||||
@ -92,7 +92,7 @@ TARGET_RELEASETOOLS_EXTENSIONS := device/htc/common
|
||||
# mtd3: 09600000 00020000 "system"
|
||||
# mtd4: 09600000 00020000 "cache"
|
||||
# mtd5: 0a520000 00020000 "userdata"
|
||||
# Changed for Tattoo
|
||||
# Changed for click
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00280000
|
||||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x09600000
|
||||
|
@ -12,6 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This file is generated by device/htc/tattoo/setup-makefiles.sh
|
||||
# This file is generated by device/htc/click/setup-makefiles.sh
|
||||
|
||||
USE_CAMERA_STUB := false
|
||||
|
@ -1,42 +1,42 @@
|
||||
# Kernel Modules TO BE COPIED
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.usbmap:system/lib/modules/2.6.29-Kalim/modules.usbmap \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.alias:system/lib/modules/2.6.29-Kalim/modules.alias \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.symbols:system/lib/modules/2.6.29-Kalim/modules.symbols \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.isapnpmap:system/lib/modules/2.6.29-Kalim/modules.isapnpmap \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.ofmap:system/lib/modules/2.6.29-Kalim/modules.ofmap \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.ccwmap:system/lib/modules/2.6.29-Kalim/modules.ccwmap \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.pcimap:system/lib/modules/2.6.29-Kalim/modules.pcimap \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.ieee1394map:system/lib/modules/2.6.29-Kalim/modules.ieee1394map \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.seriomap:system/lib/modules/2.6.29-Kalim/modules.seriomap \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_ro.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_ro.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_tunnel.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_tunnel.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/mip6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/mip6.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/sit.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/sit.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/esp6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/esp6.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/ip6_tunnel.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/ip6_tunnel.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_transport.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_transport.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_tunnel.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_tunnel.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/ipcomp6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/ipcomp6.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/ipv6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/ipv6.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/ah6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/ah6.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/tunnel6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/tunnel6.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_beet.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_beet.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/netfilter/xt_TCPMSS.ko:system/lib/modules/2.6.29-Kalim/kernel/net/netfilter/xt_TCPMSS.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/xfrm/xfrm_ipcomp.ko:system/lib/modules/2.6.29-Kalim/kernel/net/xfrm/xfrm_ipcomp.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/net/ipv4/tunnel4.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv4/tunnel4.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/drivers/staging/ramzswap/ramzswap.ko:system/lib/modules/2.6.29-Kalim/kernel/drivers/staging/ramzswap/ramzswap.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/drivers/hid/hid-dummy.ko:system/lib/modules/2.6.29-Kalim/kernel/drivers/hid/hid-dummy.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/fs/ext4/ext4.ko:system/lib/modules/2.6.29-Kalim/kernel/fs/ext4/ext4.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/fs/jbd2/jbd2.ko:system/lib/modules/2.6.29-Kalim/kernel/fs/jbd2/jbd2.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/crypto/deflate.ko:system/lib/modules/2.6.29-Kalim/kernel/crypto/deflate.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/kernel/lib/crc16.ko:system/lib/modules/2.6.29-Kalim/kernel/lib/crc16.ko \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.order:system/lib/modules/2.6.29-Kalim/modules.order \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.devname:system/lib/modules/2.6.29-Kalim/modules.devname \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.alias.bin:system/lib/modules/2.6.29-Kalim/modules.alias.bin \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.symbols.bin:system/lib/modules/2.6.29-Kalim/modules.symbols.bin \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.inputmap:system/lib/modules/2.6.29-Kalim/modules.inputmap \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.dep:system/lib/modules/2.6.29-Kalim/modules.dep \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.dep.bin:system/lib/modules/2.6.29-Kalim/modules.dep.bin \
|
||||
device/htc/tattoo/custom/modules/2.6.29-Kalim/modules.softdep:system/lib/modules/2.6.29-Kalim/modules.softdep \
|
||||
device/htc/tattoo/custom/modules/wlan.ko:system/lib/modules/wlan.ko
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.dep:system/lib/modules/2.6.29-Kalim/modules.dep \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.usbmap:system/lib/modules/2.6.29-Kalim/modules.usbmap \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.devname:system/lib/modules/2.6.29-Kalim/modules.devname \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/drivers/hid/hid-dummy.ko:system/lib/modules/2.6.29-Kalim/kernel/drivers/hid/hid-dummy.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/drivers/staging/ramzswap/ramzswap.ko:system/lib/modules/2.6.29-Kalim/kernel/drivers/staging/ramzswap/ramzswap.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/lib/crc16.ko:system/lib/modules/2.6.29-Kalim/kernel/lib/crc16.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/fs/jbd2/jbd2.ko:system/lib/modules/2.6.29-Kalim/kernel/fs/jbd2/jbd2.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/fs/ext4/ext4.ko:system/lib/modules/2.6.29-Kalim/kernel/fs/ext4/ext4.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/crypto/deflate.ko:system/lib/modules/2.6.29-Kalim/kernel/crypto/deflate.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_tunnel.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_tunnel.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/mip6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/mip6.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/ah6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/ah6.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/ipv6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/ipv6.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/tunnel6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/tunnel6.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_beet.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_beet.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_ro.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_ro.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/ip6_tunnel.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/ip6_tunnel.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_tunnel.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_tunnel.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/ipcomp6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/ipcomp6.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/sit.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/sit.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_transport.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/xfrm6_mode_transport.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv6/esp6.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv6/esp6.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/ipv4/tunnel4.ko:system/lib/modules/2.6.29-Kalim/kernel/net/ipv4/tunnel4.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/xfrm/xfrm_ipcomp.ko:system/lib/modules/2.6.29-Kalim/kernel/net/xfrm/xfrm_ipcomp.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/kernel/net/netfilter/xt_TCPMSS.ko:system/lib/modules/2.6.29-Kalim/kernel/net/netfilter/xt_TCPMSS.ko \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.order:system/lib/modules/2.6.29-Kalim/modules.order \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.inputmap:system/lib/modules/2.6.29-Kalim/modules.inputmap \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.ofmap:system/lib/modules/2.6.29-Kalim/modules.ofmap \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.pcimap:system/lib/modules/2.6.29-Kalim/modules.pcimap \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.ccwmap:system/lib/modules/2.6.29-Kalim/modules.ccwmap \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.seriomap:system/lib/modules/2.6.29-Kalim/modules.seriomap \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.symbols:system/lib/modules/2.6.29-Kalim/modules.symbols \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.ieee1394map:system/lib/modules/2.6.29-Kalim/modules.ieee1394map \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.softdep:system/lib/modules/2.6.29-Kalim/modules.softdep \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.isapnpmap:system/lib/modules/2.6.29-Kalim/modules.isapnpmap \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.dep.bin:system/lib/modules/2.6.29-Kalim/modules.dep.bin \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.symbols.bin:system/lib/modules/2.6.29-Kalim/modules.symbols.bin \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.alias.bin:system/lib/modules/2.6.29-Kalim/modules.alias.bin \
|
||||
device/htc/click/custom/modules/2.6.29-Kalim/modules.alias:system/lib/modules/2.6.29-Kalim/modules.alias \
|
||||
device/htc/click/custom/modules/wlan.ko:system/lib/modules/wlan.ko
|
||||
|
@ -1,64 +0,0 @@
|
||||
[type=QWERTY]
|
||||
|
||||
# keycode display number base caps fn caps_fn
|
||||
|
||||
A 'A' '2' 'a' 'A' 'a' 'A'
|
||||
B 'B' '2' 'b' 'B' 'b' 'B'
|
||||
C 'C' '2' 'c' 'C' 'c' 0x00E7
|
||||
D 'D' '3' 'd' 'D' ''' 0x00
|
||||
E 'E' '3' 'e' 'E' '"' 0x0301
|
||||
F 'F' '3' 'f' 'F' '[' 0x00A5
|
||||
G 'G' '4' 'g' 'G' ']' '_'
|
||||
H 'H' '4' 'h' 'H' '<' '{'
|
||||
I 'I' '4' 'i' 'I' '-' 0x0302
|
||||
J 'J' '5' 'j' 'J' '>' '}'
|
||||
K 'K' '5' 'k' 'K' ';' '~'
|
||||
L 'L' '5' 'l' 'L' ':' '`'
|
||||
M 'M' '6' 'm' 'M' '!' 0x00
|
||||
N 'N' '6' 'n' 'N' 'n' 0x0303
|
||||
O 'O' '6' 'o' 'O' '+' 0x00
|
||||
P 'P' '7' 'p' 'P' '=' 0x00
|
||||
Q 'Q' '7' 'q' 'Q' '|' 0x0300
|
||||
R 'R' '7' 'r' 'R' '`' 0x20AC
|
||||
S 'S' '7' 's' 'S' '\' 0x00DF
|
||||
T 'T' '8' 't' 'T' '{' 0x00A3
|
||||
U 'U' '8' 'u' 'U' '_' 0x0308
|
||||
V 'V' '8' 'v' 'V' 'v' 'V'
|
||||
W 'W' '9' 'w' 'W' '~' 0x00
|
||||
X 'X' '9' 'x' 'X' 'x' 0xEF00
|
||||
Y 'Y' '9' 'y' 'Y' '}' 0x00A1
|
||||
Z 'Z' '9' 'z' 'Z' 'z' 'Z'
|
||||
|
||||
# on pc keyboards
|
||||
COMMA ',' ',' ',' ',' ',' ','
|
||||
PERIOD '.' '.' '.' '.' '.' 0x2026
|
||||
AT '@' 0x00 '@' '@' '@' 0x2022
|
||||
SLASH '/' '/' '/' '?' '?' '\'
|
||||
|
||||
SPACE 0x20 0x20 0x20 0x20 0xEF01 0xEF01
|
||||
ENTER 0xa 0xa 0xa 0xa 0xa 0xa
|
||||
|
||||
TAB 0x9 0x9 0x9 0x9 0x9 0x9
|
||||
0 '0' '0' '0' ')' ')' ')'
|
||||
1 '1' '1' '1' '!' '!' '!'
|
||||
2 '2' '2' '2' '"' '"' '"'
|
||||
3 '3' '3' '3' '#' '#' '#'
|
||||
4 '4' '4' '4' '$' '$' '$'
|
||||
5 '5' '5' '5' '%' '%' '%'
|
||||
6 '6' '6' '6' '^' '^' '^'
|
||||
7 '7' '7' '7' '&' '&' '&'
|
||||
8 '8' '8' '8' '*' '*' '*'
|
||||
9 '9' '9' '9' '(' '(' '('
|
||||
GRAVE '`' '`' '`' '~' '`' '~'
|
||||
MINUS '-' '-' '-' '_' '-' '_'
|
||||
EQUALS '=' '=' '=' '+' '=' '+'
|
||||
LEFT_BRACKET '[' '[' '[' '{' '[' '{'
|
||||
RIGHT_BRACKET ']' ']' ']' '}' ']' '}'
|
||||
BACKSLASH '\' '\' '\' '|' '\' '|'
|
||||
SEMICOLON ';' ';' ';' ':' ';' ':'
|
||||
APOSTROPHE ''' ''' ''' '"' ''' '"'
|
||||
STAR '*' '*' '*' '*' '*' '*'
|
||||
POUND '#' '#' '#' '#' '#' '#'
|
||||
PLUS '+' '+' '+' '+' '+' '+'
|
||||
|
||||
|
69
click-vendor-blobs.mk
Normal file
@ -0,0 +1,69 @@
|
||||
# libgps is necessary to complete the compilation
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/proprietary/libgps.so:obj/lib/libgps.so \
|
||||
device/htc/click/custom/logo.rle:root/logo.rle
|
||||
|
||||
# proprietary for modules
|
||||
$(call inherit-product, device/htc/click/KernelModules.mk)
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/custom/backuptool.sh:system/bin/backuptool.sh
|
||||
|
||||
# proprietary for etc
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/custom/10calibrate_screen:system/etc/init.d/10calibrate_screen \
|
||||
device/htc/click/custom/sysctl.conf:system/etc/sysctl.conf
|
||||
|
||||
# click Calibration and other apps
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/proprietary/app/HTCCalibrate.apk:system/app/HTCCalibrate.apk
|
||||
|
||||
# proprietary for /system/bin
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/custom/compcache:system/bin/compcache \
|
||||
device/htc/click/custom/rzscontrol:system/bin/rzscontrol
|
||||
|
||||
# Other bin stuff
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/proprietary/akm8973:system/bin/akm8973
|
||||
|
||||
# psfreedom files
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/custom/modules.recovery/psfreedom.ko:recovery/root/res/modules/psfreedom.ko
|
||||
|
||||
# proprietary stuff
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/proprietary/AudioPara4.csv:system/etc/AudioPara4.csv \
|
||||
device/htc/click/proprietary/AudioFilter.csv:system/etc/AudioFilter.csv \
|
||||
device/htc/click/proprietary/AudioPreProcess.csv:system/etc/AudioPreProcess.csv \
|
||||
device/htc/click/proprietary/liboemcamera.so:system/lib/liboemcamera.so \
|
||||
device/htc/click/proprietary/libmmcamera.so:system/lib/libmmcamera.so \
|
||||
device/htc/click/proprietary/libmm-qcamera-tgt.so:system/lib/libmm-qcamera-tgt.so \
|
||||
device/htc/click/proprietary/libmmjpeg.so:system/lib/libmmjpeg.so \
|
||||
device/htc/click/proprietary/libaudioeq.so:system/lib/libaudioeq.so \
|
||||
device/htc/click/proprietary/libqcamera.so:system/lib/libqcamera.so \
|
||||
device/htc/click/proprietary/libmm-adspsvc.so:system/lib/libmm-adspsvc.so \
|
||||
device/htc/click/proprietary/libGLES_qcom.so:system/lib/egl/libGLES_qcom.so \
|
||||
device/htc/click/proprietary/libgps.so:system/lib/libgps.so \
|
||||
device/htc/click/proprietary/libOmxH264Dec.so:system/lib/libOmxH264Dec.so \
|
||||
device/htc/click/proprietary/libOmxMpeg4Dec.so:system/lib/libOmxMpeg4Dec.so \
|
||||
device/htc/click/proprietary/libOmxVidEnc.so:system/lib/libOmxVidEnc.so \
|
||||
device/htc/click/proprietary/libmm-adspsvc.so:system/lib/libmm-adspsvc.so \
|
||||
device/htc/click/proprietary/libhtc_acoustic.so:system/lib/libhtc_acoustic.so \
|
||||
device/htc/click/proprietary/libhtc_ril.so:system/lib/libhtc_ril.so \
|
||||
device/htc/click/keylayout/bahamas-keypad.kl:system/usr/keylayout/bahamas-keypad.kl \
|
||||
device/htc/click/keylayout/h2w_headset.kl:system/usr/keylayout/h2w_headset.kl \
|
||||
device/htc/click/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl \
|
||||
device/htc/click/firmware/Fw1251r1c.bin:system/etc/wifi/Fw1251r1c.bin \
|
||||
device/htc/click/firmware/brf6300.bin:system/etc/firmware/brf6300.bin \
|
||||
device/htc/click/firmware/brf6350.bin:system/etc/firmware/brf6350.bin
|
||||
|
||||
ifdef WITH_WINDOWS_MEDIA
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/proprietary/libomx_wmadec_sharedlibrary.so:system/lib/libomx_wmadec_sharedlibrary.so \
|
||||
device/htc/click/proprietary/libomx_wmvdec_sharedlibrary.so:system/lib/libomx_wmvdec_sharedlibrary.so \
|
||||
device/htc/click/proprietary/libpvasfcommon.so:system/lib/libpvasfcommon.so \
|
||||
device/htc/click/proprietary/libpvasflocalpbreg.so:system/lib/libpvasflocalpbreg.so \
|
||||
device/htc/click/proprietary/libpvasflocalpb.so:system/lib/libpvasflocalpb.so \
|
||||
device/htc/click/proprietary/pvasflocal.cfg:system/etc/pvasflocal.cfg
|
||||
endif
|
@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
DEVICE_PACKAGE_OVERLAYS += device/htc/tattoo/overlay
|
||||
DEVICE_PACKAGE_OVERLAYS += device/htc/buzz/overlay
|
||||
|
||||
# Live wallpaper packages
|
||||
PRODUCT_PACKAGES += \
|
||||
@ -24,13 +24,12 @@ PRODUCT_PACKAGES += \
|
||||
# Publish that we support the live wallpaper feature.
|
||||
PRODUCT_COPY_FILES += \
|
||||
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:/system/etc/permissions/android.software.live_wallpaper.xml \
|
||||
device/htc/tattoo/vold.fstab:system/etc/vold.fstab
|
||||
device/htc/click/vold.fstab:system/etc/vold.fstab
|
||||
|
||||
$(call inherit-product, device/htc/tattoo/tattoo-vendor-blobs.mk)
|
||||
$(call inherit-product, device/htc/click/click-vendor-blobs.mk)
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
librs_jni \
|
||||
bahamas-keypad.kcm \
|
||||
sensors.bahamas \
|
||||
lights.bahamas \
|
||||
copybit.bahamas \
|
||||
@ -38,6 +37,7 @@ PRODUCT_PACKAGES += \
|
||||
gps.bahamas \
|
||||
libOmxCore \
|
||||
libmm-omxcore \
|
||||
libOmxVidEnc \
|
||||
wlan_loader \
|
||||
tiwlan.ini \
|
||||
libcamera \
|
||||
@ -45,8 +45,8 @@ PRODUCT_PACKAGES += \
|
||||
dhcpcd.conf
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/tattoo/init.bahamas.rc:root/init.bahamas.rc \
|
||||
device/htc/tattoo/ueventd.bahamas.rc:root/ueventd.bahamas.rc
|
||||
device/htc/click/init.bahamas.rc:root/init.bahamas.rc \
|
||||
device/htc/click/ueventd.bahamas.rc:root/ueventd.bahamas.rc
|
||||
|
||||
# Add normal Gallery
|
||||
PRODUCT_PACKAGES += Gallery
|
||||
@ -59,6 +59,16 @@ PRODUCT_COPY_FILES += \
|
||||
frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
|
||||
frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml
|
||||
|
||||
# keychars and keylayout files
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/keychars/bahamas-keypad.kcm.bin:system/usr/keychars/bahamas-keypad.kcm.bin \
|
||||
device/htc/click/keychars/qwerty.kcm.bin:system/usr/keychars/qwerty.kcm.bin \
|
||||
device/htc/click/keychars/qwerty2.kcm.bin:system/usr/keychars/qwerty2.kcm.bin \
|
||||
device/htc/click/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl \
|
||||
device/htc/click/keylayout/bahamas-keypad.kl:system/usr/keylayout/bahamas-keypad.kl \
|
||||
device/htc/click/keylayout/h2w_headset.kl:system/usr/keylayout/h2w_headset.kl \
|
||||
device/htc/click/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.media.dec.jpeg.memcap=10000000
|
||||
|
||||
@ -101,9 +111,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
# 0 => WCDMA Preferred.
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.telephony.default_network=0 \
|
||||
ro.com.android.dataroaming=false \
|
||||
ro.com.google.locationfeatures=1 \
|
||||
keyguard.no_require_sim=true
|
||||
ro.com.google.locationfeatures=1
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
debug.sf.hw=1 \
|
||||
@ -130,13 +138,17 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.compcache.default=18
|
||||
|
||||
# Makes HOME ADW / OTHERS to be always in memoory
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
pref_lock_home=1
|
||||
|
||||
# media configuration xml file
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/tattoo/media_profiles.xml:/system/etc/media_profiles.xml
|
||||
device/htc/click/media_profiles.xml:/system/etc/media_profiles.xml
|
||||
|
||||
# Kernel Targets
|
||||
ifeq ($(TARGET_PREBUILT_KERNEL),)
|
||||
LOCAL_KERNEL := device/htc/tattoo/custom/kernel
|
||||
LOCAL_KERNEL := device/htc/click/custom/kernel
|
||||
else
|
||||
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
|
||||
endif
|
||||
@ -148,5 +160,5 @@ $(call inherit-product, device/common/gps/gps_eu_supl.mk)
|
||||
$(call inherit-product, device/htc/common/common.mk)
|
||||
$(call inherit-product, build/target/product/full_base.mk)
|
||||
|
||||
PRODUCT_NAME := htc_tattoo
|
||||
PRODUCT_DEVICE := tattoo
|
||||
PRODUCT_NAME := htc_click
|
||||
PRODUCT_DEVICE := click
|
@ -5,7 +5,7 @@
|
||||
|
||||
C=/tmp/backupdir
|
||||
S=/system
|
||||
V=KalimAz
|
||||
V=nFinityGB-0
|
||||
|
||||
PROCEED=1;
|
||||
|
||||
@ -18,7 +18,7 @@ check_prereq() {
|
||||
}
|
||||
|
||||
check_installscript() {
|
||||
if [ -f "/tmp/.installscript" ];
|
||||
if [ -f "/tmp/.installscript" -a ! -f "$S/etc/force_backuptool" ];
|
||||
then
|
||||
echo "/tmp/.installscript found. Skipping backuptool."
|
||||
PROCEED=0;
|
||||
@ -70,6 +70,7 @@ lib/libspeech.so
|
||||
lib/libvoicesearch.so
|
||||
etc/hosts
|
||||
etc/custom_backup_list.txt
|
||||
etc/force_backuptool
|
||||
EOF
|
||||
}
|
||||
|
||||
|
BIN
custom/kernel
Executable file → Normal file
@ -1 +1 @@
|
||||
/home/calimochoazucarado/android/Enviado_a_GITHUB/kernel.kalimochoAz
|
||||
/home/kalimochoaz/android/kernel.kalimochoAz
|
0
custom/recovery_kernel
Executable file → Normal file
@ -27,6 +27,7 @@ on boot
|
||||
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
|
||||
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
|
||||
chmod 0660 /sys/class/rfkill/rfkill0/state
|
||||
chown system system /dev/ttyHSUSB0
|
||||
|
||||
# Permissions for Liblights.
|
||||
chown system system /sys/class/leds/green/brightness
|
||||
@ -43,6 +44,11 @@ on boot
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 40000
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold 85
|
||||
|
||||
# performance tweaks for flash
|
||||
write /sys/block/mtdblock3/bdi/read_ahead_kb 4
|
||||
write /sys/block/mtdblock4/bdi/read_ahead_kb 4
|
||||
write /sys/block/mtdblock5/bdi/read_ahead_kb 4
|
||||
|
||||
# compass/accelerometer daemon
|
||||
service akm8973 /system/bin/akm8973
|
||||
user compass
|
||||
|
BIN
keychars/bahamas-keypad.kcm.bin
Normal file
6
keylayout/AVRCP.kl
Normal file
@ -0,0 +1,6 @@
|
||||
key 164 MEDIA_PLAY_PAUSE WAKE
|
||||
key 128 MEDIA_STOP WAKE
|
||||
key 163 MEDIA_NEXT WAKE
|
||||
key 165 MEDIA_PREVIOUS WAKE
|
||||
key 168 MEDIA_REWIND WAKE
|
||||
key 159 MEDIA_FAST_FORWARD WAKE
|
@ -1,6 +1,4 @@
|
||||
BOARD_USES_OLD_CAMERA_HACK:=true
|
||||
|
||||
ifeq ($(BOARD_USES_OLD_CAMERA_HACK),true)
|
||||
ifeq ($(TARGET_BOOTLOADER_BOARD_NAME),bahamas)
|
||||
BUILD_LIBCAMERA:= true
|
||||
ifeq ($(BUILD_LIBCAMERA),true)
|
||||
|
||||
|
@ -79,25 +79,25 @@
|
||||
<!-- Each camcorder profile defines a set of predefined configuration parameters -->
|
||||
<CamcorderProfiles>
|
||||
|
||||
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
|
||||
<Video codec="h264"
|
||||
bitRate="3000000"
|
||||
width="720"
|
||||
height="480"
|
||||
frameRate="24" />
|
||||
<EncoderProfile quality="high" fileFormat="3gp" duration="60">
|
||||
<Video codec="h263"
|
||||
bitRate="360000"
|
||||
width="352"
|
||||
height="288"
|
||||
frameRate="20" />
|
||||
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
<Audio codec="aac"
|
||||
bitRate="64000"
|
||||
sampleRate="16000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
|
||||
<Video codec="m4v"
|
||||
bitRate="256000"
|
||||
<EncoderProfile quality="low" fileFormat="3gp" duration="60">
|
||||
<Video codec="h263"
|
||||
bitRate="192000"
|
||||
width="176"
|
||||
height="144"
|
||||
frameRate="15" />
|
||||
frameRate="20" />
|
||||
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
@ -124,23 +124,22 @@
|
||||
In other words, the applications won't be able to use the codec
|
||||
or query the capabilities of the codec at all if it is disabled
|
||||
-->
|
||||
<VideoEncoderCap name="h264" enabled="true"
|
||||
minBitRate="64000" maxBitRate="6000000"
|
||||
minFrameWidth="176" maxFrameWidth="800"
|
||||
minFrameHeight="144" maxFrameHeight="480"
|
||||
minFrameRate="1" maxFrameRate="30" />
|
||||
|
||||
<VideoEncoderCap name="h263" enabled="true"
|
||||
minBitRate="64000" maxBitRate="6000000"
|
||||
minFrameWidth="176" maxFrameWidth="800"
|
||||
minFrameHeight="144" maxFrameHeight="480"
|
||||
minFrameRate="1" maxFrameRate="30" />
|
||||
minBitRate="192000" maxBitRate="420000"
|
||||
minFrameWidth="176" maxFrameWidth="352"
|
||||
minFrameHeight="144" maxFrameHeight="288"
|
||||
minFrameRate="1" maxFrameRate="20" />
|
||||
|
||||
<VideoEncoderCap name="m4v" enabled="true"
|
||||
minBitRate="64000" maxBitRate="8000000"
|
||||
minFrameWidth="176" maxFrameWidth="1280"
|
||||
minFrameHeight="144" maxFrameHeight="720"
|
||||
minFrameRate="1" maxFrameRate="30" />
|
||||
minBitRate="192000" maxBitRate="420000"
|
||||
minFrameWidth="176" maxFrameWidth="352"
|
||||
minFrameHeight="144" maxFrameHeight="288"
|
||||
minFrameRate="1" maxFrameRate="20" />
|
||||
|
||||
<AudioEncoderCap name="aac" enabled="true"
|
||||
minBitRate="8192" maxBitRate="96000"
|
||||
minSampleRate="8000" maxSampleRate="16000"
|
||||
minChannels="1" maxChannels="1" />
|
||||
|
||||
<AudioEncoderCap name="amrnb" enabled="true"
|
||||
minBitRate="5525" maxBitRate="12200"
|
||||
|
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 446 B |
Before Width: | Height: | Size: 550 B |
@ -1,43 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/* //device/apps/common/res/drawable/stat_sys_battery.xml
|
||||
**
|
||||
** Copyright 2007, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:maxLevel="4" android:drawable="@android:drawable/stat_sys_battery_0" />
|
||||
<item android:maxLevel="9" android:drawable="@android:drawable/stat_sys_battery_10" />
|
||||
<item android:maxLevel="14" android:drawable="@android:drawable/stat_sys_battery_15" />
|
||||
<item android:maxLevel="19" android:drawable="@android:drawable/stat_sys_battery_20" />
|
||||
<item android:maxLevel="24" android:drawable="@android:drawable/stat_sys_battery_25" />
|
||||
<item android:maxLevel="29" android:drawable="@android:drawable/stat_sys_battery_30" />
|
||||
<item android:maxLevel="34" android:drawable="@android:drawable/stat_sys_battery_35" />
|
||||
<item android:maxLevel="39" android:drawable="@android:drawable/stat_sys_battery_40" />
|
||||
<item android:maxLevel="44" android:drawable="@android:drawable/stat_sys_battery_45" />
|
||||
<item android:maxLevel="49" android:drawable="@android:drawable/stat_sys_battery_50" />
|
||||
<item android:maxLevel="54" android:drawable="@android:drawable/stat_sys_battery_55" />
|
||||
<item android:maxLevel="59" android:drawable="@android:drawable/stat_sys_battery_60" />
|
||||
<item android:maxLevel="64" android:drawable="@android:drawable/stat_sys_battery_65" />
|
||||
<item android:maxLevel="69" android:drawable="@android:drawable/stat_sys_battery_70" />
|
||||
<item android:maxLevel="74" android:drawable="@android:drawable/stat_sys_battery_75" />
|
||||
<item android:maxLevel="79" android:drawable="@android:drawable/stat_sys_battery_80" />
|
||||
<item android:maxLevel="84" android:drawable="@android:drawable/stat_sys_battery_85" />
|
||||
<item android:maxLevel="89" android:drawable="@android:drawable/stat_sys_battery_90" />
|
||||
<item android:maxLevel="94" android:drawable="@android:drawable/stat_sys_battery_95" />
|
||||
<item android:maxLevel="100" android:drawable="@android:drawable/stat_sys_battery_100" />
|
||||
</level-list>
|
||||
|
@ -1,61 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2008 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.
|
||||
-->
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/listPreferredItemHeight"
|
||||
|
||||
android:paddingLeft="11dip"
|
||||
android:paddingTop="4dip"
|
||||
android:paddingBottom="4dip"
|
||||
>
|
||||
|
||||
<ImageView android:id="@+id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginRight="9dip"
|
||||
/>
|
||||
|
||||
|
||||
<TextView android:id="@+id/status"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="22dip"
|
||||
|
||||
android:layout_toRightOf="@id/icon"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
|
||||
android:textAppearance="?android:attr/textAppearanceSmallInverse"
|
||||
/>
|
||||
|
||||
|
||||
<TextView android:id="@+id/message"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:layout_toRightOf="@id/icon"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_above="@id/status"
|
||||
android:layout_alignWithParentIfMissing="true"
|
||||
android:gravity="center_vertical"
|
||||
android:textAppearance="?android:attr/textAppearanceLargeInverse"
|
||||
/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
@ -1,120 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
**
|
||||
** Copyright 2008, 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.
|
||||
*/
|
||||
-->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/background_dark"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<LinearLayout android:id="@+id/topDisplayGroup"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- header text ('Enter Pin Code') -->
|
||||
<TextView android:id="@+id/headerText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
||||
|
||||
<!-- Carrier info -->
|
||||
<TextView android:id="@+id/carrier"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="2dip"
|
||||
android:layout_marginBottom="2dip"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
|
||||
<!-- password entry -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginRight="6dip"
|
||||
android:layout_marginLeft="6dip"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@android:drawable/edit_text">
|
||||
|
||||
<!-- displays dots as user enters pin -->
|
||||
<TextView android:id="@+id/pinDisplay"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:maxLines="1"
|
||||
android:textAppearance="?android:attr/textAppearanceLargeInverse"
|
||||
android:textStyle="bold"
|
||||
android:inputType="textPassword"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/backspace"
|
||||
android:src="@android:drawable/ic_input_delete"
|
||||
android:layout_width="48.0dip"
|
||||
android:layout_height="48.0dip"
|
||||
android:layout_marginRight="-3dip"
|
||||
android:layout_marginBottom="-3dip"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<include
|
||||
android:id="@+id/keyPad"
|
||||
layout="@android:layout/twelve_key_entry"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/topDisplayGroup"
|
||||
android:layout_marginTop="3dip"
|
||||
android:layout_marginBottom="3dip"
|
||||
/>
|
||||
|
||||
<!-- spacer below keypad -->
|
||||
<View
|
||||
android:id="@+id/spacerBottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dip"
|
||||
android:layout_above="@id/emergencyCall"
|
||||
android:background="@android:drawable/divider_horizontal_dark"
|
||||
/>
|
||||
|
||||
<!-- The emergency button should take the rest of the space and be centered vertically -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- emergency call button -->
|
||||
<Button
|
||||
android:id="@+id/emergencyCall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@android:drawable/ic_emergency"
|
||||
android:drawablePadding="8dip"
|
||||
android:text="@android:string/lockscreen_emergency_call"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
@ -1,250 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
**
|
||||
** Copyright 2009, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- This is the general lock screen which shows information about the
|
||||
state of the device, as well as instructions on how to get past it
|
||||
depending on the state of the device. It is the same for landscape
|
||||
and portrait.-->
|
||||
<android.gesture.GestureOverlayView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/gestures"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:gestureStrokeType="multiple"
|
||||
android:eventsInterceptionEnabled="false"
|
||||
android:orientation="none">
|
||||
<RelativeLayout
|
||||
xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#70000000"
|
||||
android:gravity="center_horizontal"
|
||||
android:id="@+id/root">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/carrier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginTop="8dip"
|
||||
android:layout_marginRight="8dip"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:gravity="right|bottom"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
/>
|
||||
|
||||
<!-- "emergency calls only" shown when sim is missing or PUKd -->
|
||||
<TextView
|
||||
android:id="@+id/emergencyCallText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/carrier"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginTop="0dip"
|
||||
android:layout_marginRight="8dip"
|
||||
android:text="@string/emergency_calls_only"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="@color/white"
|
||||
/>
|
||||
|
||||
<!-- time and date -->
|
||||
<com.android.internal.widget.DigitalClock android:id="@+id/time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/carrier"
|
||||
android:layout_marginTop="22dip"
|
||||
android:layout_marginLeft="20dip"
|
||||
android:paddingBottom="8dip"
|
||||
>
|
||||
|
||||
<TextView android:id="@+id/timeDisplay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="none"
|
||||
android:textSize="72sp"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:shadowColor="#C0000000"
|
||||
android:shadowDx="0"
|
||||
android:shadowDy="0"
|
||||
android:shadowRadius="3.0"
|
||||
android:layout_marginBottom="10dip"
|
||||
/>
|
||||
|
||||
<TextView android:id="@+id/am_pm"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/timeDisplay"
|
||||
android:layout_alignBaseline="@id/timeDisplay"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="none"
|
||||
android:textSize="22sp"
|
||||
android:layout_marginLeft="8dip"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:shadowColor="#C0000000"
|
||||
android:shadowDx="0"
|
||||
android:shadowDy="0"
|
||||
android:shadowRadius="3.0"
|
||||
/>
|
||||
</com.android.internal.widget.DigitalClock>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/time"
|
||||
android:layout_marginLeft="24dip"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/date"
|
||||
android:layout_marginTop="2dip"
|
||||
android:layout_marginLeft="24dip"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:drawablePadding="4dip"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/status1"
|
||||
android:layout_marginTop="2dip"
|
||||
android:layout_marginLeft="24dip"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:drawablePadding="4dip"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/customMsg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="2dip"
|
||||
android:layout_marginLeft="24dip"
|
||||
android:layout_marginRight="24dip"
|
||||
android:layout_below="@id/status2"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/screenLocked"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/customMsg"
|
||||
android:layout_marginLeft="24dip"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:layout_marginTop="2dip"
|
||||
android:drawablePadding="4dip"
|
||||
/>
|
||||
|
||||
<com.android.internal.widget.SlidingTab
|
||||
android:id="@+id/tab_selector2"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="132dip"
|
||||
/>
|
||||
|
||||
<com.android.internal.widget.SlidingTab
|
||||
android:id="@+id/tab_selector"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="42dip"
|
||||
/>
|
||||
|
||||
<com.android.internal.widget.RotarySelector
|
||||
android:id="@+id/rotary_selector"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="0dip"
|
||||
/>
|
||||
|
||||
<!-- emergency call button shown when sim is PUKd and tab_selector is
|
||||
hidden -->
|
||||
<Button
|
||||
android:id="@+id/emergencyCallButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_emergency"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="62dip"
|
||||
style="@style/Widget.Button.Transparent"
|
||||
android:drawablePadding="8dip"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
|
||||
<!-- music control buttons -->
|
||||
<ImageButton
|
||||
android:id="@+id/musicControlPlay"
|
||||
android:src="@drawable/ic_media_play"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:padding="10px"
|
||||
android:background="@color/transparent"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
<ImageButton
|
||||
android:id="@+id/musicControlPause"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_media_pause"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:padding="10px"
|
||||
android:background="@color/transparent"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
<ImageButton
|
||||
android:id="@+id/musicControlPrevious"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_media_previous"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:padding="10px"
|
||||
android:layout_toLeftOf="@+id/musicControlPause"
|
||||
android:background="@color/transparent"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
<ImageButton
|
||||
android:id="@+id/musicControlNext"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_media_next"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:padding="10px"
|
||||
android:layout_toRightOf="@+id/musicControlPause"
|
||||
android:background="@color/transparent"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
</android.gesture.GestureOverlayView>
|
@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2006 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.
|
||||
-->
|
||||
|
||||
<!-- Layout used as the dialog's content View for EditTextPreference. -->
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+android:id/edittext_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="0dip"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView android:id="@+android:id/message"
|
||||
style="?android:attr/textAppearanceSmall"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColorSecondary" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
@ -1,181 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2008, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- This is not a standalone element it can be included into apps that need 12-key input -->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="50dip"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="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:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
<Button android:id="@+id/two"
|
||||
android:layout_width="0sp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
<Button android:id="@+id/three"
|
||||
android:layout_width="0sp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="50dip"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="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:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
<Button android:id="@+id/five"
|
||||
android:layout_width="0sp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
<Button android:id="@+id/six"
|
||||
android:layout_width="0sp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="50dip"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="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:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
<Button android:id="@+id/eight"
|
||||
android:layout_width="0sp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
<Button android:id="@+id/nine"
|
||||
android:layout_width="0sp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="50dip"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button android:id="@+id/ok"
|
||||
android:layout_width="0sp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textStyle="bold"
|
||||
android:text="@android:string/ok"
|
||||
/>
|
||||
|
||||
<Button android:id="@+id/zero"
|
||||
android:layout_width="0sp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
<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:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textStyle="bold"
|
||||
android:text="@android:string/cancel"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
@ -1,68 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:padding="8dip"
|
||||
>
|
||||
|
||||
<ImageView android:id="@+id/icon"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/usb_android" />
|
||||
|
||||
<TextView android:id="@+id/banner"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@id/icon"
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="24sp"
|
||||
android:gravity="center"
|
||||
android:text="@string/usb_storage_title" />
|
||||
|
||||
<TextView android:id="@+id/message"
|
||||
android:layout_below="@id/banner"
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:gravity="center"
|
||||
android:text="@string/usb_storage_message" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="6dip"
|
||||
>
|
||||
|
||||
<Button android:id="@+id/mount_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="18dip"
|
||||
android:paddingRight="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:text="@string/usb_storage_stop_button_mount"
|
||||
/>
|
||||
<ProgressBar android:id="@+id/progress"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:indeterminate="true"
|
||||
style="?android:attr/progressBarStyle"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
@ -1,91 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2009, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Flag indicating whether the surface flinger has limited
|
||||
alpha compositing functionality in hardware. If set, the window
|
||||
manager will disable alpha trasformation in animations where not
|
||||
strictly needed. -->
|
||||
<bool name="config_sf_limitedAlpha">false</bool>
|
||||
|
||||
<!-- Flag indicating whether the surface flinger is inefficient
|
||||
at performing a blur. Used by parts of the UI to turn off
|
||||
the blur effect where it isn't worth the performance hit. -->
|
||||
<bool name="config_sf_slowBlur">true</bool>
|
||||
|
||||
<!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION.
|
||||
Please don't copy them, copy anything else. -->
|
||||
|
||||
<!-- This string array should be overridden by the device to present a list of network
|
||||
attributes. This is used by the connectivity manager to decide which networks can coexist
|
||||
based on the hardware -->
|
||||
<!-- An Array of "[Connection name],[ConnectivityManager connection type],
|
||||
[associated radio-type],[priority] -->
|
||||
<string-array translatable="false" name="networkAttributes">
|
||||
<item>"wifi,1,1,1"</item>
|
||||
<item>"mobile,0,0,0"</item>
|
||||
<item>"mobile_mms,2,0,2"</item>
|
||||
<item>"mobile_supl,3,0,2"</item>
|
||||
<item>"mobile_dun,4,0,4"</item>
|
||||
<item>"mobile_hipri,5,0,3"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
USB interfaces. If the device doesn't want to support tething over USB this should
|
||||
be empty. An example would be "usb.*" -->
|
||||
<string-array translatable="false" name="config_tether_usb_regexs">
|
||||
<item>"usb0"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
Wifi interfaces. If the device doesn't want to support tethering over Wifi this
|
||||
should be empty. An example would be "softap.*" -->
|
||||
<string-array translatable="false" name="config_tether_wifi_regexs">
|
||||
</string-array>
|
||||
|
||||
<!-- Regex array of allowable upstream ifaces for tethering - for example if you want
|
||||
tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array -->
|
||||
<string-array translatable="false" name="config_tether_upstream_regexs">
|
||||
<item>"rmnet\\d"</item>
|
||||
<item>"tiwlan\\d"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- If this is true, the screen will fade off. -->
|
||||
<bool name="config_animateScreenLights">true</bool>
|
||||
|
||||
<!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION -->
|
||||
|
||||
<!-- Indicate whether the SD card is accessible without removing the battery. -->
|
||||
<bool name="config_batterySdCardAccessibility">true</bool>
|
||||
|
||||
<!-- Allow the menu hard key to be disabled in LockScreen on some devices -->
|
||||
<bool name="config_disableMenuKeyInLockScreen">true</bool>
|
||||
|
||||
<!-- Component name of the service providing network location support. -->
|
||||
<string name="config_networkLocationProvider">com.google.android.location.NetworkLocationProvider</string>
|
||||
|
||||
<!-- Component name of the service providing geocoder API support. -->
|
||||
<string name="config_geocodeProvider">com.google.android.location.GeocodeProvider</string>
|
||||
|
||||
<!-- Handle notifications differently if device only uses an amber/green
|
||||
LED. This also needs a liblights module that enables them accordingly. -->
|
||||
<bool name="config_amber_green_light">false</bool>
|
||||
</resources>
|
@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/* //device/apps/common/assets/res/any/dimens.xml
|
||||
**
|
||||
** Copyright 2006, 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.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- The width that is used when creating thumbnails of applications. -->
|
||||
<dimen name="thumbnail_width">0dp</dimen>
|
||||
<!-- The height that is used when creating thumbnails of applications. -->
|
||||
<dimen name="thumbnail_height">0dp</dimen>
|
||||
<!-- The standard size (both width and height) of an application icon that
|
||||
will be displayed in the app launcher and elsewhere. -->
|
||||
<dimen name="app_icon_size">48dip</dimen>
|
||||
<dimen name="toast_y_offset">64dip</dimen>
|
||||
<!-- Height of the status bar -->
|
||||
<dimen name="status_bar_height">25dip</dimen>
|
||||
<!-- Height of the status bar -->
|
||||
<dimen name="status_bar_icon_size">25dip</dimen>
|
||||
<!-- Margin at the edge of the screen to ignore touch events for in the windowshade. -->
|
||||
<dimen name="status_bar_edge_ignore">5dp</dimen>
|
||||
<!-- Size of the fastscroll hint letter -->
|
||||
<dimen name="fastscroll_overlay_size">104dp</dimen>
|
||||
<!-- Width of the fastscroll thumb -->
|
||||
<dimen name="fastscroll_thumb_width">64dp</dimen>
|
||||
<!-- Height of the fastscroll thumb -->
|
||||
<dimen name="fastscroll_thumb_height">52dp</dimen>
|
||||
<!-- Default height of a key in the password keyboard -->
|
||||
<dimen name="password_keyboard_key_height">46dip</dimen>
|
||||
<!-- Default correction for the space key in the password keyboard -->
|
||||
<dimen name="password_keyboard_spacebar_vertical_correction">4dip</dimen>
|
||||
</resources>
|
@ -1,877 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2006 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- Global Theme Styles -->
|
||||
<eat-comment />
|
||||
|
||||
|
||||
<style name="WindowTitleBackground">
|
||||
<item name="android:background">@android:drawable/title_bar</item>
|
||||
</style>
|
||||
|
||||
<style name="WindowTitle">
|
||||
<item name="android:singleLine">true</item>
|
||||
<item name="android:textAppearance">@style/TextAppearance.WindowTitle</item>
|
||||
<item name="android:shadowColor">#BB000000</item>
|
||||
<item name="android:shadowRadius">2.75</item>
|
||||
</style>
|
||||
|
||||
<style name="DialogWindowTitle">
|
||||
<item name="android:maxLines">1</item>
|
||||
<item name="android:scrollHorizontally">true</item>
|
||||
<item name="android:textAppearance">@style/TextAppearance.DialogWindowTitle</item>
|
||||
</style>
|
||||
|
||||
<style name="AlertDialog">
|
||||
<item name="fullDark">@android:drawable/popup_full_dark</item>
|
||||
<item name="topDark">@android:drawable/popup_top_dark</item>
|
||||
<item name="centerDark">@android:drawable/popup_center_dark</item>
|
||||
<item name="bottomDark">@android:drawable/popup_bottom_dark</item>
|
||||
<item name="fullBright">@android:drawable/popup_full_bright</item>
|
||||
<item name="topBright">@android:drawable/popup_top_bright</item>
|
||||
<item name="centerBright">@android:drawable/popup_center_bright</item>
|
||||
<item name="bottomBright">@android:drawable/popup_bottom_bright</item>
|
||||
<item name="bottomMedium">@android:drawable/popup_bottom_medium</item>
|
||||
<item name="centerMedium">@android:drawable/popup_center_medium</item>
|
||||
</style>
|
||||
|
||||
<!-- Base style for animations. This style specifies no animations. -->
|
||||
<style name="Animation" />
|
||||
|
||||
<!-- Standard animations for a full-screen window or activity. -->
|
||||
<style name="Animation.Activity">
|
||||
<item name="activityOpenEnterAnimation">@anim/activity_open_enter</item>
|
||||
<item name="activityOpenExitAnimation">@anim/activity_open_exit</item>
|
||||
<item name="activityCloseEnterAnimation">@anim/activity_close_enter</item>
|
||||
<item name="activityCloseExitAnimation">@anim/activity_close_exit</item>
|
||||
<item name="taskOpenEnterAnimation">@anim/task_open_enter</item>
|
||||
<item name="taskOpenExitAnimation">@anim/task_open_exit</item>
|
||||
<item name="taskCloseEnterAnimation">@anim/task_close_enter</item>
|
||||
<item name="taskCloseExitAnimation">@anim/task_close_exit</item>
|
||||
<item name="taskToFrontEnterAnimation">@anim/task_open_enter</item>
|
||||
<item name="taskToFrontExitAnimation">@anim/task_open_exit</item>
|
||||
<item name="taskToBackEnterAnimation">@anim/task_close_enter</item>
|
||||
<item name="taskToBackExitAnimation">@anim/task_close_exit</item>
|
||||
<item name="wallpaperOpenEnterAnimation">@anim/wallpaper_open_enter</item>
|
||||
<item name="wallpaperOpenExitAnimation">@anim/wallpaper_open_exit</item>
|
||||
<item name="wallpaperCloseEnterAnimation">@anim/wallpaper_close_enter</item>
|
||||
<item name="wallpaperCloseExitAnimation">@anim/wallpaper_close_exit</item>
|
||||
<item name="wallpaperIntraOpenEnterAnimation">@anim/wallpaper_intra_open_enter</item>
|
||||
<item name="wallpaperIntraOpenExitAnimation">@anim/wallpaper_intra_open_exit</item>
|
||||
<item name="wallpaperIntraCloseEnterAnimation">@anim/wallpaper_intra_close_enter</item>
|
||||
<item name="wallpaperIntraCloseExitAnimation">@anim/wallpaper_intra_close_exit</item>
|
||||
</style>
|
||||
|
||||
<!-- Standard animations for a non-full-screen window or activity. -->
|
||||
<style name="Animation.Dialog">
|
||||
<item name="windowEnterAnimation">@anim/dialog_enter</item>
|
||||
<item name="windowExitAnimation">@anim/dialog_exit</item>
|
||||
</style>
|
||||
|
||||
<!-- Standard animations for hiding and showing the status bar. -->
|
||||
<style name="Animation.StatusBar">
|
||||
<item name="windowEnterAnimation">@anim/status_bar_enter</item>
|
||||
<item name="windowExitAnimation">@anim/status_bar_exit</item>
|
||||
</style>
|
||||
|
||||
<!-- Standard animations for a translucent window or activity. This
|
||||
style is <em>not<em> used by default for the translucent theme
|
||||
(since translucent activities are a special case that have no
|
||||
clear UI paradigm), but you can make your own specialized theme
|
||||
with this animation style if you would like to have the standard
|
||||
platform transition animation. -->
|
||||
<style name="Animation.Translucent">
|
||||
<item name="windowEnterAnimation">@anim/translucent_enter</item>
|
||||
<item name="windowExitAnimation">@anim/translucent_exit</item>
|
||||
</style>
|
||||
|
||||
<!-- Standard animations for a non-full-screen window or activity. -->
|
||||
<style name="Animation.LockScreen">
|
||||
<item name="windowEnterAnimation">@anim/lock_screen_enter</item>
|
||||
<item name="windowExitAnimation">@anim/lock_screen_exit</item>
|
||||
</style>
|
||||
|
||||
<style name="Animation.OptionsPanel">
|
||||
<item name="windowEnterAnimation">@anim/options_panel_enter</item>
|
||||
<item name="windowExitAnimation">@anim/options_panel_exit</item>
|
||||
</style>
|
||||
|
||||
<style name="Animation.SubMenuPanel">
|
||||
<item name="windowEnterAnimation">@anim/submenu_enter</item>
|
||||
<item name="windowExitAnimation">@anim/submenu_exit</item>
|
||||
</style>
|
||||
|
||||
<style name="Animation.TypingFilter">
|
||||
<item name="windowEnterAnimation">@anim/grow_fade_in_center</item>
|
||||
<item name="windowExitAnimation">@anim/shrink_fade_out_center</item>
|
||||
</style>
|
||||
|
||||
<style name="Animation.TypingFilterRestore">
|
||||
<item name="windowEnterAnimation">@null</item>
|
||||
<item name="windowExitAnimation">@anim/shrink_fade_out_center</item>
|
||||
</style>
|
||||
|
||||
<style name="Animation.Toast">
|
||||
<item name="windowEnterAnimation">@anim/toast_enter</item>
|
||||
<item name="windowExitAnimation">@anim/toast_exit</item>
|
||||
</style>
|
||||
|
||||
<style name="Animation.DropDownDown">
|
||||
<item name="windowEnterAnimation">@anim/grow_fade_in</item>
|
||||
<item name="windowExitAnimation">@anim/shrink_fade_out</item>
|
||||
</style>
|
||||
|
||||
<style name="Animation.DropDownUp">
|
||||
<item name="windowEnterAnimation">@anim/grow_fade_in_from_bottom</item>
|
||||
<item name="windowExitAnimation">@anim/shrink_fade_out_from_bottom</item>
|
||||
</style>
|
||||
|
||||
<!-- {@hide} -->
|
||||
<style name="Animation.SlidingCard">
|
||||
<item name="windowEnterAnimation">@anim/slide_in_up</item>
|
||||
<item name="windowExitAnimation">@anim/slide_out_down</item>
|
||||
</style>
|
||||
|
||||
<!-- Window animations that are applied to input method overlay windows. -->
|
||||
<style name="Animation.InputMethod">
|
||||
<item name="windowEnterAnimation">@anim/input_method_enter</item>
|
||||
<item name="windowExitAnimation">@anim/input_method_exit</item>
|
||||
</style>
|
||||
|
||||
<!-- Special optional fancy IM animations. @hide -->
|
||||
<style name="Animation.InputMethodFancy">
|
||||
<item name="windowEnterAnimation">@anim/input_method_fancy_enter</item>
|
||||
<item name="windowExitAnimation">@anim/input_method_fancy_exit</item>
|
||||
</style>
|
||||
|
||||
<!-- Window animations that are applied to the search bar overlay window.
|
||||
Previously used, but currently unused.
|
||||
{@hide Pending API council approval} -->
|
||||
<style name="Animation.SearchBar">
|
||||
<item name="windowEnterAnimation">@anim/search_bar_enter</item>
|
||||
<item name="windowExitAnimation">@anim/search_bar_exit</item>
|
||||
</style>
|
||||
|
||||
<!-- Window animations that are applied to the zoom buttons overlay window. -->
|
||||
<style name="Animation.ZoomButtons">
|
||||
<item name="windowEnterAnimation">@anim/fade_in</item>
|
||||
<item name="windowExitAnimation">@anim/fade_out</item>
|
||||
</style>
|
||||
|
||||
<!-- Standard animations for wallpapers. -->
|
||||
<style name="Animation.Wallpaper">
|
||||
<item name="windowEnterAnimation">@anim/wallpaper_enter</item>
|
||||
<item name="windowExitAnimation">@anim/wallpaper_exit</item>
|
||||
</style>
|
||||
|
||||
<!-- A special animation we can use for recent applications,
|
||||
for devices that can support it (do alpha transformations). -->
|
||||
<style name="Animation.RecentApplications">
|
||||
<item name="windowEnterAnimation">@anim/fade_in</item>
|
||||
<item name="windowExitAnimation">@anim/fade_out</item>
|
||||
</style>
|
||||
|
||||
<!-- A special animation value used internally for popup windows. -->
|
||||
<style name="Animation.PopupWindow" />
|
||||
|
||||
<!-- Status Bar Styles -->
|
||||
|
||||
<style name="TextAppearance.StatusBar">
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
</style>
|
||||
<style name="TextAppearance.StatusBar.Ticker">
|
||||
</style>
|
||||
<style name="TextAppearance.StatusBar.Title">
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.StatusBar.Icon">
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
<style name="TextAppearance.StatusBar.EventContent">
|
||||
<item name="android:textColor">#ff6b6b6b</item>
|
||||
</style>
|
||||
<style name="TextAppearance.StatusBar.EventContent.Title">
|
||||
<item name="android:textSize">16sp</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
|
||||
</style>
|
||||
|
||||
<!-- Widget Styles -->
|
||||
|
||||
<style name="Widget">
|
||||
<item name="android:textAppearance">?textAppearance</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AbsListView">
|
||||
<item name="android:scrollbars">vertical</item>
|
||||
<item name="android:fadingEdge">vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.GestureOverlayView">
|
||||
<item name="android:gestureStrokeWidth">12.0</item>
|
||||
<item name="android:gestureColor">#ffffff00</item>
|
||||
<item name="android:uncertainGestureColor">#48ffff00</item>
|
||||
<item name="android:fadeOffset">420</item>
|
||||
<item name="android:fadeDuration">150</item>
|
||||
<item name="android:gestureStrokeLengthThreshold">50.0</item>
|
||||
<item name="android:gestureStrokeSquarenessThreshold">0.275</item>
|
||||
<item name="android:gestureStrokeAngleThreshold">40.0</item>
|
||||
<item name="android:eventsInterceptionEnabled">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.GestureOverlayView.White">
|
||||
<item name="android:gestureColor">#ff00ff00</item>
|
||||
<item name="android:uncertainGestureColor">#4800ff00</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Button">
|
||||
<item name="android:background">@android:drawable/btn_default</item>
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceSmallInverse</item>
|
||||
<item name="android:textColor">@android:color/primary_text_light</item>
|
||||
<item name="android:gravity">center_vertical|center_horizontal</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Button.Small">
|
||||
<item name="android:background">@android:drawable/btn_default_small</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Button.Inset">
|
||||
<item name="android:background">@android:drawable/button_inset</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Button.Transparent">
|
||||
<item name="android:background">@android:drawable/btn_default_transparent</item>
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.CompoundButton">
|
||||
<item name="android:focusable">true</item>
|
||||
<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>
|
||||
</style>
|
||||
|
||||
<style name="Widget.CompoundButton.CheckBox">
|
||||
<item name="android:background">@android:drawable/btn_check_label_background</item>
|
||||
<item name="android:button">@android:drawable/btn_check</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.CompoundButton.RadioButton">
|
||||
<item name="android:background">@android:drawable/btn_radio_label_background</item>
|
||||
<item name="android:button">@android:drawable/btn_radio</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.CompoundButton.Star">
|
||||
<item name="android:background">@android:drawable/btn_star_label_background</item>
|
||||
<item name="android:button">@android:drawable/btn_star</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Button.Toggle">
|
||||
<item name="android:background">@android:drawable/btn_toggle_bg</item>
|
||||
<item name="android:textOn">@android:string/capital_on</item>
|
||||
<item name="android:textOff">@android:string/capital_off</item>
|
||||
<item name="android:disabledAlpha">?android:attr/disabledAlpha</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ProgressBar">
|
||||
<item name="android:indeterminateOnly">true</item>
|
||||
<item name="android:indeterminateDrawable">@android:drawable/progress_medium_white</item>
|
||||
<item name="android:indeterminateBehavior">repeat</item>
|
||||
<item name="android:indeterminateDuration">3500</item>
|
||||
<item name="android:minWidth">48dip</item>
|
||||
<item name="android:maxWidth">48dip</item>
|
||||
<item name="android:minHeight">48dip</item>
|
||||
<item name="android:maxHeight">48dip</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ProgressBar.Large">
|
||||
<item name="android:indeterminateDrawable">@android:drawable/progress_large_white</item>
|
||||
<item name="android:minWidth">76dip</item>
|
||||
<item name="android:maxWidth">76dip</item>
|
||||
<item name="android:minHeight">76dip</item>
|
||||
<item name="android:maxHeight">76dip</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ProgressBar.Small">
|
||||
<item name="android:indeterminateDrawable">@android:drawable/progress_small_white</item>
|
||||
<item name="android:minWidth">16dip</item>
|
||||
<item name="android:maxWidth">16dip</item>
|
||||
<item name="android:minHeight">16dip</item>
|
||||
<item name="android:maxHeight">16dip</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ProgressBar.Inverse">
|
||||
<item name="android:indeterminateDrawable">@android:drawable/progress_medium</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ProgressBar.Large.Inverse">
|
||||
<item name="android:indeterminateDrawable">@android:drawable/progress_large</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ProgressBar.Small.Inverse">
|
||||
<item name="android:indeterminateDrawable">@android:drawable/progress_small</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ProgressBar.Small.Title">
|
||||
<item name="android:indeterminateDrawable">@android:drawable/progress_small_titlebar</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ProgressBar.Horizontal">
|
||||
<item name="android:indeterminateOnly">false</item>
|
||||
<item name="android:progressDrawable">@android:drawable/progress_horizontal</item>
|
||||
<item name="android:indeterminateDrawable">@android:drawable/progress_indeterminate_horizontal</item>
|
||||
<item name="android:minHeight">20dip</item>
|
||||
<item name="android:maxHeight">20dip</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.SeekBar">
|
||||
<item name="android:indeterminateOnly">false</item>
|
||||
<item name="android:progressDrawable">@android:drawable/progress_horizontal</item>
|
||||
<item name="android:indeterminateDrawable">@android:drawable/progress_horizontal</item>
|
||||
<item name="android:minHeight">20dip</item>
|
||||
<item name="android:maxHeight">20dip</item>
|
||||
<item name="android:thumb">@android:drawable/seek_thumb</item>
|
||||
<item name="android:thumbOffset">8dip</item>
|
||||
<item name="android:focusable">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.RatingBar">
|
||||
<item name="android:indeterminateOnly">false</item>
|
||||
<item name="android:progressDrawable">@android:drawable/ratingbar_full</item>
|
||||
<item name="android:indeterminateDrawable">@android:drawable/ratingbar_full</item>
|
||||
<item name="android:minHeight">57dip</item>
|
||||
<item name="android:maxHeight">57dip</item>
|
||||
<item name="android:thumb">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.RatingBar.Indicator">
|
||||
<item name="android:indeterminateOnly">false</item>
|
||||
<item name="android:progressDrawable">@android:drawable/ratingbar</item>
|
||||
<item name="android:indeterminateDrawable">@android:drawable/ratingbar</item>
|
||||
<item name="android:minHeight">38dip</item>
|
||||
<item name="android:maxHeight">38dip</item>
|
||||
<item name="android:thumb">@null</item>
|
||||
<item name="android:isIndicator">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.RatingBar.Small">
|
||||
<item name="android:indeterminateOnly">false</item>
|
||||
<item name="android:progressDrawable">@android:drawable/ratingbar_small</item>
|
||||
<item name="android:indeterminateDrawable">@android:drawable/ratingbar_small</item>
|
||||
<item name="android:minHeight">14dip</item>
|
||||
<item name="android:maxHeight">14dip</item>
|
||||
<item name="android:thumb">@null</item>
|
||||
<item name="android:isIndicator">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.TextView">
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
|
||||
<item name="android:textSelectHandleLeft">?android:attr/textSelectHandleLeft</item>
|
||||
<item name="android:textSelectHandleRight">?android:attr/textSelectHandleRight</item>
|
||||
<item name="android:textSelectHandle">?android:attr/textSelectHandle</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.TextView.ListSeparator">
|
||||
<item name="android:background">@android:drawable/dark_header_dither</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">25dip</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">?textColorSecondary</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
<item name="android:paddingLeft">5sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.TextView.ListSeparator.White">
|
||||
<item name="android:textColor">?textColorPrimaryInverse</item>
|
||||
<item name="android:background">@android:drawable/light_header_dither</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.EditText">
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:focusableInTouchMode">true</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:background">@android:drawable/edit_text</item>
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceMediumInverse</item>
|
||||
<item name="android:textColor">@android:color/primary_text_light</item>
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ExpandableListView" parent="Widget.ListView">
|
||||
<item name="android:groupIndicator">@android:drawable/expander_group</item>
|
||||
<item name="android:indicatorLeft">?android:attr/expandableListPreferredItemIndicatorLeft</item>
|
||||
<item name="android:indicatorRight">?android:attr/expandableListPreferredItemIndicatorRight</item>
|
||||
<item name="android:childDivider">@android:drawable/divider_horizontal_dark_opaque</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ExpandableListView.White">
|
||||
<item name="android:childDivider">@android:drawable/divider_horizontal_bright_opaque</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ImageWell">
|
||||
<item name="android:background">@android:drawable/panel_picture_frame_background</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ImageButton">
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:scaleType">center</item>
|
||||
<item name="android:background">@android:drawable/btn_default</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AutoCompleteTextView">
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:focusableInTouchMode">true</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:background">@android:drawable/edit_text</item>
|
||||
<item name="android:completionHintView">@android:layout/simple_dropdown_hint</item>
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceMediumInverse</item>
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
<item name="android:completionThreshold">2</item>
|
||||
<item name="android:dropDownSelector">@android:drawable/list_selector_background</item>
|
||||
<item name="android:popupBackground">@android:drawable/spinner_dropdown_background</item>
|
||||
<item name="android:dropDownVerticalOffset">-6dip</item>
|
||||
<item name="android:dropDownHorizontalOffset">0dip</item>
|
||||
<item name="android:dropDownWidth">wrap_content</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Spinner">
|
||||
<item name="android:background">@android:drawable/btn_dropdown</item>
|
||||
<item name="android:clickable">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.TextView.PopupMenu">
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:textAppearance">@style/TextAppearance.Widget.TextView.PopupMenu</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.TextView.SpinnerItem">
|
||||
<item name="android:textAppearance">@style/TextAppearance.Widget.TextView.SpinnerItem</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.DropDownItem">
|
||||
<item name="android:textAppearance">@style/TextAppearance.Widget.DropDownItem</item>
|
||||
<item name="android:paddingLeft">6dip</item>
|
||||
<item name="android:paddingRight">6dip</item>
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.DropDownItem.Spinner">
|
||||
<item name="android:checkMark">@android:drawable/btn_radio</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ScrollView">
|
||||
<item name="android:scrollbars">vertical</item>
|
||||
<item name="android:fadingEdge">vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.HorizontalScrollView">
|
||||
<item name="android:scrollbars">horizontal</item>
|
||||
<item name="android:fadingEdge">horizontal</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ListView" parent="Widget.AbsListView">
|
||||
<item name="android:listSelector">@android:drawable/list_selector_background</item>
|
||||
<item name="android:cacheColorHint">?android:attr/colorBackgroundCacheHint</item>
|
||||
<item name="android:divider">@android:drawable/divider_horizontal_dark_opaque</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ListView.White" parent="Widget.AbsListView">
|
||||
<item name="android:listSelector">@android:drawable/list_selector_background</item>
|
||||
<item name="android:cacheColorHint">?android:attr/colorBackgroundCacheHint</item>
|
||||
<item name="android:divider">@android:drawable/divider_horizontal_bright_opaque</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ListView.DropDown">
|
||||
<item name="android:cacheColorHint">@null</item>
|
||||
<item name="android:divider">@android:drawable/divider_horizontal_bright_opaque</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ListView.Menu">
|
||||
<item name="android:cacheColorHint">@null</item>
|
||||
<item name="android:scrollbars">vertical</item>
|
||||
<item name="android:fadingEdge">vertical</item>
|
||||
<item name="listSelector">@android:drawable/menu_selector</item>
|
||||
<!-- Light background for the list in menus, so the divider for bright themes -->
|
||||
<item name="android:divider">@android:drawable/divider_horizontal_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.GridView" parent="Widget.AbsListView">
|
||||
<item name="android:listSelector">@android:drawable/grid_selector_background</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.WebView">
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:scrollbars">horizontal|vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.WebTextView">
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:focusableInTouchMode">true</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:completionHintView">@android:layout/simple_dropdown_item_1line</item>
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceLargeInverse</item>
|
||||
<item name="android:completionThreshold">2</item>
|
||||
<item name="android:dropDownSelector">@android:drawable/list_selector_background</item>
|
||||
<item name="android:popupBackground">@android:drawable/spinner_dropdown_background</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.TabWidget">
|
||||
<item name="android:textAppearance">@style/TextAppearance.Widget.TabWidget</item>
|
||||
<item name="ellipsize">marquee</item>
|
||||
<item name="singleLine">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Gallery">
|
||||
<item name="android:fadingEdge">horizontal</item>
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
<item name="android:spacing">-20dip</item>
|
||||
<item name="android:unselectedAlpha">0.85</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.PopupWindow">
|
||||
<item name="android:popupBackground">@android:drawable/editbox_dropdown_background_dark</item>
|
||||
<item name="android:popupAnimationStyle">@android:style/Animation.PopupWindow</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.KeyboardView" parent="android:Widget">
|
||||
<item name="android:background">@android:drawable/keyboard_background</item>
|
||||
<item name="android:keyBackground">@android:drawable/btn_keyboard_key</item>
|
||||
<item name="android:keyTextSize">22sp</item>
|
||||
<item name="android:keyTextColor">#FFFFFFFF</item>
|
||||
<item name="android:keyPreviewLayout">@android:layout/keyboard_key_preview</item>
|
||||
<item name="android:keyPreviewOffset">-12dip</item>
|
||||
<item name="android:keyPreviewHeight">80dip</item>
|
||||
<item name="android:labelTextSize">14sp</item>
|
||||
<item name="android:popupLayout">@android:layout/keyboard_popup_keyboard</item>
|
||||
<item name="android:verticalCorrection">-10dip</item>
|
||||
<item name="android:shadowColor">#BB000000</item>
|
||||
<item name="android:shadowRadius">2.75</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.QuickContactBadge">
|
||||
<item name="android:layout_width">47.33333dip</item>
|
||||
<item name="android:layout_height">56dip</item>
|
||||
<item name="android:background">@android:drawable/quickcontact_badge</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:scaleType">fitCenter</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.QuickContactBadgeSmall">
|
||||
<item name="android:layout_width">39dip</item>
|
||||
<item name="android:layout_height">42dip</item>
|
||||
<item name="android:background">@android:drawable/quickcontact_badge_small</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:scaleType">fitCenter</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.QuickContactBadge.WindowSmall">
|
||||
<item name="android:quickContactWindowSize">modeSmall</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.QuickContactBadge.WindowMedium">
|
||||
<item name="android:quickContactWindowSize">modeMedium</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.QuickContactBadge.WindowLarge">
|
||||
<item name="android:quickContactWindowSize">modeLarge</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.QuickContactBadgeSmall.WindowSmall">
|
||||
<item name="android:quickContactWindowSize">modeSmall</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.QuickContactBadgeSmall.WindowMedium">
|
||||
<item name="android:quickContactWindowSize">modeMedium</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.QuickContactBadgeSmall.WindowLarge">
|
||||
<item name="android:quickContactWindowSize">modeLarge</item>
|
||||
</style>
|
||||
|
||||
<!-- Text Appearances -->
|
||||
<eat-comment />
|
||||
|
||||
<style name="TextAppearance">
|
||||
<item name="android:textColor">?textColorPrimary</item>
|
||||
<item name="android:textColorHighlight">#FFFF9200</item>
|
||||
<item name="android:textColorHint">?textColorHint</item>
|
||||
<item name="android:textColorLink">#5C5CFF</item>
|
||||
<item name="android:textSize">16sp</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Inverse">
|
||||
<item name="textColor">?textColorPrimaryInverse</item>
|
||||
<item name="android:textColorHint">?textColorHintInverse</item>
|
||||
<item name="android:textColorLink">#0000EE</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Theme">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.DialogWindowTitle">
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:textColor">?textColorPrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Large">
|
||||
<item name="android:textSize">21sp</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:textColor">?textColorPrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Large.Inverse">
|
||||
<item name="android:textColor">?textColorPrimaryInverse</item>
|
||||
<item name="android:textColorHint">?textColorHintInverse</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Medium">
|
||||
<item name="android:textSize">17sp</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:textColor">?textColorPrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Medium.Inverse">
|
||||
<item name="android:textColor">?textColorPrimaryInverse</item>
|
||||
<item name="android:textColorHint">?textColorHintInverse</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Small">
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:textColor">?textColorSecondary</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Small.Inverse">
|
||||
<item name="android:textColor">?textColorSecondaryInverse</item>
|
||||
<item name="android:textColorHint">?textColorHintInverse</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Theme.Dialog" parent="TextAppearance.Theme">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Theme.Dialog.AppError">
|
||||
<item name="android:textColor">#ffffc0c0</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.Button" parent="TextAppearance.Small.Inverse">
|
||||
<item name="android:textColor">@android:color/primary_text_light_nodisable</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.IconMenu.Item" parent="TextAppearance.Small">
|
||||
<item name="android:textColor">?textColorPrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.EditText">
|
||||
<item name="android:textColor">@color/widget_edittext_dark</item>
|
||||
<item name="android:textColorHint">@android:color/hint_foreground_light</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.TabWidget">
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:textColor">@android:color/tab_indicator_text</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.TextView">
|
||||
<item name="android:textColor">?textColorPrimaryDisableOnly</item>
|
||||
<item name="android:textColorHint">?textColorHint</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.TextView.PopupMenu">
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:textColor">?textColorPrimaryDisableOnly</item>
|
||||
<item name="android:textColorHint">?textColorHint</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.DropDownHint">
|
||||
<item name="android:textColor">?textColorPrimaryInverse</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.DropDownItem">
|
||||
<item name="android:textColor">@android:color/primary_text_light_disable_only</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.TextView.SpinnerItem">
|
||||
<item name="android:textColor">@android:color/primary_text_light_disable_only</item>
|
||||
</style>
|
||||
|
||||
<!-- @hide -->
|
||||
<style name="TextAppearance.SlidingTabNormal"
|
||||
parent="@android:attr/textAppearanceMedium">
|
||||
<item name="android:textColor">?android:attr/textColorTertiary</item>
|
||||
<item name="android:textSize">28sp</item>
|
||||
<item name="android:shadowColor">@android:color/sliding_tab_text_color_shadow</item>
|
||||
<item name="android:shadowDx">0.0</item>
|
||||
<item name="android:shadowDy">1.0</item>
|
||||
<item name="android:shadowRadius">5.0</item>
|
||||
</style>
|
||||
|
||||
<!-- @hide -->
|
||||
<style name="TextAppearance.SlidingTabActive"
|
||||
parent="@android:attr/textAppearanceMedium">
|
||||
<item name="android:textColor">@android:color/sliding_tab_text_color_active</item>
|
||||
<item name="android:textSize">28sp</item>
|
||||
</style>
|
||||
|
||||
|
||||
<!-- @hide -->
|
||||
<style name="TextAppearance.SearchResult">
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:textColor">?textColorPrimaryInverse</item>
|
||||
<item name="android:textColorHint">?textColorHintInverse</item>
|
||||
</style>
|
||||
|
||||
<!-- @hide -->
|
||||
<style name="TextAppearance.SearchResult.Title">
|
||||
<item name="android:textSize">16sp</item>
|
||||
</style>
|
||||
|
||||
<!-- @hide -->
|
||||
<style name="TextAppearance.SearchResult.Subtitle">
|
||||
<item name="android:textSize">13sp</item>
|
||||
<item name="android:textColor">?textColorSecondaryInverse</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.WindowTitle">
|
||||
<item name="android:textColor">#fff</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
|
||||
<!-- Preference Styles -->
|
||||
|
||||
<style name="Preference">
|
||||
<item name="android:layout">@android:layout/preference</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.Information">
|
||||
<item name="android:layout">@android:layout/preference_information</item>
|
||||
<item name="android:enabled">false</item>
|
||||
<item name="android:shouldDisableView">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.Category">
|
||||
<item name="android:layout">@android:layout/preference_category</item>
|
||||
<!-- The title should not dim if the category is disabled, instead only the preference children should dim. -->
|
||||
<item name="android:shouldDisableView">false</item>
|
||||
<item name="android:selectable">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.CheckBoxPreference">
|
||||
<item name="android:widgetLayout">@android:layout/preference_widget_checkbox</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.PreferenceScreen">
|
||||
</style>
|
||||
|
||||
<style name="Preference.DialogPreference">
|
||||
<item name="android:positiveButtonText">@android:string/ok</item>
|
||||
<item name="android:negativeButtonText">@android:string/cancel</item>
|
||||
<item name="android:widgetLayout">@android:layout/preference_dialog</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.DialogPreference.YesNoPreference">
|
||||
<item name="android:positiveButtonText">@android:string/yes</item>
|
||||
<item name="android:negativeButtonText">@android:string/no</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.DialogPreference.EditTextPreference">
|
||||
<item name="android:dialogLayout">@android:layout/preference_dialog_edittext</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.RingtonePreference">
|
||||
<item name="android:ringtoneType">ringtone</item>
|
||||
<item name="android:showSilent">true</item>
|
||||
<item name="android:showDefault">true</item>
|
||||
<item name="android:widgetLayout">@android:layout/preference_dialog</item>
|
||||
</style>
|
||||
|
||||
<!-- Other Misc Styles -->
|
||||
<eat-comment />
|
||||
|
||||
<style name="MediaButton">
|
||||
<item name="android:background">@android:drawable/media_button_background</item>
|
||||
<item name="android:layout_width">71dip</item>
|
||||
<item name="android:layout_height">52dip</item>
|
||||
</style>
|
||||
|
||||
<style name="MediaButton.Previous">
|
||||
<item name="android:src">@android:drawable/ic_media_previous</item>
|
||||
</style>
|
||||
|
||||
<style name="MediaButton.Next">
|
||||
<item name="android:src">@android:drawable/ic_media_next</item>
|
||||
</style>
|
||||
|
||||
<style name="MediaButton.Play">
|
||||
<item name="android:src">@android:drawable/ic_media_play</item>
|
||||
</style>
|
||||
|
||||
<style name="MediaButton.Ffwd">
|
||||
<item name="android:src">@android:drawable/ic_media_ff</item>
|
||||
</style>
|
||||
|
||||
<style name="MediaButton.Rew">
|
||||
<item name="android:src">@android:drawable/ic_media_rew</item>
|
||||
</style>
|
||||
|
||||
<style name="MediaButton.Pause">
|
||||
<item name="android:src">@android:drawable/ic_media_pause</item>
|
||||
</style>
|
||||
|
||||
<style name="ZoomControls">
|
||||
<item name="android:gravity">bottom</item>
|
||||
<item name="android:paddingLeft">15dip</item>
|
||||
<item name="android:paddingRight">15dip</item>
|
||||
</style>
|
||||
|
||||
<!-- Style you can use with a container (typically a horizontal
|
||||
LinearLayout) to get the standard "button bar" background and
|
||||
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:paddingBottom">1dip</item>
|
||||
<item name="android:background">@android:drawable/bottom_bar</item>
|
||||
</style>
|
||||
|
||||
<!-- Style for the small popup windows that contain text selection anchors. -->
|
||||
<style name="Widget.TextSelectHandle">
|
||||
<item name="android:popupAnimationStyle">@android:style/Animation.TextSelectHandle</item>
|
||||
</style>
|
||||
|
||||
<!-- Style for animating text selection handles. -->
|
||||
<style name="Animation.TextSelectHandle">
|
||||
<item name="windowEnterAnimation">@android:anim/fade_in</item>
|
||||
<item name="windowExitAnimation">@android:anim/fade_out</item>
|
||||
</style>
|
||||
</resources>
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2006 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<style name="Theme">
|
||||
|
||||
<!-- List attributes -->
|
||||
<item name="listPreferredItemHeight">58dip</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
@ -1,279 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/* apps/common/assets/default/default/skins/StatusBar.xml
|
||||
**
|
||||
** Copyright 2006, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<com.android.systemui.statusbar.ExpandedView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:focusable="true"
|
||||
android:descendantFocusability="afterDescendants"
|
||||
>
|
||||
|
||||
<LinearLayout android:id="@+id/exp_view_lin_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="3dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingRight="3dp"
|
||||
android:background="@drawable/title_bar_portrait"
|
||||
>
|
||||
<!-- Begin Power Widget -->
|
||||
<LinearLayout android:id="@+id/exp_power_stat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dip"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<LinearLayout android:id="@+id/exp_power_stat_1"
|
||||
android:layout_width="0dip"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/stat_power_bg"
|
||||
>
|
||||
<ImageView android:id="@+id/exp_power_image_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:scaleType="center"
|
||||
/>
|
||||
<ImageView android:id="@+id/exp_power_indic_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitXY"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@+id/exp_power_stat_2"
|
||||
android:layout_width="0dip"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/stat_power_bg"
|
||||
>
|
||||
<ImageView android:id="@+id/exp_power_image_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:scaleType="center"
|
||||
/>
|
||||
<ImageView android:id="@+id/exp_power_indic_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitXY"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@+id/exp_power_stat_3"
|
||||
android:layout_width="0dip"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/stat_power_bg"
|
||||
>
|
||||
<ImageView android:id="@+id/exp_power_image_3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:scaleType="center"
|
||||
/>
|
||||
<ImageView android:id="@+id/exp_power_indic_3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitXY"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@+id/exp_power_stat_4"
|
||||
android:layout_width="0dip"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/stat_power_bg"
|
||||
>
|
||||
<ImageView android:id="@+id/exp_power_image_4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:scaleType="center"
|
||||
/>
|
||||
<ImageView android:id="@+id/exp_power_indic_4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitXY"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@+id/exp_power_stat_5"
|
||||
android:layout_width="0dip"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/stat_power_bg"
|
||||
>
|
||||
<ImageView android:id="@+id/exp_power_image_5"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:scaleType="center"
|
||||
/>
|
||||
<ImageView android:id="@+id/exp_power_indic_5"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitXY"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@+id/exp_power_stat_6"
|
||||
android:layout_width="0dip"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/stat_power_bg"
|
||||
>
|
||||
<ImageView android:id="@+id/exp_power_image_6"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:scaleType="center"
|
||||
/>
|
||||
<ImageView android:id="@+id/exp_power_indic_6"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitXY"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- End Power Widget -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<com.android.systemui.statusbar.CarrierLabel
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginTop="1dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:paddingBottom="1dp"
|
||||
android:paddingLeft="4dp"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="#ffdfdfdf"
|
||||
/>
|
||||
<TextView android:id="@+id/clear_all_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="1dp"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#ff000000"
|
||||
android:text="@string/status_bar_clear_all_button"
|
||||
style="?android:attr/buttonStyle"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp"
|
||||
android:background="@android:drawable/btn_default_small"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
<ScrollView
|
||||
android:id="@+id/scroll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fadingEdge="none"
|
||||
android:overScrollMode="ifContentScrolls"
|
||||
>
|
||||
<com.android.systemui.statusbar.NotificationLinearLayout
|
||||
android:id="@+id/notificationLinearLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
|
||||
<TextView android:id="@+id/noNotificationsTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shade_bgcolor"
|
||||
android:paddingLeft="5dp"
|
||||
android:textAppearance="@style/TextAppearance.StatusBar.Title"
|
||||
android:text="@string/status_bar_no_notifications_title"
|
||||
/>
|
||||
|
||||
<TextView android:id="@+id/ongoingTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shade_bgcolor"
|
||||
android:paddingLeft="5dp"
|
||||
android:textAppearance="@style/TextAppearance.StatusBar.Title"
|
||||
android:text="@string/status_bar_ongoing_events_title"
|
||||
/>
|
||||
<LinearLayout android:id="@+id/ongoingItems"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
/>
|
||||
|
||||
<TextView android:id="@+id/latestTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shade_bgcolor"
|
||||
android:paddingLeft="5dp"
|
||||
android:textAppearance="@style/TextAppearance.StatusBar.Title"
|
||||
android:text="@string/status_bar_latest_events_title"
|
||||
/>
|
||||
<LinearLayout android:id="@+id/latestItems"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
/>
|
||||
</com.android.systemui.statusbar.NotificationLinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/title_bar_shadow"
|
||||
android:scaleType="fitXY"
|
||||
/>
|
||||
|
||||
</FrameLayout>
|
||||
</com.android.systemui.statusbar.ExpandedView>
|
@ -1,68 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/* Copyright (C) 2009 Michael Novak <mike@androidnerds.org>
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
-->
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/layout_root"
|
||||
>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:padding="5dp"
|
||||
android:layout_weight="1.0"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/text_columns_span"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.0"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/widget_columns"/>
|
||||
<TextView
|
||||
android:id="@+id/text_rows_span"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.0"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/widget_rows"/>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:padding="5dp"
|
||||
android:layout_weight="1.0"
|
||||
>
|
||||
<com.android.launcher.NumberPicker
|
||||
android:id="@+id/widget_columns_span"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.0"/>
|
||||
<com.android.launcher.NumberPicker
|
||||
android:id="@+id/widget_rows_span"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.0" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
@ -1,79 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<string name="rom_mod_string">KalimAz</string>
|
||||
<bool name="force_hidden_settings">true</bool>
|
||||
<bool name="config_desktopRotation">true</bool>
|
||||
<integer name="config_desktopSpeed">600</integer>
|
||||
<integer name="config_desktopBounce">30</integer>
|
||||
<integer name="config_pageHorizontalMargin">10</integer>
|
||||
<integer name="config_drawerColumnsPortrait">4</integer>
|
||||
<integer name="config_drawerRowsPortrait">3</integer>
|
||||
<integer name="config_drawerColumnsLandscape">4</integer>
|
||||
<integer name="config_drawerRowsLandscape">3</integer>
|
||||
<string name="config_homeBinding">1</string>
|
||||
<string name="config_swipedown_actions">0</string>
|
||||
<string name="config_swipeup_actions">0</string>
|
||||
<bool name="config_drawerAnimated">true</bool>
|
||||
<!-- config_desktopScreens min value is 1, so it will add 1 to whatever value you set here -->
|
||||
<integer name="config_desktopScreens">4</integer>
|
||||
<integer name="config_defaultScreen">2</integer>
|
||||
<bool name="config_hideStatusbar">false</bool>
|
||||
<bool name="config_previewsNew">true</bool>
|
||||
<bool name="config_uiDots">true</bool>
|
||||
<bool name="config_uiDockbar">true</bool>
|
||||
<bool name="config_uiCloseDockbar">false</bool>
|
||||
<bool name="config_uiCloseFolder">false</bool>
|
||||
<bool name="config_uiABBg">false</bool>
|
||||
<!-- config_zoomSpeed min is 300, so it will add 300 to whatever value you set here -->
|
||||
<integer name="config_zoomSpeed">100</integer>
|
||||
<!-- config_uiScaleAB is a float value between 0.1 and 1.0. Set here the default .X-->
|
||||
<integer name="config_uiScaleAB">7</integer>
|
||||
<bool name="config_uiHideLabels">false</bool>
|
||||
<bool name="config_wallpaperHack">true</bool>
|
||||
<integer name="config_highlights_color">0xa0000000</integer>
|
||||
<integer name="config_highlights_color_focus">0xa0000000</integer>
|
||||
<bool name="config_new_selectors">true</bool>
|
||||
<integer name="config_drawer_color">0x80000000</integer>
|
||||
<!-- config_desktopColumns/Rows min value is 3, so it will add 3 to whatever value you set here -->
|
||||
<integer name="config_desktopColumns">1</integer>
|
||||
<integer name="config_desktopRows">1</integer>
|
||||
<bool name="config_autosizeIcons">false</bool>
|
||||
<bool name="config_drawerLabels">true</bool>
|
||||
<bool name="config_fadeDrawerLabels">true</bool>
|
||||
<bool name="config_desktop_indicator">true</bool>
|
||||
<bool name="config_desktop_indicator_autohide">true</bool>
|
||||
<!-- 1=top dots, 2=top slider, 3=bottom slider -->
|
||||
<string name="config_desktop_indicator_type">1</string>
|
||||
<bool name="config_system_persistent">false</bool>
|
||||
<!-- 1=sensor, 2=portrait, 3=landscape -->
|
||||
<string name="config_orientation_default">1</string>
|
||||
<!-- 1=low quality,2=auto, 3=disabled -->
|
||||
<string name="config_screenCache">2</string>
|
||||
<bool name="config_nagScreen">false</bool>
|
||||
<bool name="config_drawer_navigate_catalogs">true</bool>
|
||||
<bool name="config_notif_receiver">true</bool>
|
||||
<!-- config_notif_size min is 10, so it will add 10 to whatever value you set here -->
|
||||
<integer name="config_notif_size">4</integer>
|
||||
<string name="config_main_dock_style">1</string>
|
||||
<string name="config_drawer_style">0</string>
|
||||
<bool name="config_ab_tint">false</bool>
|
||||
<integer name="config_ab_tint_color">0xffffffff</integer>
|
||||
<bool name="config_wallpaper_scroll">true</bool>
|
||||
<string name="config_deletezone_style">1</string>
|
||||
<bool name="config_close_apps_dockbar">true</bool>
|
||||
</resources>
|
@ -1,59 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 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.
|
||||
-->
|
||||
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher">
|
||||
<!-- ALL APPS -->
|
||||
<shortcut
|
||||
launcher:uri="#Intent;action=com.android.launcher.action.launcheraction;component=com.android.launcher/.CustomShirtcutActivity;i.DefaultLauncherAction.EXTRA_BINDINGVALUE=4;end"
|
||||
launcher:icon="@drawable/all_apps_button"
|
||||
launcher:title="@string/launcher_actions"
|
||||
launcher:screen="-1"
|
||||
launcher:x="-1"
|
||||
launcher:y="-1"
|
||||
launcher:container="-700" />
|
||||
<!-- LAB -->
|
||||
<favorite
|
||||
launcher:packageName="com.android.contacts"
|
||||
launcher:className="com.android.contacts.DialtactsActivity"
|
||||
launcher:screen="-1"
|
||||
launcher:x="-1"
|
||||
launcher:y="-1"
|
||||
launcher:container="-300" />
|
||||
|
||||
<!-- RAB -->
|
||||
<favorite
|
||||
launcher:packageName="com.android.mms"
|
||||
launcher:className="com.android.mms.ui.ConversationList"
|
||||
launcher:screen="-1"
|
||||
launcher:x="-1"
|
||||
launcher:y="-1"
|
||||
launcher:container="-400" />
|
||||
|
||||
<!-- Middle screen [2] -->
|
||||
<favorite
|
||||
launcher:packageName="com.android.browser"
|
||||
launcher:className="com.android.browser.BrowserActivity"
|
||||
launcher:screen="2"
|
||||
launcher:x="1"
|
||||
launcher:y="3" />
|
||||
|
||||
<favorite
|
||||
launcher:packageName="com.android.music"
|
||||
launcher:className="com.android.music.MusicBrowserActivity"
|
||||
launcher:screen="2"
|
||||
launcher:x="2"
|
||||
launcher:y="3" />
|
||||
</favorites>
|
@ -1,84 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
* Copyright (C) 2008 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.
|
||||
-->
|
||||
<resources>
|
||||
<string name="application_terminal">Terminal Emulator</string>
|
||||
<string name="preferences">Preferences</string>
|
||||
<string name="reset">Reset term</string>
|
||||
<string name="send_email">Email to</string>
|
||||
<string name="special_keys">Special keys</string>
|
||||
<string name="toggle_soft_keyboard">Toggle soft keyboard</string>
|
||||
|
||||
<string name="edit_text">Edit text</string>
|
||||
<string name="select_text">Select text</string>
|
||||
<string name="copy_all">Copy all</string>
|
||||
<string name="paste">Paste</string>
|
||||
|
||||
<!-- Preference dialog -->
|
||||
<string name="screen_preferences">Screen</string>
|
||||
|
||||
<string name="title_statusbar_preference">Status bar</string>
|
||||
<string name="summary_statusbar_preference">Show/hide status bar.</string>
|
||||
<string name="dialog_title_statusbar_preference">Status bar</string>
|
||||
|
||||
<string name="title_cursorstyle_preference">Cursor style</string>
|
||||
<string name="summary_cursorstyle_preference">Choose cursor style.</string>
|
||||
<string name="dialog_title_cursorstyle_preference">Cursor style</string>
|
||||
|
||||
<string name="title_cursorblink_preference">Cursor blink</string>
|
||||
<string name="summary_cursorblink_preference">Choose cursor blink.</string>
|
||||
<string name="dialog_title_cursorblink_preference">Cursor blink</string>
|
||||
|
||||
<string name="text_preferences">Text</string>
|
||||
|
||||
<string name="title_fontsize_preference">Font size</string>
|
||||
<string name="summary_fontsize_preference">Choose character height in points.</string>
|
||||
<string name="dialog_title_fontsize_preference">Font size</string>
|
||||
|
||||
<string name="title_color_preference">Colors</string>
|
||||
<string name="summary_color_preference">Choose text color.</string>
|
||||
<string name="dialog_title_color_preference">Text color</string>
|
||||
|
||||
<string name="keyboard_preferences">Keyboard</string>
|
||||
|
||||
<string name="title_controlkey_preference">Control key</string>
|
||||
<string name="summary_controlkey_preference">Choose control key.</string>
|
||||
<string name="dialog_title_controlkey_preference">Control key</string>
|
||||
|
||||
<string name="title_ime_preference">Input method</string>
|
||||
<string name="summary_ime_preference">Choose input method for soft keyboard.</string>
|
||||
<string name="dialog_title_ime_preference">Input method</string>
|
||||
|
||||
<string name="shell_preferences">Shell</string>
|
||||
<string name="title_shell_preference">Command line</string>
|
||||
<string name="summary_shell_preference">Specify the shell command line.</string>
|
||||
<string name="dialog_title_shell_preference">Shell</string>
|
||||
|
||||
<string name="title_initialcommand_preference">Initial command</string>
|
||||
<string name="summary_initialcommand_preference">Sent to the shell when it starts.</string>
|
||||
<string name="dialog_title_initialcommand_preference">Initial Command</string>
|
||||
|
||||
<!-- Don't localize these default values -->
|
||||
<string name="default_value_statusbar_preference">0</string>
|
||||
<string name="default_value_cursorstyle_preference">0</string>
|
||||
<string name="default_value_cursorblink_preference">0</string>
|
||||
<string name="default_value_fontsize_preference">12</string>
|
||||
<string name="default_value_color_preference">1</string>
|
||||
<string name="default_value_controlkey_preference">0</string>
|
||||
<string name="default_value_ime_preference">0</string>
|
||||
<string name="default_value_shell_preference">/system/bin/sh -</string>
|
||||
<string name="default_value_initialcommand_preference">export PATH=/data/local/bin:$PATH</string>
|
||||
</resources>
|
@ -1,72 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Update Notifications
|
||||
<PreferenceScreen android:key="updatenotify_settings"
|
||||
android:title="@string/updatenotify_title" android:summary="@string/updatenotify_summary">
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.cyanogenmod.updatenotify"
|
||||
android:targetClass="com.cyanogenmod.updatenotify.MainActivity" />
|
||||
</PreferenceScreen>
|
||||
-->
|
||||
|
||||
<!-- Application Settings -->
|
||||
<PreferenceScreen android:key="application_settings"
|
||||
android:title="@string/application_settings_title" android:summary="@string/application_settings_summary">
|
||||
<intent android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.cyanogenmod.cmparts"
|
||||
android:targetClass="com.cyanogenmod.cmparts.activities.ApplicationActivity" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<!-- Input Settings -->
|
||||
<PreferenceScreen android:key="input_settings"
|
||||
android:title="@string/input_settings_title" android:summary="@string/input_settings_summary">
|
||||
<intent android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.cyanogenmod.cmparts"
|
||||
android:targetClass="com.cyanogenmod.cmparts.activities.InputActivity" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<!-- Performance settings -->
|
||||
<PreferenceScreen android:key="performance_settings"
|
||||
android:title="@string/performance_settings_title" android:summary="@string/performance_settings_summary">
|
||||
<intent android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.cyanogenmod.cmparts"
|
||||
android:targetClass="com.cyanogenmod.cmparts.activities.PerformanceSettingsActivity" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<!-- Sound settings -->
|
||||
<PreferenceScreen android:key="sound_settings"
|
||||
android:title="@string/sound_title" android:summary="@string/sound_summary">
|
||||
<intent android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.cyanogenmod.cmparts"
|
||||
android:targetClass="com.cyanogenmod.cmparts.activities.SoundActivity" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<!-- UI Settings -->
|
||||
<PreferenceScreen android:key="ui_settings"
|
||||
android:title="@string/ui_title" android:summary="@string/ui_summary">
|
||||
<intent android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.cyanogenmod.cmparts"
|
||||
android:targetClass="com.cyanogenmod.cmparts.activities.UIActivity" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<!-- Possible future Use: Pedlar
|
||||
<PreferenceScreen android:key="battery_tester"
|
||||
android:title="Test Battery" android:summary="Battery Drain Tester">
|
||||
<intent android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.cyanogenmod.cmparts"
|
||||
android:targetClass="com.cyanogenmod.cmparts.activities.BatteryTester" />
|
||||
</PreferenceScreen>
|
||||
-->
|
||||
|
||||
<!-- CMStats
|
||||
<PreferenceScreen android:key="cmstats_settings"
|
||||
android:title="@string/cmstats_title" android:summary="@string/cmstats_summary">
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.cyanogenmod.stats"
|
||||
android:targetClass="com.cyanogenmod.stats.MainActivity" />
|
||||
</PreferenceScreen>
|
||||
-->
|
||||
|
||||
</PreferenceScreen>
|
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2009, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
<!-- set this to true if the device doesn't have a GPU, or an EGL
|
||||
library is for some reason unavailable -->
|
||||
<bool name="softwareGLOnly">true</bool>
|
||||
</resources>
|
||||
|
@ -1,138 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2006 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.
|
||||
-->
|
||||
|
||||
<!-- Dialpad in the Contact app.
|
||||
-->
|
||||
|
||||
<com.android.phone.ButtonGridLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/dialpad"
|
||||
android:paddingLeft="7dp"
|
||||
android:paddingRight="7dp"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingBottom="1dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
<ImageButton android:id="@+id/one"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_1_no_vm"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_one"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/two"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_2"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_two"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/three"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_3"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_three"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/four"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_4"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_four"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/five"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_5"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_five"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/six"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_6"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_six"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/seven"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_7"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_seven"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/eight"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_8"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_eight"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/nine"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_9"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_nine"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/star"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_star"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_star"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/zero"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_0"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_zero"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/pound"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_pound"
|
||||
android:background="@drawable/btn_dial"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:contentDescription="@string/description_image_button_pound"
|
||||
/>
|
||||
</com.android.phone.ButtonGridLayout>
|
@ -1,63 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2006 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.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/custom_background_dialer"
|
||||
>
|
||||
|
||||
<!-- Text field above the keypad where the digits are displayed.
|
||||
It's type is set to NULL (to disable the IME keyboard) in the
|
||||
java code.
|
||||
-->
|
||||
<!-- TODO: Use a textAppearance to control the display of the number -->
|
||||
<EditText android:id="@+id/digits"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dip"
|
||||
android:gravity="center"
|
||||
android:maxLines="1"
|
||||
android:scrollHorizontally="true"
|
||||
android:textSize="33sp"
|
||||
android:freezesText="true"
|
||||
android:background="@drawable/btn_dial_textfield"
|
||||
android:textColor="@color/dialer_button_text"
|
||||
android:focusableInTouchMode="true"
|
||||
android:editable="true"
|
||||
android:cursorVisible="false"
|
||||
android:layout_weight="0"
|
||||
android:contentDescription="@string/description_digits_edittext"
|
||||
/>
|
||||
|
||||
<!-- Keypad section -->
|
||||
<include layout="@layout/dialpad" />
|
||||
|
||||
<!-- Horizontal row of buttons (Voicemail + DialButton + Delete.) -->
|
||||
<include layout="@layout/voicemail_dial_delete" />
|
||||
|
||||
<!-- "Dialpad chooser" UI, shown only when the user brings up the
|
||||
Dialer while a call is already in progress.
|
||||
When this UI is visible, the other Dialer elements
|
||||
(the textfield/button and the dialpad) are hidden. -->
|
||||
<ListView android:id="@+id/dialpadChooser"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dip"
|
||||
android:layout_weight="1"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
@ -1,65 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 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.
|
||||
-->
|
||||
|
||||
<!-- Horizontal row of buttons (Voicemail + DialButton + Delete.) -->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/voicemailAndDialAndDelete"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="4dip"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<!-- Onscreen "Voicemail" button.
|
||||
The width is 75 (from the mocks) + 12 of padding from the
|
||||
9patch, total is 87.
|
||||
-->
|
||||
<ImageButton android:id="@+id/voicemailButton"
|
||||
android:layout_width="87dip"
|
||||
android:layout_height="50dip"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:state_enabled="false"
|
||||
android:background="@drawable/btn_dial_voicemail"
|
||||
android:contentDescription="@string/description_voicemail_button"
|
||||
android:src="@drawable/ic_dial_action_voice_mail" />
|
||||
|
||||
<!-- Onscreen "Dial" button, used on all platforms by
|
||||
default. Its usage can be disabled using resources (see
|
||||
config.xml.) -->
|
||||
<ImageButton android:id="@+id/dialButton"
|
||||
android:layout_width="116dip"
|
||||
android:layout_height="50dip"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:state_enabled="false"
|
||||
android:background="@drawable/btn_dial_action"
|
||||
android:contentDescription="@string/description_dial_button"
|
||||
android:src="@drawable/ic_dial_action_call" />
|
||||
|
||||
<!-- Onscreen "Backspace/Delete" button
|
||||
The width is 75 (from the mocks) + 12 of padding from the
|
||||
9patch, total is 87.
|
||||
-->
|
||||
<ImageButton android:id="@+id/deleteButton"
|
||||
android:layout_width="87dip"
|
||||
android:layout_height="50dip"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:state_enabled="false"
|
||||
android:background="@drawable/btn_dial_delete"
|
||||
android:contentDescription="@string/description_delete_button"
|
||||
android:src="@drawable/ic_dial_action_delete" />
|
||||
</LinearLayout>
|
||||
|
@ -1,128 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 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.
|
||||
-->
|
||||
|
||||
<!-- This is the alarm clock in LANDSCAPE desk dock mode.
|
||||
-->
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
<LinearLayout
|
||||
android:id="@+id/desk_clock"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="25dip"
|
||||
>
|
||||
|
||||
<!-- Entire display region (everything but bottom buttons) -->
|
||||
<!-- Left margin is 4 dip shy of desired to allow for the time to
|
||||
"hang off" the left-hand side, accommodating the extra glyph
|
||||
escapement in Clockopia and 3px of text shadow -->
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="left"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="25dip"
|
||||
android:layout_marginTop="8dip"
|
||||
android:layout_marginRight="18dip"
|
||||
android:layout_marginBottom="4dip"
|
||||
>
|
||||
|
||||
<!-- across the top: next alarm, battery, nightmode button -->
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:layout_marginBottom="6dip"
|
||||
android:layout_marginLeft="4dip"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<TextView android:id="@+id/nextAlarm"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="left"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:drawablePadding="6dip"
|
||||
android:drawableLeft="@drawable/ic_lock_idle_alarm"
|
||||
android:shadowColor="#C0000000"
|
||||
android:shadowDx="0"
|
||||
android:shadowDy="0"
|
||||
android:shadowRadius="3.0"
|
||||
/>
|
||||
|
||||
<include layout="@layout/desk_clock_battery"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="8dip"
|
||||
android:layout_weight="0"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/nightmode_button"
|
||||
style="@style/RoundTouchButton"
|
||||
android:layout_weight="0"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:src="@drawable/ic_round_brightness"
|
||||
android:contentDescription="@string/nightmode_button_description"
|
||||
android:nextFocusDown="@+id/alarm_button"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- second row: date/time on the left, weather on the right -->
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="bottom"
|
||||
>
|
||||
|
||||
<include layout="@layout/desk_clock_time_date"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="0dip"
|
||||
android:layout_weight="5"
|
||||
/>
|
||||
|
||||
<include layout="@layout/desk_clock_weather"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="0dip"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_weight="5"
|
||||
/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/desk_clock_buttons" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View android:id="@+id/window_tint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#CC000000"
|
||||
android:visibility="visible"
|
||||
android:clickable="false"
|
||||
/>
|
||||
|
||||
</FrameLayout>
|
@ -1,121 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 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.
|
||||
-->
|
||||
|
||||
<!-- This is the alarm clock in desk dock mode. It shows the time in large
|
||||
type, plus information about active alarms and charge status. It can
|
||||
also show some additional status information (e.g. weather data).
|
||||
Buttons are provided to access alarms, music, and other useful functions.
|
||||
-->
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
<!-- the top padding accounts for the status bar area -->
|
||||
<LinearLayout
|
||||
android:id="@+id/desk_clock"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="25dip"
|
||||
>
|
||||
|
||||
<!-- Entire display region (everything but bottom buttons) -->
|
||||
<!-- Left margin is 4 dip shy of desired to allow for the time to
|
||||
"hang off" the left-hand side, accommodating the extra glyph
|
||||
escapement in Clockopia and 3px of text shadow -->
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="left"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="22dip"
|
||||
android:layout_marginTop="8dip"
|
||||
android:layout_marginRight="18dip"
|
||||
android:layout_marginBottom="4dip"
|
||||
>
|
||||
|
||||
<!-- across the top: next alarm, nightmode button -->
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:layout_marginLeft="4dip"
|
||||
android:layout_marginBottom="6dip"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<TextView android:id="@+id/nextAlarm"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="left"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:drawablePadding="6dip"
|
||||
android:drawableLeft="@drawable/ic_lock_idle_alarm"
|
||||
android:shadowColor="#C0000000"
|
||||
android:shadowDx="0"
|
||||
android:shadowDy="0"
|
||||
android:shadowRadius="3.0"
|
||||
/>
|
||||
<ImageButton android:id="@+id/nightmode_button"
|
||||
style="@style/RoundTouchButton"
|
||||
android:layout_weight="0"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:src="@drawable/ic_round_brightness"
|
||||
android:contentDescription="@string/nightmode_button_description"
|
||||
android:nextFocusDown="@+id/alarm_button"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/desk_clock_time_date"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
<include layout="@layout/desk_clock_weather"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:layout_marginTop="2dip"
|
||||
android:layout_marginBottom="20dip"
|
||||
android:layout_marginLeft="4dip"
|
||||
/>
|
||||
|
||||
<include layout="@layout/desk_clock_battery"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="0"
|
||||
android:layout_marginLeft="4dip"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/desk_clock_buttons" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View android:id="@+id/window_tint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#CC000000"
|
||||
android:visibility="visible"
|
||||
android:clickable="false"
|
||||
/>
|
||||
|
||||
</FrameLayout>
|
@ -1,78 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 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.
|
||||
-->
|
||||
|
||||
<!-- digital clock & date, together -->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/time_date"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="left|center_vertical"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
|
||||
<com.android.deskclock.DigitalClock android:id="@+id/time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="2dip"
|
||||
>
|
||||
|
||||
<TextView android:id="@+id/timeDisplay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="none"
|
||||
android:gravity="center"
|
||||
android:textSize="76sp"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:shadowColor="#C0000000"
|
||||
android:shadowDx="0"
|
||||
android:shadowDy="0"
|
||||
android:shadowRadius="3.0"
|
||||
android:paddingBottom="3dip"
|
||||
/>
|
||||
|
||||
|
||||
<TextView android:id="@+id/am_pm"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="bottom"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textStyle="bold"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="none"
|
||||
android:layout_marginLeft="4dip"
|
||||
android:shadowColor="#C0000000"
|
||||
android:shadowDx="0"
|
||||
android:shadowDy="0"
|
||||
android:shadowRadius="3.0"
|
||||
/>
|
||||
|
||||
</com.android.deskclock.DigitalClock>
|
||||
|
||||
<TextView android:id="@+id/date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="left"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:shadowColor="#C0000000"
|
||||
android:shadowDx="0"
|
||||
android:shadowDy="0"
|
||||
android:shadowRadius="3.0"
|
||||
android:layout_marginLeft="4dip"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
@ -1,20 +0,0 @@
|
||||
<?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.
|
||||
-->
|
||||
|
||||
<!-- switch to all_apps_3d on devices that support RenderScript -->
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<include layout="@layout/all_apps_3d" />
|
||||
</merge>
|
@ -1,6 +0,0 @@
|
||||
<resources>
|
||||
<integer name="config_allAppsFadeInTime">@android:integer/config_mediumAnimTime</integer>
|
||||
<integer name="config_allAppsFadeOutTime">@android:integer/config_shortAnimTime</integer>
|
||||
<integer name="config_allAppsBatchLoadDelay">100</integer>
|
||||
<integer name="config_allAppsBatchSize">4</integer>
|
||||
</resources>
|
@ -1,24 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Make launcher run in acore. -->
|
||||
<string name="sharedUserId" translate="false"><xliff:g id="x">android.uid.shared</xliff:g></string>
|
||||
<string name="process" translate="false"><xliff:g id="x">android.process.acore</xliff:g></string>
|
||||
</resources>
|
@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 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.
|
||||
-->
|
||||
|
||||
<!-- Version History
|
||||
version 1 - initial version.
|
||||
version 2 - added recipientLimit.
|
||||
version 3 - added min/max recycler values.
|
||||
version 4 - added sms to mms text threshold.
|
||||
-->
|
||||
|
||||
<mms_config version="4">
|
||||
<!-- Maximum message size in bytes for a MMS message -->
|
||||
<int name="maxMessageSize">0307200</int>
|
||||
|
||||
<!-- Maximum height for an attached image -->
|
||||
<int name="maxImageHeight">0768</int>
|
||||
|
||||
<!-- Maximum width for an attached image -->
|
||||
<int name="maxImageWidth">1024</int>
|
||||
|
||||
<!-- UAProf URL -->
|
||||
<string name="uaProfUrl">http://www.htcmms.com.tw/Android/Common/tattoo/ua-profile.xml</string>
|
||||
|
||||
</mms_config>
|
Before Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 136 B |
Before Width: | Height: | Size: 136 B |
@ -1,143 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 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.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/album"
|
||||
android:background="@drawable/album_border_large"
|
||||
android:layout_width="174dip"
|
||||
android:layout_height="174dip"
|
||||
android:layout_marginLeft="4dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:layout_marginTop="6dip" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<ImageButton android:id="@+id/curplaylist"
|
||||
android:src="@drawable/ic_mp_current_playlist_btn"
|
||||
android:layout_width="80dip"
|
||||
android:layout_height="48dip"
|
||||
android:layout_marginTop="18dip" />
|
||||
|
||||
<ImageButton android:id="@+id/shuffle"
|
||||
android:layout_width="80dip"
|
||||
android:layout_height="48dip"
|
||||
android:layout_marginTop="4dip" />
|
||||
|
||||
<ImageButton android:id="@+id/repeat"
|
||||
android:layout_width="80dip"
|
||||
android:layout_height="48dip"
|
||||
android:layout_marginTop="4dip" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false"
|
||||
android:paddingLeft="11dip"
|
||||
android:paddingTop="4dip"
|
||||
android:paddingBottom="8dip">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="4dip"
|
||||
android:src="@drawable/ic_mp_artist_playback" />
|
||||
|
||||
<TextView android:id="@+id/artistname"
|
||||
android:textSize="18sp"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:textStyle="bold"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false"
|
||||
android:paddingLeft="11dip"
|
||||
android:paddingTop="4dip"
|
||||
android:paddingBottom="8dip">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="4dip"
|
||||
android:src="@drawable/ic_mp_album_playback" />
|
||||
|
||||
<TextView android:id="@+id/albumname"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false"
|
||||
android:paddingLeft="11dip"
|
||||
android:paddingTop="0dip"
|
||||
android:paddingBottom="8dip">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="4dip"
|
||||
android:src="@drawable/ic_mp_song_playback" />
|
||||
|
||||
<TextView android:id="@+id/trackname"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/audio_player_common" />
|
||||
|
||||
</LinearLayout>
|
@ -1,151 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 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.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<!-- This is the LinearLayout that contains the album art, function buttons and album/artist/track info -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/album"
|
||||
android:background="@drawable/album_border_large"
|
||||
android:layout_width="182dip"
|
||||
android:layout_height="182dip"
|
||||
android:layout_marginLeft="12dip"
|
||||
android:layout_marginRight="15dip"
|
||||
android:layout_marginTop="4dip" />
|
||||
|
||||
<!-- This is the LinearLayout that contains function buttons and album/artist/track info -->
|
||||
<LinearLayout
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="12dip" >
|
||||
|
||||
<ImageButton android:id="@+id/curplaylist"
|
||||
android:src="@drawable/ic_mp_current_playlist_btn"
|
||||
android:layout_width="68dip"
|
||||
android:layout_height="42dip"
|
||||
android:layout_marginRight="6dip"
|
||||
android:nextFocusLeft="@id/curplaylist" />
|
||||
|
||||
<ImageButton android:id="@+id/shuffle"
|
||||
android:layout_width="68dip"
|
||||
android:layout_height="42dip"
|
||||
android:layout_marginRight="6dip" />
|
||||
|
||||
<ImageButton android:id="@+id/repeat"
|
||||
android:layout_width="68dip"
|
||||
android:layout_height="42dip" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false"
|
||||
android:paddingTop="8dip"
|
||||
android:paddingBottom="2dip">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="4dip"
|
||||
android:src="@drawable/ic_mp_artist_playback" />
|
||||
|
||||
<TextView android:id="@+id/artistname"
|
||||
android:textSize="18sp"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:textStyle="bold"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false"
|
||||
android:paddingTop="8dip"
|
||||
android:paddingBottom="2dip">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="4dip"
|
||||
android:src="@drawable/ic_mp_album_playback" />
|
||||
|
||||
<TextView android:id="@+id/albumname"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:textStyle="bold"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false"
|
||||
android:paddingTop="4dip"
|
||||
android:paddingBottom="2dip">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="4dip"
|
||||
android:src="@drawable/ic_mp_song_playback" />
|
||||
|
||||
<TextView android:id="@+id/trackname"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:textStyle="bold"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/audio_player_common" />
|
||||
|
||||
</LinearLayout>
|
@ -1,112 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2006 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.
|
||||
-->
|
||||
|
||||
<com.android.phone.ButtonGridLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/dialpad"
|
||||
android:paddingLeft="7dp"
|
||||
android:paddingRight="7dp"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingBottom="1dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
<ImageButton android:id="@+id/one"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_1_no_vm"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/two"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_2"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/three"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_3"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/four"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_4"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/five"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_5"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/six"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_6"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/seven"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_7"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/eight"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_8"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/nine"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_9"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/star"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_star"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/zero"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_0"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
|
||||
<ImageButton android:id="@+id/pound"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/dial_num_pound"
|
||||
android:background="@drawable/btn_dial"
|
||||
/>
|
||||
</com.android.phone.ButtonGridLayout>
|
||||
|
@ -1,118 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2008 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.
|
||||
-->
|
||||
|
||||
<!-- Sliding drawer widget containing the in-call DTMF dialpad.
|
||||
|
||||
On devices that do *not* use an onscreen InCallTouchUi
|
||||
widget, the dialpad is contained within a SlidingDrawer
|
||||
(which provides a "handle" that the user must drag open
|
||||
to access the dialpad.)
|
||||
|
||||
See non_drawer_dialpad.xml for the corresponding layout file
|
||||
for devices that *do* use an InCallTouchUi widget.
|
||||
-->
|
||||
<SlidingDrawer
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/dialer_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:topOffset="5dp"
|
||||
android:bottomOffset="7dp"
|
||||
android:handle="@+id/dialer_tab"
|
||||
android:content="@+id/dtmf_dialer"
|
||||
android:allowSingleTap="false"
|
||||
android:visibility="gone"
|
||||
>
|
||||
|
||||
<!-- Drawer handle -->
|
||||
<LinearLayout
|
||||
android:id="@id/dialer_tab"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="bottom"
|
||||
android:focusable="true"
|
||||
>
|
||||
<ImageView
|
||||
android:layout_width="1dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:scaleType="fitXY"
|
||||
android:duplicateParentState="true"
|
||||
android:src="@drawable/tray_handle_strip"
|
||||
/>
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/dtmfDialpadHandleLabel"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textStyle="bold"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="0.9"
|
||||
android:shadowColor="#ffffffff"
|
||||
android:duplicateParentState="true"
|
||||
android:background="@drawable/tray_handle_tab"/>
|
||||
<ImageView
|
||||
android:layout_width="1dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/tray_handle_strip"
|
||||
android:duplicateParentState="true"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- drawer content dialer view -->
|
||||
<com.android.phone.DTMFTwelveKeyDialerView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/dtmf_dialer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginTop="1dip"
|
||||
android:background="@color/dtmf_dialer_background">
|
||||
|
||||
<!-- Number Display Field, padded for correct text alignment -->
|
||||
<EditText android:id="@+id/dtmfDialerField"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dp"
|
||||
android:layout_marginTop="14dp"
|
||||
android:layout_marginBottom="6dp"
|
||||
android:layout_marginLeft="3dp"
|
||||
android:layout_marginRight="3dp"
|
||||
android:paddingRight="16dp"
|
||||
android:paddingLeft="16dp"
|
||||
android:maxLines="1"
|
||||
android:scrollHorizontally="true"
|
||||
android:textSize="28sp"
|
||||
android:freezesText="true"
|
||||
android:background="@drawable/btn_dial_textfield_normal_full"
|
||||
android:textColor="@color/dtmf_dialer_display_text"
|
||||
android:focusableInTouchMode="false"
|
||||
android:clickable="false"/>
|
||||
|
||||
<!-- Keypad section -->
|
||||
<include layout="@layout/dialpad" />
|
||||
|
||||
<!-- Dummy element to pad below the dialpad -->
|
||||
<View android:layout_height="1dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
</com.android.phone.DTMFTwelveKeyDialerView>
|
||||
|
||||
</SlidingDrawer>
|