mirror of http://galexander.org/git/simplesshd.git
focused. (I cannot believe the default textAppearanceLarge didn't fit this bill, jeesh).master
parent
213a5808e3
commit
edd7bb4bbc
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:state_focused="true"
|
||||||
|
android:drawable="@drawable/tv_button_bg_focused" />
|
||||||
|
<item android:drawable="@drawable/tv_button_bg_normal" />
|
||||||
|
</selector>
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<solid android:color="#f999" />
|
||||||
|
<corners android:radius="5dp" />
|
||||||
|
<stroke android:color="#0000" android:width="3dp" />
|
||||||
|
</shape>
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<solid android:color="#f333" />
|
||||||
|
<corners android:radius="5dp" />
|
||||||
|
<stroke android:color="#0000" android:width="10dp" />
|
||||||
|
</shape>
|
@ -1,10 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<style name="option_button" parent="TextAppearance.Leanback">
|
<style name="tv_button" parent="TextAppearance.Leanback">
|
||||||
<item name="android:textAllCaps">false</item>
|
|
||||||
<item name="android:textSize">20sp</item>
|
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">fill_parent</item>
|
||||||
<item name="android:layout_height">1dp</item>
|
<item name="android:layout_height">1dp</item>
|
||||||
<item name="android:layout_weight">1</item>
|
<item name="android:layout_weight">1</item>
|
||||||
|
<item name="android:layout_gravity">center</item>
|
||||||
|
<item name="android:textAllCaps">false</item>
|
||||||
|
<item name="android:textSize">20sp</item>
|
||||||
|
<item name="android:textColor">#ffff</item>
|
||||||
|
<item name="android:background">@drawable/tv_button_bg</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in new issue