Loading res/layout-sw580dp-w1000dp/group_detail_fragment.xml +1 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,7 @@ android:layout_marginLeft="@dimen/group_detail_border_padding" android:layout_marginRight="@dimen/group_detail_border_padding" android:cacheColorHint="#00000000" android:fadingEdge="none" android:divider="@null" /> </LinearLayout> No newline at end of file res/layout-sw580dp/group_detail_fragment.xml +1 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:cacheColorHint="#00000000" android:fadingEdge="none" android:divider="@null" /> </LinearLayout> No newline at end of file res/layout-w470dp/group_source_button.xml +3 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,9 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" android:text="@string/view_updates_from_group"/> android:textColor="@color/action_bar_button_text_color" android:text="@string/view_updates_from_group" style="@android:style/Widget.Holo.ActionBar.TabText"/> <ImageView android:id="@android:id/icon" Loading res/layout/group_detail_fragment.xml +9 −1 Original line number Diff line number Diff line Loading @@ -20,10 +20,18 @@ android:layout_width="match_parent" android:layout_height="match_parent"> <FrameLayout android:id="@+id/group_source_view_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" /> <ListView android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_height="0dip" android:layout_weight="1" android:fadingEdge="none" android:scrollbarStyle="outsideOverlay"/> </LinearLayout> src/com/android/contacts/group/GroupDetailFragment.java +2 −7 Original line number Diff line number Diff line Loading @@ -317,9 +317,8 @@ public class GroupDetailFragment extends Fragment implements OnScrollListener { /** * Once the account type, group source action, and group source URI have been determined * (based on the result from the {@link Loader}), then we can display this to the user in 1 of * 3 ways depending on screen size and orientation: either as a button in the action bar, * a button in a static header on the page, or as a header that scrolls with the * {@link ListView}. * 2 ways depending on screen size and orientation: either as a button in the action bar or as * a button in a static header on the page. */ private void updateAccountType(final String accountTypeString, final String dataSet) { Loading @@ -345,10 +344,6 @@ public class GroupDetailFragment extends Fragment implements OnScrollListener { // the view there. if (mGroupSourceViewContainer != null) { mGroupSourceViewContainer.addView(mGroupSourceView); } else { // Otherwise, display the group source as a scrolling header within the // {@link ListView} of group members. mMemberListView.addHeaderView(mGroupSourceView); } } Loading Loading
res/layout-sw580dp-w1000dp/group_detail_fragment.xml +1 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,7 @@ android:layout_marginLeft="@dimen/group_detail_border_padding" android:layout_marginRight="@dimen/group_detail_border_padding" android:cacheColorHint="#00000000" android:fadingEdge="none" android:divider="@null" /> </LinearLayout> No newline at end of file
res/layout-sw580dp/group_detail_fragment.xml +1 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:cacheColorHint="#00000000" android:fadingEdge="none" android:divider="@null" /> </LinearLayout> No newline at end of file
res/layout-w470dp/group_source_button.xml +3 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,9 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" android:text="@string/view_updates_from_group"/> android:textColor="@color/action_bar_button_text_color" android:text="@string/view_updates_from_group" style="@android:style/Widget.Holo.ActionBar.TabText"/> <ImageView android:id="@android:id/icon" Loading
res/layout/group_detail_fragment.xml +9 −1 Original line number Diff line number Diff line Loading @@ -20,10 +20,18 @@ android:layout_width="match_parent" android:layout_height="match_parent"> <FrameLayout android:id="@+id/group_source_view_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" /> <ListView android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_height="0dip" android:layout_weight="1" android:fadingEdge="none" android:scrollbarStyle="outsideOverlay"/> </LinearLayout>
src/com/android/contacts/group/GroupDetailFragment.java +2 −7 Original line number Diff line number Diff line Loading @@ -317,9 +317,8 @@ public class GroupDetailFragment extends Fragment implements OnScrollListener { /** * Once the account type, group source action, and group source URI have been determined * (based on the result from the {@link Loader}), then we can display this to the user in 1 of * 3 ways depending on screen size and orientation: either as a button in the action bar, * a button in a static header on the page, or as a header that scrolls with the * {@link ListView}. * 2 ways depending on screen size and orientation: either as a button in the action bar or as * a button in a static header on the page. */ private void updateAccountType(final String accountTypeString, final String dataSet) { Loading @@ -345,10 +344,6 @@ public class GroupDetailFragment extends Fragment implements OnScrollListener { // the view there. if (mGroupSourceViewContainer != null) { mGroupSourceViewContainer.addView(mGroupSourceView); } else { // Otherwise, display the group source as a scrolling header within the // {@link ListView} of group members. mMemberListView.addHeaderView(mGroupSourceView); } } Loading