encore du skin
authorPhilippe Lago <lago_p@epitech.net>
Thu, 23 Apr 2009 22:50:04 +0200
changeset 153 b9223cf6f3be
parent 152 f14b3fcf65c8
child 162 72bfb4fe5815
child 167 3cf5b5e6baf9
encore du skin
res/drawable/scrollbar_vertical_thumb.xml
res/drawable/scrollbar_vertical_track.xml
res/layout/contactlistcontact.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/res/drawable/scrollbar_vertical_thumb.xml	Thu Apr 23 22:50:04 2009 +0200
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 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.
+-->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+    <gradient android:startColor="#3333FF" android:endColor="#8080FF"
+            android:angle="0"/>
+    <corners android:radius="6dp" />
+</shape>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/res/drawable/scrollbar_vertical_track.xml	Thu Apr 23 22:50:04 2009 +0200
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 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.
+-->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+    <gradient android:startColor="#505050" android:endColor="#C0C0C0"
+            android:angle="0"/>
+    <corners android:radius="0dp" />
+</shape>
--- a/res/layout/contactlistcontact.xml	Thu Apr 23 22:19:41 2009 +0200
+++ b/res/layout/contactlistcontact.xml	Thu Apr 23 22:50:04 2009 +0200
@@ -9,8 +9,10 @@
         android:gravity="center_vertical" >
 
         <ImageView android:id="@+id/contactliststatus"
-        	android:layout_weight="5"
-        	android:layout_width="fill_parent"
+        	android:adjustViewBounds="true"
+            android:maxWidth="15dip"
+            android:maxHeight="15dip"
+        	android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:gravity="center_vertical" />
 
@@ -30,8 +32,11 @@
 		</LinearLayout>
 
         <ImageView android:id="@+id/contactlistavatar"
-        	android:layout_weight="5"
-        	android:layout_width="fill_parent"
+        	android:adjustViewBounds="true"
+            android:maxWidth="50dip"
+            android:maxHeight="50dip"
+            android:padding="1dip"
+        	android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:gravity="center_vertical" />