Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tv #2

Open
wants to merge 71 commits into
base: master
Choose a base branch
from
Open

Tv #2

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
334c86c
First Android TV UI draft, WIP
GeoffreyMetais Oct 1, 2014
828e034
Remove beta status from message keys
Christoph-Miebach Sep 30, 2014
e6ec981
layout: factorize player_overlay_header
Sep 30, 2014
b6dfbdf
style: rename VLC.Fullscreen to VLC.Player
Sep 30, 2014
6778997
Video Player: Use StatusBar after Android 4.2
Sep 30, 2014
1bd5933
Video: implementation of the keyboard basic controls
xabroc Oct 1, 2014
b3699ad
Video: add mute control from keyboard
xabroc Oct 1, 2014
32ce29f
UI: Cosmetic fixes when some elements are focused
xabroc Oct 1, 2014
5cf489f
Video player: modify focus behavior for keyboard navigation
xabroc Oct 1, 2014
f8f5d43
Build: add gnu-libstdc++ in EXTRA_LDFLAGS
Oct 1, 2014
2a8d2fc
libiomx: move iomx_hwbuffer.cpp to nativewindowpriv.c
Oct 1, 2014
1f15e0f
Extended browsing for videos WIP
GeoffreyMetais Oct 1, 2014
aa0a7bc
code factorization
GeoffreyMetais Oct 2, 2014
0d6e204
Search module for Android TV UI
GeoffreyMetais Oct 2, 2014
efcd5c7
AndroidDevices: HTC One hack not needed after 4.2
Oct 2, 2014
5727c3c
Video Player: fix lint warning for ActionBar
Oct 2, 2014
bdd2d5e
Update the HASH for android
jbkempf Oct 3, 2014
35bca67
Prevent NPE
GeoffreyMetais Oct 3, 2014
542d084
Video Player: translucent title after Android 4.2
Oct 2, 2014
c04700a
Video Player: translucent StatusBar after Android 4.4
Oct 2, 2014
fdb7a01
Video Player: set ui visibility on DecorView (cosmetic)
Oct 2, 2014
91a176c
Video Player: always set FLAG_LOW_PROFILE on hide
Oct 3, 2014
909c22f
Video Player: fix Nav Bar not hidden sometimes
Oct 3, 2014
3d6fe0c
res: rename action_bar_layout (cosmetic)
Oct 3, 2014
64341c7
Gamepad controll for VideoPlayer
GeoffreyMetais Oct 6, 2014
b1932a4
video_grid: prevent focus loss
hailmikhail Oct 5, 2014
03a8b2b
sidelist: prevent focus loss
Oct 5, 2014
8b00b21
deterministic focus change following closeDrawer with forgotten import
Oct 6, 2014
61c5475
focus initialization
Oct 6, 2014
290e081
Update tested hash
jbkempf Oct 8, 2014
1321850
Compile: use vlc.git
jbkempf Oct 8, 2014
253e1f0
libiomx: fix iomx_hwbuffer.cpp not moved everywhere
Oct 8, 2014
2d31d76
LibVLC: factorize getMediaOptions
Oct 7, 2014
bc8e5ea
Use HW Decoders before 4.3 for a list of known devices
Oct 7, 2014
e36ac77
LibVLC: factorize, only one way to know if we use direct rendering
Oct 8, 2014
4e89a10
Developer Preferences: Add a menu to force hardware decoder
Oct 8, 2014
3320fb1
Fix sha1
jbkempf Oct 9, 2014
12c1a7f
build: add 64bits and android-L support
tguillem Oct 8, 2014
070f942
build: no iomx for 64bits
tguillem Oct 8, 2014
8d7520f
build: no compat libs for android-L
tguillem Oct 8, 2014
4942538
build: add x86_64 support
tguillem Oct 8, 2014
c330bfb
Add leanback project for eclipse classpath
GeoffreyMetais Oct 7, 2014
2315ab6
Basic Audio player for Android TV
GeoffreyMetais Oct 9, 2014
4c61cd2
Remove tips overlay on Android TV for now
GeoffreyMetais Oct 10, 2014
1ce6d59
Finer audio browsing
GeoffreyMetais Oct 10, 2014
bbcc470
Playlist navigation with Gamepad/keyboard
GeoffreyMetais Oct 13, 2014
0230e5f
LibVlcUtil: add x86_64 and aarch64 support
tguillem Oct 9, 2014
892d0e2
build: fix hardcoded android ABI
tguillem Oct 9, 2014
6f8f370
build: export HAVE_64
tguillem Oct 9, 2014
904127c
build: add arm64-v8a support
tguillem Oct 9, 2014
2a87c1e
build: use MAKEFLAGS env if already set
tguillem Oct 10, 2014
cd33c36
build: add android ndk fixup: fix x86 and android-L build
tguillem Oct 10, 2014
ea52717
jni: use a define for JNI_VERSION
tguillem Oct 14, 2014
11d60d7
jni: factorize attach/detach thread and get_env
tguillem Oct 14, 2014
6b39db5
jni: myVm can now be static
tguillem Oct 14, 2014
09c3e3b
jni: fix typo (and crash) from recent factorize
tguillem Oct 14, 2014
36a801f
Do not refresh videos list everytime
GeoffreyMetais Oct 14, 2014
22fdb34
Widget loads last playlist if service is stopped
GeoffreyMetais Oct 14, 2014
87a53db
AudioBrowserFragment: focus related improvement
Oct 12, 2014
f4fc742
AudioPlayer Header: focus related improvement for R.id.header_play_pause
Oct 13, 2014
fefdad2
focus related resource improvements
Oct 13, 2014
cc479e1
Update tested hash
tguillem Oct 16, 2014
fde102b
code factorization
GeoffreyMetais Oct 2, 2014
825519f
Album cover better fits
GeoffreyMetais Oct 16, 2014
7b63ae3
Trim artist and album names to fix filtering
GeoffreyMetais Oct 16, 2014
b7b54a6
Appcompat upgrade, and target SDK 21
GeoffreyMetais Oct 20, 2014
595e40d
Target 5.0, Leanback & Recyclerview upgrade
GeoffreyMetais Oct 24, 2014
6f640af
Add Armada 1500 for Hardware Decoding
GeoffreyMetais Oct 16, 2014
2bc03e9
DVD navigation with remote
GeoffreyMetais Oct 31, 2014
fccd51b
Detect TSP, and hide tips for non touch devices
GeoffreyMetais Oct 22, 2014
5690293
dvd nav with Gamepad controllers
GeoffreyMetais Oct 31, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ JAVA_SOURCES=\
$(SRC)/src/org/videolan/libvlc/*.java
JNI_SOURCES=$(SRC)/jni/*.c $(SRC)/jni/*.h
LIBVLC_LIBS = libvlcjni

ifneq ($(HAVE_64),1)
# Can't link with 32bits symbols.
# Not a problem since MediaCodec should work on 64bits devices (android-L)
LIBVLC_LIBS += libiomx-ics libiomx-hc libiomx-gingerbread
endif

# The following iomx libs are used for DEBUG only.
# (after android Jelly Bean, we prefer to use MediaCodec instead of iomx)
Expand Down Expand Up @@ -78,7 +83,7 @@ $(LIBVLCJNI_H):
printf "/* Autogenerated from the list of modules */\n $$DEFINITION\n $$BUILTINS\n" > $@

$(PRIVATE_LIBDIR)/%.so: $(PRIVATE_LIBDIR)/%.c
$(GEN)$(TARGET_TUPLE)-gcc $< -shared -o $@ --sysroot=$(ANDROID_NDK)/platforms/android-9/arch-$(PLATFORM_SHORT_ARCH)
$(GEN)$(TARGET_TUPLE)-gcc $< -shared -o $@ --sysroot=$(ANDROID_NDK)/platforms/$(ANDROID_API)/arch-$(PLATFORM_SHORT_ARCH)

$(PRIVATE_LIBDIR)/%.c: $(PRIVATE_LIBDIR)/%.symbols
$(VERBOSE)rm -f $@
Expand Down
115 changes: 87 additions & 28 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,44 +30,72 @@ if [ -z "$ANDROID_NDK" -o -z "$ANDROID_SDK" ]; then
fi

if [ -z "$ANDROID_ABI" ]; then
echo "Please set ANDROID_ABI to your architecture: armeabi-v7a, armeabi, x86 or mips."
echo "Please set ANDROID_ABI to your architecture: armeabi-v7a, armeabi, arm64-v8a, x86, x86_64 or mips."
exit 1
fi

# try to detect NDK version
REL=$(grep -o '^r[0-9]*.*' $ANDROID_NDK/RELEASE.TXT 2>/dev/null|cut -b2-)
case "$REL" in
9*|10*)
GCCVER=4.8
CXXSTL="/"${GCCVER}
;;
7|8|*)
echo "You need the NDKv9 or later"
exit 1
;;
esac

export GCCVER
export CXXSTL

# Set up ABI variables
if [ ${ANDROID_ABI} = "x86" ] ; then
TARGET_TUPLE="i686-linux-android"
PATH_HOST="x86"
HAVE_X86=1
PLATFORM_SHORT_ARCH="x86"
elif [ ${ANDROID_ABI} = "x86_64" ] ; then
TARGET_TUPLE="x86_64-linux-android"
PATH_HOST="x86_64"
HAVE_X86=1
HAVE_64=1
PLATFORM_SHORT_ARCH="x86_64"
elif [ ${ANDROID_ABI} = "mips" ] ; then
TARGET_TUPLE="mipsel-linux-android"
PATH_HOST=$TARGET_TUPLE
HAVE_MIPS=1
PLATFORM_SHORT_ARCH="mips"
elif [ ${ANDROID_ABI} = "arm64-v8a" ] ; then
TARGET_TUPLE="aarch64-linux-android"
PATH_HOST=$TARGET_TUPLE
HAVE_ARM=1
HAVE_64=1
PLATFORM_SHORT_ARCH="arm64"
else
TARGET_TUPLE="arm-linux-androideabi"
PATH_HOST=$TARGET_TUPLE
HAVE_ARM=1
PLATFORM_SHORT_ARCH="arm"
fi

# try to detect NDK version
REL=$(grep -o '^r[0-9]*.*' $ANDROID_NDK/RELEASE.TXT 2>/dev/null|cut -b2-)
case "$REL" in
10*)
if [ "${HAVE_64}" = 1 ];then
GCCVER=4.9
ANDROID_API=android-L
else
GCCVER=4.8
ANDROID_API=android-9
fi
CXXSTL="/"${GCCVER}
;;
9*)
if [ "${HAVE_64}" = 1 ];then
echo "You need the NDKv10 or later for 64 bits build"
exit 1
fi
GCCVER=4.8
ANDROID_API=android-9
CXXSTL="/"${GCCVER}
;;
7|8|*)
echo "You need the NDKv9 or later"
exit 1
;;
esac

export GCCVER
export CXXSTL
export ANDROID_API

# XXX : important!
[ "$HAVE_ARM" = 1 ] && cat << EOF
For an ARMv6 device without FPU:
Expand All @@ -83,6 +111,7 @@ export PATH_HOST
export HAVE_ARM
export HAVE_X86
export HAVE_MIPS
export HAVE_64
export PLATFORM_SHORT_ARCH

# Add the NDK toolchain to the PATH, needed both for contribs and for building
Expand All @@ -96,10 +125,10 @@ ANDROID_PATH="`pwd`"
if [ ! -z "$FETCH" ]
then
# 1/ libvlc, libvlccore and its plugins
TESTED_HASH=375c9c1
TESTED_HASH=6e2f490
if [ ! -d "vlc" ]; then
echo "VLC source not found, cloning"
git clone git://git.videolan.org/vlc/vlc-2.2.git vlc
git clone git://git.videolan.org/vlc.git vlc
cd vlc
git checkout -B android ${TESTED_HASH}
else
Expand Down Expand Up @@ -148,8 +177,12 @@ elif [ ${ANDROID_ABI} = "armeabi" ] ; then
EXTRA_CFLAGS="-mfpu=vfp -mcpu=arm1136jf-s -mfloat-abi=softfp"
fi
fi
elif [ ${ANDROID_ABI} = "arm64-v8a" ] ; then
EXTRA_CFLAGS=""
elif [ ${ANDROID_ABI} = "x86" ] ; then
EXTRA_CFLAGS="-march=pentium -m32"
elif [ ${ANDROID_ABI} = "x86_64" ] ; then
EXTRA_CFLAGS=""
elif [ ${ANDROID_ABI} = "mips" ] ; then
EXTRA_CFLAGS="-march=mips32 -mtune=mips32r2 -mhard-float"
# All MIPS Linux kernels since 2.4.4 will trap any unimplemented FPU
Expand All @@ -165,15 +198,18 @@ EXTRA_CFLAGS="${EXTRA_CFLAGS} -O2"
EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/include"
EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/libs/${ANDROID_ABI}/include"

# Setup LDFLAGS
EXTRA_LDFLAGS="-l${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/libs/${ANDROID_ABI}/libgnustl_static.a"

# Make in //
UNAMES=$(uname -s)
MAKEFLAGS=
if which nproc >/dev/null
then
MAKEFLAGS=-j`nproc`
elif [ "$UNAMES" == "Darwin" ] && which sysctl >/dev/null
then
MAKEFLAGS=-j`sysctl -n machdep.cpu.thread_count`
if [ -z "$MAKEFLAGS" ]; then
UNAMES=$(uname -s)
MAKEFLAGS=
if which nproc >/dev/null; then
MAKEFLAGS=-j`nproc`
elif [ "$UNAMES" == "Darwin" ] && which sysctl >/dev/null; then
MAKEFLAGS=-j`sysctl -n machdep.cpu.thread_count`
fi
fi

# Build buildsystem tools
Expand Down Expand Up @@ -248,7 +284,9 @@ else
fi

echo "EXTRA_CFLAGS= -g ${EXTRA_CFLAGS}" >> config.mak
echo "EXTRA_LDFLAGS= ${EXTRA_LDFLAGS}" >> config.mak
export VLC_EXTRA_CFLAGS="${EXTRA_CFLAGS}"
export VLC_EXTRA_LDFLAGS="${EXTRA_LDFLAGS}"

make fetch
# We already have zlib available
Expand All @@ -264,7 +302,7 @@ cd ../.. && mkdir -p build-android-${TARGET_TUPLE} && cd build-android-${TARGET_

if [ $# -eq 1 ] && [ "$1" = "jni" ]; then
CLEAN="jniclean"
TARGET="vlc-android/obj/local/armeabi-v7a/libvlcjni.so"
TARGET="vlc-android/obj/local/${ANDROID_ABI}/libvlcjni.so"
else
CLEAN="distclean"
if [ ! -f config.h ]; then
Expand All @@ -276,6 +314,23 @@ else
TARGET=
fi

# ANDROID NDK FIXUP (BLAME GOOGLE)
config_undef ()
{
sed -i 's,#define '$1' 1,/\* #undef '$1' \*/,' config.h
}

if [ ${ANDROID_ABI} = "x86" -a ${ANDROID_API} != "android-L" ] ; then
# NDK x86 libm.so has nanf symbol but no nanf definition, we don't known if
# intel devices has nanf. Assume they don't have it.
config_undef HAVE_NANF
fi
if [ ${ANDROID_API} = "android-L" ] ; then
# android-L has empty sys/shm.h headers that triggers shm detection but it
# doesn't have any shm functions and/or symbols. */
config_undef HAVE_SYS_SHM_H
fi

echo "Building"
make $MAKEFLAGS

Expand Down Expand Up @@ -324,6 +379,7 @@ echo "# Re-run 'sh compile.sh' to update this file." >> env.sh

# The essentials
cat <<EssentialsA >> env.sh
export ANDROID_API=$ANDROID_API
export ANDROID_ABI=$ANDROID_ABI
export ANDROID_SDK=$ANDROID_SDK
export ANDROID_NDK=$ANDROID_NDK
Expand Down Expand Up @@ -360,3 +416,6 @@ fi
if [ -n "${NO_FPU}" ]; then
echo "export NO_FPU=1" >> env.sh
fi
if [ -n "${HAVE_64}" ]; then
echo "export HAVE_64=1" >> env.sh
fi
12 changes: 7 additions & 5 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,20 @@ if [ -z "$ANDROID_NDK" ]; then
fi

if [ -z "$ANDROID_ABI" ]; then
echo "Please set ANDROID_ABI to your architecture: armeabi-v7a, armeabi, x86 or mips."
echo "Please set ANDROID_ABI to your architecture: armeabi-v7a, armeabi, arm64-v8a, x86, x86_64 or mips."
exit 1
fi

# Must use android-9 here. Any replacement functions needed are in the vlc-android/jni
# folder.
ANDROID_API=android-9
# ANDROID_API must be previously set by compile.sh or env.sh
if [ -z "$ANDROID_API" ];then
echo "ANDROID_API not set, call ./compile.sh first"
exit 1
fi

VLC_SOURCEDIR=..

CFLAGS="-g -O2 -fstrict-aliasing -funsafe-math-optimizations"
if [ -n "$HAVE_ARM" ]; then
if [ -n "$HAVE_ARM" -a ! -n "$HAVE_64" ]; then
CFLAGS="${CFLAGS} -mlong-calls"
fi

Expand Down
2 changes: 1 addition & 1 deletion java-libs/WheelView/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ android.library=true
# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
target=android-19
target=android-21
Binary file modified java-libs/appcompat/libs/android-support-v4.jar
Binary file not shown.
Binary file modified java-libs/appcompat/libs/android-support-v7-appcompat.jar
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion java-libs/appcompat/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-19
target=android-21
android.library=true
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
<!-- Copyright (C) 2014 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.
Expand All @@ -15,8 +15,6 @@
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false"
android:drawable="@drawable/abc_ic_clear_disabled" />
<item
android:drawable="@drawable/abc_ic_clear_normal" />
<item android:state_accelerated="false" android:color="@color/background_material_dark" />
<item android:color="@android:color/transparent" />
</selector>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
<!-- Copyright (C) 2014 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.
Expand All @@ -15,8 +15,6 @@
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true"
android:drawable="@drawable/abc_textfield_search_selected_holo_dark" />
<item android:drawable="@drawable/abc_textfield_search_default_holo_dark" />
<item android:state_accelerated="false" android:color="@color/background_material_light" />
<item android:color="@android:color/transparent" />
</selector>

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
<!-- Copyright (C) 2014 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.
Expand All @@ -15,8 +15,6 @@
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true"
android:drawable="@drawable/abc_textfield_search_selected_holo_light" />
<item android:drawable="@drawable/abc_textfield_search_default_holo_light" />
<item android:state_enabled="false" android:color="@color/bright_foreground_disabled_material_dark"/>
<item android:color="@color/bright_foreground_material_dark"/>
</selector>

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
<!-- Copyright (C) 2014 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.
Expand All @@ -15,8 +15,6 @@
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false"
android:drawable="@drawable/abc_ic_clear_search_api_disabled_holo_light" />
<item
android:drawable="@drawable/abc_ic_clear_search_api_holo_light" />
<item android:state_enabled="false" android:color="@color/bright_foreground_disabled_material_light"/>
<item android:color="@color/bright_foreground_material_light"/>
</selector>
20 changes: 20 additions & 0 deletions java-libs/appcompat/res/color/abc_primary_text_material_dark.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?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.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="@color/primary_text_disabled_material_dark"/>
<item android:color="@color/primary_text_default_material_dark"/>
</selector>
20 changes: 20 additions & 0 deletions java-libs/appcompat/res/color/abc_primary_text_material_light.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="@color/primary_text_disabled_material_light"/>
<item android:color="@color/primary_text_default_material_light"/>
</selector>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
<!-- Copyright (C) 2014 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.
Expand All @@ -17,5 +17,5 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:color="@color/abc_search_url_text_pressed"/>
<item android:state_selected="true" android:color="@color/abc_search_url_text_selected"/>
<item android:color="@color/abc_search_url_text_normal"/> <!-- not selected -->
<item android:color="@color/abc_search_url_text_normal"/>
</selector>
Loading