UI improvement

Use google color
Use thin separator between buttons
This commit is contained in:
Mathieu Maret 2012-10-03 14:34:59 +02:00
parent 8c0decf6e8
commit 1e2023088a
2 changed files with 17 additions and 10 deletions

View File

@ -11,16 +11,22 @@
android:orientation="vertical" android:layout_width="wrap_content">
<Button android:background="@drawable/add_person"
android:id="@+id/contacts" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:paddingRight="2dp"></Button>
android:layout_width="wrap_content" android:padding="3dp" ></Button>
<View android:layout_width="fill_parent" android:layout_height="1dp" android:layout_margin="3dp" android:background="#EBEBEB"/>
<Button android:background="@drawable/add_group"
android:id="@+id/groups" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:paddingRight="2dp"></Button>
android:layout_width="wrap_content" android:padding="3dp"></Button>
</LinearLayout>
<EditText android:id="@+id/numbers" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:hint="@string/to" android:lines="2"
android:maxLines="2" />
<EditText
android:id="@+id/numbers"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:hint="@string/to"
android:inputType="phone"
android:lines="2"
android:maxLines="2" />
</LinearLayout>

View File

@ -5,23 +5,24 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="horizontal" android:background="#837d7d">
android:orientation="horizontal" android:background="#0099CC" >
<Button
android:id="@+id/okContacts"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableLeft="@drawable/accept"
android:text="@string/ok"
android:background="#837d7d"
android:background="#0099CC"
android:textColor="#FFFFFF"
android:paddingRight="10dp"
>
</Button>
<LinearLayout
<View android:layout_height="fill_parent" android:layout_width="1dp" android:layout_margin="2dp" android:background="#33B5E5"/>
<!-- <LinearLayout
android:layout_height="fill_parent"
android:layout_width="1dp"
android:background="#EEEEEE" >
</LinearLayout>
android:background="#EEEEEE" android:margin="" >
</LinearLayout>-->
</LinearLayout>