Commit 28f239c2 authored by rakam's avatar rakam

Add ac_button_color et ac_button_background

parent a854c703
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#9e9e9e" android:state_enabled="false"/>
<item android:color="#eee" android:state_selected="true"/>
<item android:color="#6c6c6c" android:state_checked="true"/>
<item android:color="#6c6c6c" android:state_pressed="true"/>
<item android:color="#6c6c6c"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/grey_button_disabled" android:state_enabled="false"/>
<item android:drawable="@color/red_button" android:state_selected="true"/>
<item android:drawable="@color/grey_button" android:state_checked="true"/>
<item android:drawable="@color/grey_button" android:state_pressed="true"/>
<item android:drawable="@color/light_grey_button"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ac_button_disabled" android:state_enabled="false"/>
<item android:drawable="@drawable/ac_button_selected" android:state_selected="true"/>
<item android:drawable="@drawable/ac_button_pressed" android:state_checked="true"/>
<item android:drawable="@drawable/ac_button_pressed" android:state_pressed="true"/>
<item android:drawable="@drawable/ac_button_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#888"/>
<stroke
android:width="1dp"
android:color="#888"/>
<corners
android:bottomRightRadius="3dp"
android:bottomLeftRadius="3dp"
android:topLeftRadius="3dp"
android:topRightRadius="3dp"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke
android:width="1dp"
android:color="#aaa"/>
<corners
android:bottomRightRadius="3dp"
android:bottomLeftRadius="3dp"
android:topLeftRadius="3dp"
android:topRightRadius="3dp"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#eee"/>
<stroke
android:width="1dp"
android:color="#aaa"/>
<corners
android:bottomRightRadius="3dp"
android:bottomLeftRadius="3dp"
android:topLeftRadius="3dp"
android:topRightRadius="3dp"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#a98258"/>
<stroke
android:width="1dp"
android:color="#888"/>
<corners
android:bottomRightRadius="3dp"
android:bottomLeftRadius="3dp"
android:topLeftRadius="3dp"
android:topRightRadius="3dp"/>
</shape>
\ No newline at end of file
......@@ -6,45 +6,49 @@
android:paddingBottom="20dp"
android:paddingLeft="40dp"
android:paddingRight="40dp"
android:paddingTop="20dp">
android:paddingTop="10dp"
android:background="#fff">
<TextView
<ImageView
android:id="@+id/_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Master U 2014"
android:textSize="30sp"
android:textStyle="bold"/>
android:layout_height="120dp"
android:src="@drawable/acecream_512"
android:layout_centerHorizontal="true"/>
<LinearLayout
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_width="600dp"
android:layout_height="match_parent"
android:layout_below="@id/_title"
android:paddingBottom="80dp"
android:paddingTop="80dp"
android:weightSum="100">
android:layout_centerHorizontal="true"
android:paddingBottom="10dp"
android:paddingTop="20dp">
<Button
android:id="@+id/startMatchButton"
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_marginRight="40dp"
android:layout_weight="50"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="30dp"
android:layout_marginBottom="20dp"
android:text="@string/start_match"
android:textColor="#444"
android:textColor="@color/ac_button_color"
android:textSize="22sp"
android:background="@drawable/ac_button"/>
android:background="@drawable/ac_button_background"/>
<Button
android:id="@+id/resumeMatchButton"
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="50"
android:background="@drawable/ac_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="30dp"
android:layout_marginBottom="20dp"
android:background="@drawable/ac_button_background"
android:text="@string/resume_match"
android:textColor="#444"
android:textColor="@color/ac_button_color"
android:enabled="false"
android:textSize="22sp"/>
</LinearLayout>
......
......@@ -177,7 +177,7 @@
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_below="@id/playerLeft1Photo"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:padding="22dp"
android:layout_margin="6dp"
android:text="@string/FIRST_SERVE_FAULT"
......
......@@ -5,7 +5,7 @@
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:gravity="center_horizontal"
android:paddingBottom="10dp"
android:paddingLeft="20dp"
......
......@@ -99,7 +99,7 @@
android:layout_height="0px"
android:layout_marginBottom="10dp"
android:layout_weight="25"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:text="Court Central"
android:enabled="false"
android:textColor="#444"
......@@ -111,7 +111,7 @@
android:layout_height="0px"
android:layout_marginBottom="10dp"
android:layout_weight="25"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:text="Court 1"
android:enabled="false"
android:textColor="#444"
......@@ -123,7 +123,7 @@
android:layout_height="0px"
android:layout_marginBottom="10dp"
android:layout_weight="25"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:text="Court 2"
android:enabled="false"
android:textColor="#444"
......@@ -135,7 +135,7 @@
android:layout_height="0px"
android:layout_marginBottom="10dp"
android:layout_weight="25"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:text="Court 3"
android:enabled="false"
android:textColor="#444"
......@@ -159,7 +159,7 @@
android:layout_height="0px"
android:layout_marginBottom="10dp"
android:layout_weight="25"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:text="Court 4"
android:enabled="false"
android:textColor="#444"
......@@ -171,7 +171,7 @@
android:layout_height="0px"
android:layout_marginBottom="10dp"
android:layout_weight="25"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:text="Court 5"
android:enabled="false"
android:textColor="#444"
......@@ -183,7 +183,7 @@
android:layout_height="0px"
android:layout_marginBottom="10dp"
android:layout_weight="25"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:text="Court 6"
android:enabled="false"
android:textColor="#444"
......
......@@ -66,7 +66,7 @@
android:layout_height="150dp"
android:layout_marginRight="40dp"
android:layout_weight="50"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:textColor="#444"
android:textSize="22sp"/>
......@@ -75,7 +75,7 @@
android:layout_width="0px"
android:layout_height="150dp"
android:layout_weight="50"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:textColor="#444"
android:textSize="22sp"/>
......
......@@ -66,7 +66,7 @@
android:layout_height="150dp"
android:layout_marginRight="40dp"
android:layout_weight="50"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:textColor="#444"
android:textSize="22sp"/>
......@@ -75,7 +75,7 @@
android:layout_width="0px"
android:layout_height="150dp"
android:layout_weight="50"
android:background="@drawable/ac_button"
android:background="@drawable/ac_button_background"
android:textColor="#444"
android:textSize="22sp"/>
......
......@@ -7,7 +7,7 @@
<style name="StatsButton">
<item name="android:layout_margin">@dimen/stats_button_margin</item>
<item name="android:background">@drawable/ac_button</item>
<item name="android:background">@drawable/ac_button_background</item>
<item name="android:textColor">#444</item>
<item name="android:textSize">30sp</item>
<item name="android:textStyle">bold</item>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment