Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
5f37161f
Commit
5f37161f
authored
May 06, 2012
by
Sébastien Toque
Browse files
UI: fix selected item in lists
parent
1183cf0d
Changes
3
Hide whitespace changes
Inline
Side-by-side
vlc-android/res/drawable/background_item1.xml
View file @
5f37161f
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<gradient
android:angle=
"270"
android:centerColor=
"@color/item_1"
android:endColor=
"@color/item_common"
android:startColor=
"@color/item_common"
/>
</shape>
\ No newline at end of file
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:state_pressed=
"true"
>
<shape>
<gradient
android:angle=
"270"
android:centerColor=
"@color/orange"
android:endColor=
"@color/item_common"
android:startColor=
"@color/item_common"
/>
</shape>
</item>
<item>
<shape>
<gradient
android:angle=
"270"
android:centerColor=
"@color/item_1"
android:endColor=
"@color/item_common"
android:startColor=
"@color/item_common"
/>
</shape>
</item>
</selector>
vlc-android/res/drawable/background_item2.xml
View file @
5f37161f
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<gradient
android:angle=
"270"
android:centerColor=
"@color/item_2"
android:endColor=
"@color/item_common"
android:startColor=
"@color/item_common"
/>
</shape>
\ No newline at end of file
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:state_pressed=
"true"
>
<shape>
<gradient
android:angle=
"270"
android:centerColor=
"@color/orange"
android:endColor=
"@color/item_common"
android:startColor=
"@color/item_common"
/>
</shape>
</item>
<item>
<shape>
<gradient
android:angle=
"270"
android:centerColor=
"@color/item_2"
android:endColor=
"@color/item_common"
android:startColor=
"@color/item_common"
/>
</shape>
</item>
</selector>
vlc-android/res/layout/media_info.xml
View file @
5f37161f
...
...
@@ -67,6 +67,7 @@
android:layout_height=
"fill_parent"
android:cacheColorHint=
"#00000000"
android:divider=
"#00000000"
android:listSelector=
"@android:color/transparent"
android:fastScrollEnabled=
"true"
/>
</LinearLayout>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment