feed row tweaks, fix feed fragment not setting active feed
This commit is contained in:
parent
2a06e4de30
commit
276b2ad46b
@ -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();
|
m_adapter.notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?android:attr/listPreferredItemHeight"
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
||||||
android:descendantFocusability="blocksDescendants"
|
android:descendantFocusability="blocksDescendants"
|
||||||
android:paddingLeft="12dp"
|
android:paddingLeft="16dp"
|
||||||
android:paddingRight="12dp"
|
android:paddingRight="16dp"
|
||||||
android:paddingTop="6dp"
|
android:paddingTop="8dp"
|
||||||
android:paddingBottom="6dp"
|
android:paddingBottom="8dp"
|
||||||
android:baselineAligned="true"
|
android:baselineAligned="true"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
@ -29,7 +29,7 @@
|
|||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:paddingLeft="12dip"
|
android:paddingLeft="16dp"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:text="Feed"
|
android:text="Feed"
|
||||||
android:paddingBottom="2dp"
|
android:paddingBottom="2dp"
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
android:layout_height="?android:attr/listPreferredItemHeight"
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
||||||
android:descendantFocusability="blocksDescendants"
|
android:descendantFocusability="blocksDescendants"
|
||||||
android:background="?feedsSelectedBackground"
|
android:background="?feedsSelectedBackground"
|
||||||
android:paddingLeft="12dp"
|
android:paddingLeft="16dp"
|
||||||
android:paddingRight="12dp"
|
android:paddingRight="16dp"
|
||||||
android:paddingTop="6dp"
|
android:paddingTop="8dp"
|
||||||
android:paddingBottom="6dp"
|
android:paddingBottom="8dp"
|
||||||
android:baselineAligned="true"
|
android:baselineAligned="true"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
@ -30,7 +30,7 @@
|
|||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:paddingLeft="12dip"
|
android:paddingLeft="16dp"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:text="Feed"
|
android:text="Feed"
|
||||||
android:paddingBottom="2dp"
|
android:paddingBottom="2dp"
|
||||||
|
Loading…
Reference in New Issue
Block a user