feed row tweaks, fix feed fragment not setting active feed

This commit is contained in:
Andrew Dolgov 2014-11-01 11:11:23 +03:00
parent 2a06e4de30
commit 276b2ad46b
3 changed files with 11 additions and 12 deletions

View File

@ -389,8 +389,7 @@ public class FeedsFragment extends Fragment implements OnItemClickListener, OnSh
}
}
if (!m_activity.isSmallScreen())
m_selectedFeed = feed;
m_selectedFeed = feed;
m_adapter.notifyDataSetChanged();
}

View File

@ -4,10 +4,10 @@
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
android:descendantFocusability="blocksDescendants"
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:paddingTop="6dp"
android:paddingBottom="6dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:baselineAligned="true"
android:gravity="center_vertical"
android:orientation="horizontal">
@ -29,7 +29,7 @@
android:gravity="center_vertical"
android:layout_weight="1"
android:ellipsize="end"
android:paddingLeft="12dip"
android:paddingLeft="16dp"
android:singleLine="true"
android:text="Feed"
android:paddingBottom="2dp"

View File

@ -5,10 +5,10 @@
android:layout_height="?android:attr/listPreferredItemHeight"
android:descendantFocusability="blocksDescendants"
android:background="?feedsSelectedBackground"
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:paddingTop="6dp"
android:paddingBottom="6dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:baselineAligned="true"
android:gravity="center_vertical"
android:orientation="horizontal">
@ -30,7 +30,7 @@
android:gravity="center_vertical"
android:layout_weight="1"
android:ellipsize="end"
android:paddingLeft="12dip"
android:paddingLeft="16dp"
android:singleLine="true"
android:text="Feed"
android:paddingBottom="2dp"