Commits

Tobias Duehr committed 7bf502f

Icons are now left aligned in SourceBrowserActivity, minor layout adjustments

Comments (0)

Files changed (3)

res/layout/listitem_one_row_icon.xml

     <LinearLayout
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
+        android:layout_centerVertical="true"
         android:orientation="vertical"
         android:paddingRight="25dip" >
 

res/layout/listitem_two_rows_icon.xml

     <LinearLayout
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
+        android:layout_centerVertical="true"
         android:orientation="vertical"
         android:paddingRight="25dip" >
 

src/com/saibotd/bitbeaker/SourceBrowserActivity.java

     	public View getView(int position, View convertView, ViewGroup parent) {
     		View view;
     		if (convertView == null) {
-    			view = mFactory.inflate(R.layout.listitem_one_row_icon, null);
+    			view = mFactory.inflate(R.layout.listitem_one_row_left_icon, null);
     		} else {
     			view = (View) convertView;
     		}